RE: [PHP-ES] Numero de parametros en una funcion
| From: | Marc Salmurri | Date: | Tue, 27 Mar 2001 17:12:41 +0000 |
| Subject: | RE: [PHP-ES] Numero de parametros en una funcion | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-8472@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/es/functions.arguments.php
func_num_args()
Salu2
Marc Salmurri - Softonic.com
> Saludos,
>
> Existe alguna manera de saber el numero de parametros de una funcion me
> explico, tengo una funcion en la que el ultimo parametro no siempre esta
> definido..
>
> function fesho($matriu,$Tarifa,$Soft) {
>
> // El parametro $Soft no siempre esta definido
> ....
> ....
> }
>
> He provado con isset pero me continua dando el mismo mensaje de error
>
> " Missing argument 3 for fesho........."
>
>
> Xavier Feliu
> xfeliu@diferent.com
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
>