From 85eee3929a1ccb5225f2e1d826a466e7351bbf39 Mon Sep 17 00:00:00 2001 From: Malcolm Fell Date: Fri, 28 Jun 2013 08:49:58 +1200 Subject: Mention print is a language construct --- php.html.markdown | 1 + 1 file changed, 1 insertion(+) (limited to 'php.html.markdown') diff --git a/php.html.markdown b/php.html.markdown index ce96b457..6dcf7d59 100644 --- a/php.html.markdown +++ b/php.html.markdown @@ -97,6 +97,7 @@ $associative["One"]; // Holds the value 1 echo('Hello World!'); // Prints Hello World! to stdout. Stdout is the web page if running in a browser. print('Hello World!'); // The same as echo echo 'Hello World!'; // echo is actually a language construct, so you can drop the parentheses. +print 'Hello World!'; // So is print echo 100; echo $variable; echo function_result(); // Output the result of a function call that returns a value. More on functions later. -- cgit v1.2.3