Bug #19446 [WFx]: T_STRING error

From: Date: Thu, 31 May 2012 06:19:06 +0000
Subject: Bug #19446 [WFx]: T_STRING error
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8695@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19446&edit=1 ID: 19446 Updated by: jmcastagnetto@php.net Reported By: quevedo_luis at hotmail dot com Summary: T_STRING error Status: Wont fix Type: Bug Package: Math_Vector Operating System: windows Package Version: 0.7.0 PHP Version: 5.3.0 Roadmap Versions: New Comment: I have now added a "Warning" on the package description page. To drive the point that was made by the "PHP 4.0.0" requirement that has been listed there for years, but seems that now and again goes unnoticed. Previous Comments: ------------------------------------------------------------------------ [2012-05-31 07:14:33] jmcastagnetto -Status: Open +Status: Wont fix The 0.7.0 was a release made by the PEAR QA Team in 2010 which unfortunately gives the impression that this package is PHP 5.x clean. This package was never designed for PHP 5.x. Back un 2003 (0.6.2 the last release I personally made), there was no PHP 5.x only PHP 4.x, therefore this won't be fixed as its target PHP version is now obsolete. A real fix will need a rewrite and complete BC to support and take advantage of the new capabilities of PHP 5, and it would not be made on this package but a new one. ------------------------------------------------------------------------ [2012-05-31 06:22:19] luisquevedo Description: ------------ Parse error: parse error, expecting `T_STRING' in C:\wamp\bin\php\php5.3.0\PEAR\Math\Matrix.php on line 272 function &clone() {/*{{{*/ return new Math_Matrix($this->_data); }/*}}}*/ I think clone it's reserved php word Test script: --------------- Parse error: parse error, expecting `T_STRING' in C:\wamp\bin\php\php5.3.0\PEAR\Math\Matrix.php on line 272 Expected result: ---------------- Parse error: parse error, expecting `T_STRING' in C:\wamp\bin\php\php5.3.0\PEAR\Math\Matrix.php on line 272 Actual result: -------------- Parse error: parse error, expecting `T_STRING' in C:\wamp\bin\php\php5.3.0\PEAR\Math\Matrix.php on line 272 ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19446&edit=1

« previous php.pear.bugs (#8695) next »