Edit report at http://pear.php.net/bugs/bug.php?id=17229&edit=1
ID: 17229
Updated by: [email protected]
Reported By: spam at stefansk dot name
Summary: New object by reference deprecation warning
Status: Open
Type: Bug
Package: Image_Transform
Operating System: Linux
Package Version: SVN
PHP Version: 5.3.2
Roadmap Versions:
New Comment:
Are you happy if I just forge ahead and create an Image_Transform2 ?
Previous Comments:
------------------------------------------------------------------------
[2010-05-07 03:55:11] dufuz
I do not unfortunately have any intentions of doing this as the package
has no test suite and there for the time to test if things would break
in PHP 4 or similar are not worth the effort of killing Deprecated
messages. Nor do I have time to do a PHP 5 rewrite :)
------------------------------------------------------------------------
[2010-03-16 07:08:11] doconnor
-Assigned To:
+Assigned To: dufuz
0.9.3 and alpha still?
BC breaks for all!
------------------------------------------------------------------------
[2010-03-16 07:07:11] doconnor
if ($error =& $obj->isError()) {
will also do it
This patch *should* be safe, but bear in mind this may have negative
effects for PHP 4 users (which is unfortunately a requiremetn at the
moment).
------------------------------------------------------------------------
[2010-03-16 06:00:00] splondike
Added #patch bug:17229;patch:Transform.php.patch;revision:1268719200;.
------------------------------------------------------------------------
[2010-03-16 05:58:58] splondike
Description:
------------
Deprecated: Assigning the return value of new by reference is deprecated
in /usr/share/pear/Image/Transform.php on line 255
Test script:
---------------
<?php
error_reporting(E_ALL);
ini_set("display_errors", "1");
include 'Image/Transform.php';
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17229&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.