Define usage instance in php and phpdefine usage instance. Define usage example in php, phpdefine usage example this article describes define usage in php. Share it with you for your reference. Details: php ** define ** 3rd parameters: * define usage instance in php and phpdefine usage instance
This example describes define usage in php. Share it with you for your reference. The details are as follows:
<? Php/** define ** // * 3rd parameters: * false -- case sensitive (default) * true -- Case Insensitive **/define ("pai ", 3.14); define ("name", "LiLei", true); function testfor ($ x) {for ($ a = $ x; $ a <= 12; $ a ++) {echo "now $ a point:"; if ($ a <9) {echo "knock code"; echo name ;} else {echo "sleeping"; echo pai;} echo"
";}} Testfor (10);?>
The running result is as follows:
Now: sleep 3.14
Now it's: sleep 3.14
Now it's: sleep 3.14
I hope this article will help you with php programming.
Example: define usage in php is described in this article. Share it with you for your reference. Php/** define ** // * 3rd parameters :*...