note 112928 deleted from function.print by sobak

From: Date: Sat, 10 Dec 2016 23:18:23 +0000
Subject: note 112928 deleted from function.print by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-208464@lists.php.net to get a copy of this message
Note Submitter: Luke Wenke ---- "print is not actually a real function (it is a language construct) so you are not required to use parentheses with its argument list." I don't think it has an "argument list" because the following gives a syntax error: print (1, 2); Here is an example of how the brackets work with print: print ((1) + (2)) + (3); Unlike a function it doesn't just use the first brackets... it prints "9".

« previous php.notes (#208464) next »