Bug #19446 [Opn->WFx]: T_STRING error
| From: | jmcastagnetto@php.net | Date: | Thu, 31 May 2012 06:14:34 +0000 |
| Subject: | Bug #19446 [Opn->WFx]: T_STRING error | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8694@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: Open
+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:
-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.
Previous Comments:
------------------------------------------------------------------------
[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