note 29486 rejected from functions.arguments by betz

From: Date: Sat, 15 Feb 2003 19:51:08 +0000
Subject: note 29486 rejected from functions.arguments by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-44022@lists.php.net to get a copy of this message
I tried function foo($x, $y = null, $z = null) and it ran fine when I did foo(5,1,1). I ran into trouble though when I tried foo(5,1,0) as it kept thinking $z was null... strange. PHP Version 4.2.3

« previous php.notes (#44022) next »