Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

Define statement

Mon Oct 27, 2008 12:42 pm

Code:
<?php
   define
("PI", 3.141592);
print
"The value of pi is ".PI.".<br />";
$pi2 = 2 * PI;
print
"Pi doubled equals $pi2.";

?>




Post a reply
  Related Posts  to : Define statement
 difference between break statement and a continue statement     -  
 difference between a while statement and a do statement     -  
 Define new namespaces in C++     -  
 Define template in C++     -  
 define final class     -  
 how to Define abstract class in php     -  
 Define your own exception class     -  
 define a Class with a Method     -  
 Define enum in java     -  
 define UUID in your XSD schema     -  

Topic Tags

PHP Variables