Source Code:
(back to article)
<?php // Example 1 $name = "John"; print "Hello, $name!" . PHP_EOL; // Output: Hello, John! // Example 2 $numbers = [1, 2, 3, 4, 5]; print_r($numbers); // Output: Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 )
Result:
Report an issue