note 87519 modified in language.functions by thiago

From: Date: Tue, 06 Oct 2009 14:19:24 +0000
Subject: note 87519 modified in language.functions by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161405@lists.php.net to get a copy of this message
Note about function names: -- According to the specified regular expression ([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*), a function name like this one is valid: <?php function €() { echo 'foo'; } ?> And PHP interpreter correctly interprets the function. However some parsers (ex: PDT/Eclipse) does not see this as a valid function name, and only accept function names starting with a letter or an underscore. --was-- Note about function names: -- According to the specified regular expression ([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*), a function name like this one is valid: function €() { echo 'foo'; } And PHP interpreter correctly interprets the function. However some parsers (ex: PDT/Eclipse) does not see this as a valid function name, and only accept function names starting with a letter or an underscore. http://php.net/manual/en/language.functions.php

« previous php.notes (#161405) next »