Re: New years resolution: To get serious with my programming! Anyone wanna help? :)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jan 8, 2008, at 4:16 PM, Philip Thompson wrote:

On Jan 8, 2008, at 3:57 PM, Daniel Brown wrote:

On Jan 8, 2008 4:40 PM, Jack Mays <jmays@xxxxxxxxxxx> wrote:

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. :)

  Actually, 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....


Silly Rabbit! 'die' is NOT function - it's a construct. In fact, it's an alias to 'exit'.

Crap! I didn't mean it's an "alias"! It's "equivalent". Whatever that means... Whew. Is it only Tuesday?


http://php.net/die

No further research required.... ;)

~Philip

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux