php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #48439 changes of tokenlist (tokenizer)
Submitted: 2009-05-31 14:51 UTC Modified: 2009-06-03 13:44 UTC
From: e dot ehritt at web dot de Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2009-05-31 14:51 UTC] e dot ehritt at web dot de
Description:
------------
Hi,

http://php.net/manual/en/tokens.php

please remove lines "T_OLD_FUNCTION" and "T_ML_COMMENT" from the 
list or ad notes like "no supported since &Version"

Thanks.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-31 17:30 UTC] philip@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

Fixed in CVS. Added (PHP 4 Only) to T_OLD_FUNCTION, whereas T_ML_COMMENT 
already had this comment.
 [2009-06-03 13:25 UTC] e dot ehritt at web dot de
CLI execution:
########################################################################
$ php -r 'error_reporting(E_ALL); $a=T_ML_COMMENT; echo "$a ".PHP_VERSION." \n";'

Notice: Use of undefined constant T_ML_COMMENT - assumed 'T_ML_COMMENT' in Command line code on line 1
T_ML_COMMENT 5.3.0RC3-dev
########################################################################

Maybe this is a reason for you to reconsider your reply! ^,-
 [2009-06-03 13:40 UTC] philip@php.net
I don't understand your comment. The PHP Manual already states that 
T_ML_COMMENT is PHP 4 Only.
 [2009-06-03 13:44 UTC] e dot ehritt at web dot de
I'm sorry.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 07:00:01 2026 UTC