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

ID: 17229
Updated by: helgith@gmail.com
Reported By: spam at stefansk dot name
Summary: New object by reference deprecation warning
Status: Assigned
Type: Bug
Package: Image_Transform
Operating System: Linux
Package Version: SVN
PHP Version: 5.3.2
Assigned To: dufuz
Roadmap Versions:
New Comment:

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 :)


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

[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
postedMay 7, '10 at 3:01a
activeMay 7, '10 at 3:01a
posts1
users1
websitepear.php.net

1 user in discussion

Helgith: 1 post

People

Translate

site design / logo © 2022 Grokbase