Doc #73623 [Opn->Ver]: Example mentions deprecated PHP 4 OO naming style for constructors
| From: | cmb@php.net | Date: | Wed, 30 Nov 2016 11:29:31 +0000 |
| Subject: | Doc #73623 [Opn->Ver]: Example mentions deprecated PHP 4 OO naming style for constructors | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14161@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73623&edit=1
ID: 73623
Updated by: cmb@php.net
Reported by: olivier dot berger at telecom-sudparis dot eu
Summary: Example mentions deprecated PHP 4 OO naming style
for constructors
-Status: Open
+Status: Verified
Type: Documentation Problem
-Package: Documentation problem
+Package: Class/Object related
PHP Version: 7.0.13
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2016-11-30 10:11:20] olivier dot berger at telecom-sudparis dot eu
Description:
------------
Hi.
In manual page: http://www.php.net/classobj.examples the examples
use the old naming style for constructor names (named as the class) which is deprecated as of PHP 7.
That's quite misleading for users that would implement such naming in PHP 7.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73623&edit=1