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

ID: 19457
Updated by: miguel.gocobachi@gmail.com
Reported By: stephane dot vannerom@gmail.com
Summary: Deprecated practice with PHP 5
Status: Open
Type: Bug
Package: Event_Dispatcher
Operating System: Linux Ubuntu 12.04
Package Version: 1.1.0
PHP Version: 5.3.10
-Assigned To:
+Assigned To: mgocobachi
Roadmap Versions:
New Comment:

-Assigned To:
+Assigned To: mgocobachi



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

[2012-06-05 23:13:01] svanner

Description:
------------
Line 249 here under causes a deprecated error message :

$notification =& new $this->_notificationClass($object, $nName, $info);

I suggest to change the code with something like this:

$notification = new $this->_notificationClass($object, $nName, $info);
$notification_ref =& $notification;
return $this->postNotification($notification_ref, $pending,
$bubble);

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

Expected result:
----------------
Error message disapears

Actual result:
--------------
Deprecated practice message occurs at line 249

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

Search Discussions

Related Discussions

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

1 user in discussion

Miguel Gocobachi: 1 post

People

Translate

site design / logo © 2022 Grokbase