Re: New years resolution: To get serious with my programming! Anyone wanna help? :)
| From: | Philip Thompson | Date: | Tue, 08 Jan 2008 22:16:05 +0000 |
| Subject: | Re: New years resolution: To get serious with my programming! Anyone wanna help? :) | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266934@lists.php.net to get a copy of this message | ||
On Jan 8, 2008, at 3:57 PM, Daniel Brown wrote:
On Jan 8, 2008 4:40 PM, Jack Mays <jmays@hrsmart.com> wrote:Silly Rabbit! 'die' is NOT function - it's a construct. In fact, it's an alias to 'exit'. http://php.net/die No further research required.... ;) ~PhilipActually, exit is never a function. It's a language construct. I know it can accept a parameter, but that still doesn't make it a function, so I don't know why it's listed as a function in the PHP manual. Just because it's tastes like a duck doesn't mean it came from an egg. ;-P To my knowledge, die() is a function.... but I could be wrong. It could just be considered an aliased language construct. Further research is required....funnily enough exit is even listed as a function.Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missing a point here or something. :)