Lines Matching refs:print
2 Test print() function : basic functionality
6 echo "*** Testing print() : basic functionality ***\n";
9 print("Hello World");
12 print "print() also works without parentheses.";
15 print "This spans
20 print "This also spans\nmultiple lines. The newlines will be\noutput as well.";
23 print "escaping characters is done \"Like this\".";
25 // You can use variables inside of a print statement
30 print "foo is $foo"; // foo is foobar
36 print "this is {$bar['value']} !"; // this is foo !
38 // Using single quotes will print the variable name, not the value
40 print 'foo is $foo'; // foo is $foo
42 // If you are not using any other characters, you can just print variables
44 print $foo; // foobar
48 print <<<END
56 *** Testing print() : basic functionality ***
61 print() also works without parentheses.