README.PHP4-TO-PHP5-THIN-CHANGES
| From: | Greg Beaver | Date: | Sat, 17 Jan 2004 18:55:15 +0000 |
| Subject: | README.PHP4-TO-PHP5-THIN-CHANGES | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-7156@lists.php.net to get a copy of this message | ||
Hi,
There is a bug in #6 of README.PHP4-TO-PHP5-THIN-CHANGES. It should read:
6. Starting PHP 5.0.0 the T_ML_COMMENT constant is no longer defined by
the ext/tokenizer extension. If error_reporting is set to E_ALL
notices will be produced. Instead of T_ML_COMMENT for /* */ the
T_COMMENT constant is used, thus both // and /* */ are resolved as
the T_COMMENT constant.
However, a phpdoc-style comment /** */ will resolve as the new
T_DOC_COMMENT constant.
In addition, I noticed that argv and argc don't appear to be registered in $_SERVER in the cli version any more - is this expected behavior? If so, it should be added to THIN-CHANGES as well. It does seem planned, since both $argv and $argc exist.
Thanks,
Greg