Lines Matching refs:print
2 Test print() function : basic functionality
6 /* Prototype : int print ( string $arg )
8 * Source code: n/a, print is a language construct not an extension function
12 echo "*** Testing print() : basic functionality ***\n";
15 print("Hello World");
18 print "print() also works without parentheses.";
21 print "This spans
26 print "This also spans\nmultiple lines. The newlines will be\noutput as well.";
29 print "escaping characters is done \"Like this\".";
31 // You can use variables inside of a print statement
36 print "foo is $foo"; // foo is foobar
42 print "this is {$bar['value']} !"; // this is foo !
44 // Using single quotes will print the variable name, not the value
46 print 'foo is $foo'; // foo is $foo
48 // If you are not using any other characters, you can just print variables
50 print $foo; // foobar
54 print <<<END
63 *** Testing print() : basic functionality ***
68 print() also works without parentheses.