From: <da...@us...> - 2003-08-14 17:08:56
|
Update of /cvsroot/binaryphp/binaryphp/examples In directory sc8-pr-cvs1:/tmp/cvs-serv23345/examples Modified Files: helloworld.php Log Message: User-defined functions work. Index: helloworld.php =================================================================== RCS file: /cvsroot/binaryphp/binaryphp/examples/helloworld.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** helloworld.php 10 Aug 2003 01:42:54 -0000 1.5 --- helloworld.php 14 Aug 2003 16:40:17 -0000 1.6 *************** *** 1,4 **** <?php ! for($i = 0; $i < 50; ++$i) ! echo $i, "\n"; ?> --- 1,9 ---- <?php ! $foo = 'bar'; ! if($foo == 'bar') ! echo 'bleh'; ! elseif($foo == 'bleh') ! echo 'bleh++'; ! else ! echo 'boo!'; ?> |