note 71566 deleted from function.socket-create by nlopess
| From: | nlopess@php.net | Date: | Thu, 07 Dec 2006 18:06:35 +0000 |
| Subject: | note 71566 deleted from function.socket-create by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-120384@lists.php.net to get a copy of this message | ||
Note Submitter: aeolianmeson at dfdfdfdfdf dot blitzeclipse dot com
----
Here's a fun little trinket: If you var_export a resource (like a socket), it will say NULL....
It will look like you're having an issue getting sockets.
If you like to output the variable and get a resource number to show, you must use var_dump or
simply 'print'.
I nearly redesigned all of my present work after it look liked something I had done suddenly flawed
all of my interface stuff, and it happened on multiple computers.
Dustin Oprea