Hi All, A chocolate fish for whoever can explain this - why when I type crap into the PHP CLI prompt does it not throw errors? For the record, it's PHP 5.3.3-1ubuntu9.6 with Suhosin-Patch (cli) (built: Oct 14 2011 22:31:56).
bob@desktop:~$ php -a Interactive shell php > djkfhlasdkjfhasdlkjfha; php > %#$@^*$#&%^#$&*^%$#*; php > thisFunctionDoesntExist(); PHP Parse error: syntax error, unexpected '%' in php shell code on line 1 php > bob@desktop:~$ I noticed this because I was "flapping" into a PHP file to see if I had found the right file, e.g ... <?php // Some code here... sadlkfjhsalkdfjh // my flap (expecting an error) ?> Cheers, - Bob - -- Bob Brown, [L|W]AMP Web Developer [email protected], http://www.guru.net.nz -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
