ID:               49022
 Updated by:       ras...@php.net
 Reported By:      a dot dotreppe at aspyct dot org
 Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: Windows Vista 32bit
 PHP Version:      5.2SVN-2009-07-22 (snap)
 New Comment:

Could you provide the actual error?  I doubt you are getting a parse
error there.


Previous Comments:
------------------------------------------------------------------------

[2009-07-22 20:35:40] a dot dotreppe at aspyct dot org

Description:
------------
There is a consistency problem between the names we can give to a
function, and the names we can actually use.

For instance, I can create a function named _, but not use it.

Reproduce code:
---------------
// This will parse without error
function _($txt) {
    // Do some stuff
}


// This will cause a parse error
_('yes');



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49022&edit=1

Reply via email to