AFAIK, it's supposed to allow for more parameters anyway ;) Eric
"Michel 'Ziobudda' Morelli" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, I have installed php 4.2.1 and error_reporting = ALL. > > I write a function called foo() that accept only 1 parameter. > > Now if I write: > > <? > $result = foo("bar"); > ?> > > All is ok. > > If I write: > > <? > $result = foo("bar","bar2"); > ?> > > All is ok, but for me that is not OK because my function foo() accept > only 1 parameters and no 2 o 3 or more. Is there any possibility that > PHP return me a warning with the message (e.g.) "Warning parameter > number for [function name] in [page.php] line [line number]" ??? > > Tnx in advance. And sorry for this stupid question and for my bad > english. > > Happy "all". > -- > Ti desidero, voglio trascinarti a letto, piegarti, farti sudare, > prenderti da farti incendiare il corpo... > Ti aspetto: Tua, Influenza. > -- > Michel <ZioBudda> Morelli [EMAIL PROTECTED] > > ICQ UIN: 58351764 PR of Linux in Italy > http://www.ziobudda.net http://www.phpdev.it > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php