rfc:improved-parser-error-message

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:improved-parser-error-message [2011/06/23 17:58] – Update feliperfc:improved-parser-error-message [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2011-05-16   * Date: 2011-05-16
   * Author: Felipe Pena <felipe@php.net>   * Author: Felipe Pena <felipe@php.net>
-  * Status: Under Discussion [[http://markmail.org/thread/2vptpqr72xumbfsh|May 16, 2011]]+  * Status: Implemented in 5.4 
 +  * Discussion[[http://markmail.org/thread/2vptpqr72xumbfsh|May 16, 2011]]
  
  
Line 33: Line 34:
 $ sapi/cli/php -r 'function ""' $ sapi/cli/php -r 'function ""'
 Patched: Patched:
-Parse error: syntax error, unexpected '""' (T_CONSTANT_ENCAPSED_STRING), expecting 'identifier(T_STRING) or '(' in Command line code on line 1+Parse error: syntax error, unexpected '""' (T_CONSTANT_ENCAPSED_STRING), expecting identifier (T_STRING) or '(' in Command line code on line 1
  
 Current: Current:
Line 61: Line 62:
 $ sapi/cli/php -r 'class ' $ sapi/cli/php -r 'class '
 Patched: Patched:
-Parse error: syntax error, unexpected end of file, expecting 'identifier(T_STRING) in Command line code on line 1+Parse error: syntax error, unexpected end of file, expecting identifier (T_STRING) in Command line code on line 1
  
 +Current:
 +Parse error: syntax error, unexpected $end, expecting T_STRING in Command line code on line 1
 </code> </code>
 ===== Patch ===== ===== Patch =====
rfc/improved-parser-error-message.1308851891.txt.gz · Last modified: 2017/09/22 13:28 (external edit)