Re: [PHP-DEV] CLI php -r requires final ;

2006-04-13 Thread Edin Kadribasic
php -r is equivalent of calling eval() in php code. See http://php.net/eval for details. Edin Richard Lynch wrote: This is such minutiae, but I needed a break... The docs say final ?> is not needed, and final ; is not needed: http://php.net/manual/en/language.basic-syntax.instruction-separa

Re: [PHP-DEV] CLI php -r requires final ;

2006-04-13 Thread Steph Fox
The final ; is needed with php -r. It's even documented somewhere :) - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: Sent: Friday, April 14, 2006 5:49 AM Subject: [PHP-DEV] CLI php -r requires final ; This is such minutiae, but I needed a b

[PHP-DEV] CLI php -r requires final ;

2006-04-13 Thread Richard Lynch
This is such minutiae, but I needed a break... The docs say final ?> is not needed, and final ; is not needed: http://php.net/manual/en/language.basic-syntax.instruction-separation.php It does not address what happens if BOTH are missing, however. It would seem that with both missing... -bash-