RE: [PHP-DEV] PHP 5.1
| From: | Dmitry Stogov | Date: | Mon, 06 Jun 2005 14:17:46 +0000 |
| Subject: | RE: [PHP-DEV] PHP 5.1 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16438@lists.php.net to get a copy of this message | ||
goto : -1
PHP is a structured scripting language.
The "goto" statement will bring a lot of missunderstanding and special
casees.
Only one example:
function foo () {
...
goto LABEL;
foreach($a as $v) {
...
LABEL:
...
}
}
I can add several examples more.
ifsetor: -1
I don't like to put simple functions on engine level.
If we will implement ifsetor() why not to implement strlen(), strpos() and
other functions as opcodes?
Thanks. Dmitry.