05-constants/index.php

Go to the documentation of this file.
00001 <?php 
00012 define('EXAMPLE_STRING',"This is example string");
00013 
00015 define('EXAMPLE_NUMBER',34);
00016 
00017 echo "EXAMPLE_STRING is '" . EXAMPLE_STRING . "'<br/>\n";
00018 echo "EXAMPLE_NUMBER (ie " . EXAMPLE_NUMBER . ") +1 is " . (EXAMPLE_NUMBER + 1);
00019 
00020 ?>

Generated on Fri Nov 4 14:16:54 2011 for PHP example documentation by  doxygen 1.4.7