git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164782 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Aidan Lister 2004-07-31 05:14:55 +00:00
parent 125f54deca
commit cdafee1d13

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.28 $ -->
<!-- $Revision: 1.29 $ -->
<appendix id="migration5">
<title>Migrating from PHP 4 to PHP 5</title>
@ -56,15 +56,14 @@
</listitem>
<listitem>
<simpara>
The <constant>T_ML_CONSTANT</constant> constant is no longer defined by
The <constant>T_ML_COMMENT</constant> constant is no longer defined by
the <link linkend="ref.tokenizer">Tokenizer</link> extension. If
error_reporting is set to <constant>E_ALL</constant>, PHP will
generate a notice. Although the <constant>T_ML_CONSTANT</constant> was
generate a notice. Although the <constant>T_ML_COMMENT</constant> was
never used at all, it was defined in PHP 4. In both PHP 4 and PHP 5
// and /* */ are resolved as the <constant>T_COMMENT</constant>
constant. However the PHPDoc style comments /** */ ,which starting PHP
5 are parsed by PHP, are recognized as
<constant>T_DOC_COMMENT</constant>.
constant. However the PHPDoc style comments /** */, which starting PHP
5 are parsed by PHP, are recognized as <constant>T_DOC_COMMENT</constant>.
</simpara>
</listitem>
<listitem>