FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17630&edit=1

ID: 17630
Updated by: jan@horde.org
Reported By: dbcmaster at gmail dot com
Summary: Deprecated errors on referenced return values
-Status: Open
+Status: Bogus
Type: Bug
Package: Text_Diff
Operating System: Linux
Package Version: 1.1.1
PHP Version: 5.3.2
Roadmap Versions:
New Comment:

-Status: Open
+Status: Bogus
Thank you for taking the time to write to us, but this is not
a bug.

Text_Diff is a PHP 4 package.


Previous Comments:
------------------------------------------------------------------------

[2010-07-25 08:50:58] blusyn

Description:
------------
I get "deprecated" errors on every instance of "&new" in both
Diff.php and Engine/native.php.

Fix: syntax needs to be updated to support new rules in PHP
5.3 for passing return values by reference. Simply removing
the "&" obviously doesn't produce the proper results.

Sample Error:
"Error: Assigning the return value of new by reference is
deprecated at file ..."

Test script:
---------------
--

Expected result:
----------------
--

Actual result:
--------------
--

------------------------------------------------------------------------


--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17630&edit=1

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 25, '10 at 12:44p
activeJul 25, '10 at 12:44p
posts1
users1
websitepear.php.net

1 user in discussion

Jan: 1 post

People

Translate

site design / logo © 2022 Grokbase