PHP ʖ²ἯTH
º/A
Ղ 8. ±䁿
?php $var = "Bob"; $Var = "Joe"; echo "$var, $Var"; // outputs "Bob, Joe" $4site = 'not yet'; // invalid; starts with a number $_4site = 'not yet'; // valid; starts with an underscore $t乴e = 'mansikka'; // valid; '䧠is ASCII 228.?
?php $foo = 'Bob'; // Assign the value 'Bob' to $foo $bar = $foo; // Reference $foo via $bar. $bar = "My name is $bar"; // Alter $bar... echo $bar; echo $foo; // $foo is altered too.?
?php $foo = 25; $bar = $foo; // This is a valid assignment. $bar = (24 * 7); // Invalid; references an unnamed expression. function test() {return 25;} $bar = test(); // Invalid.?
?php $i = 'W'; for($n=0; $n 6; $n++) echo ++$i. "\n"; /* Produces the output similar to the following: X Y Z AA AB AC */?
º/A
ưµ㼯A
ЍϷ·¨
ɏһ¼¶
Ԥ¶¨ҥ±䁿