Re: bug?: connect and php functions
| From: | Steph Fox | Date: | Wed, 18 Jan 2006 21:03:07 +0000 |
| Subject: | Re: bug?: connect and php functions | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2217@lists.php.net to get a copy of this message | ||
Useful info :) thanks, I didn't know this either.
----- Original Message ----- From: "Scott Mattocks" <scott@crisscott.com>
To: "PHP-GTK Dev list" <php-gtk-dev@lists.php.net>
Sent: Wednesday, January 18, 2006 10:04 PM
Subject: Re: [PHP-GTK-DEV] bug?: connect and php functions
Scott Mattocks wrote:Christian Weiske wrote:I am sure that everyone has moved on from this topic by now but I just came across this page in the PHP manual: http://us2.php.net/manual/en/language.pseudo-types.php#language.types.callback It gives a list of "functions" that cannot be used as callbacks. Everything in the list is a language construct and not a function. Scott -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1370 (20060118) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.comBecause print isn't a function. print is a language construct just like echo and require_once. That is why print/echo can be used without parenthesis.I wouldn't call it a bug - I'd call it expected behaviour.And that is because ..? I don't understand why it's expected.