RE: IF documentation

From: Date: Thu, 14 May 2015 13:30:16 +0000
Subject: RE: IF documentation
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-21154@lists.php.net to get a copy of this message
Dear Sir, i am new to PHP and am a arts major. I was curious to know in the example provided in the if statement <?php if ($a > $b) echo "a is bigger than b"; ?> website link: http://php.net/manual/en/control-structures.if.php The above example doesn't work unless it is preceded by defining values for $a and $b. Is it possible to show on the documentation the preceding values so that readers don't assume it will work without defining $a and $b. The above example only works if $a and $b are defined I think. Regards Var

« previous php.webmaster (#21154) next »