note 62489 added to language.operators.execution

From: Date: Wed, 01 Mar 2006 19:25:41 +0000
Subject: note 62489 added to language.operators.execution
Groups: php.notes 
Request: Send a blank email to php-notes+get-104651@lists.php.net to get a copy of this message
Just a general usage note. I had a very difficult time solving a problem with my script, when I accidentally put one of these backticks at the beginning of a line, like so: [lots of code] ` $URL = "blah..."; [more code] Since the backtick is right above the tab key, I probably just fat-fingered it while indenting the code. What made this so hard to find, was that PHP reported a parse error about 50 or so lines *below* the line containing the backtick. (There were no other backticks anywhere in my code.) And the error message was rather cryptic: Parse error: parse error, expecting T_STRING' or T_VARIABLE' or `T_NUM_STRING' in /blah.php on line 446 Just something to file away in case you're pulling your hair out trying to find an error that "isn't there." ---- Server IP: 64.71.164.2 Probable Submitter: 65.163.34.2 (proxied: 1.1 testbox.snowent.net:3128 (squid/2.5.STABLE6)) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/language.operators.execution.php Edit -- http://master.php.net/note/edit/62489 Del: integrated -- http://master.php.net/note/delete/62489/integrated Del: useless -- http://master.php.net/note/delete/62489/useless Del: bad code -- http://master.php.net/note/delete/62489/bad+code Del: spam -- http://master.php.net/note/delete/62489/spam Del: non-english -- http://master.php.net/note/delete/62489/non-english Del: in docs -- http://master.php.net/note/delete/62489/in+docs Del: other reasons-- http://master.php.net/note/delete/62489 Reject -- http://master.php.net/note/reject/62489 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#104651) next »