![sonriente](http://static.forosdelweb.com/fdwtheme/images/smilies/smile.png)
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
Mi pregunta es como definir valores por defecto en una función, que tenga por ejemplo un array de opciones como parámetro ...
Por ejemplo ...
Código PHP:
function ventana ($title, $options) {
$options = [
'width' => '200',
....
}
Alguien me puede dar una manito ?
Saludos y gracias.