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

ID: 17229
Updated by: daniel.oconnor@gmail.com
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';

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJun 22, '11 at 12:21a
activeJun 22, '11 at 12:21a
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase