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

  ID: 18784
  Updated by: borz_off@cs.msu.su
  Reported By: hm2k@php.net
  Summary: PHP Deprecated: Assigning the return value of new by
                     reference is deprecated
-Status: Open
+Status: Duplicate
  Type: Bug
  Package: PEAR
  Package Version: 1.9.4
  PHP Version: 5.3.6
  Roadmap Versions:
  New Comment:

-Status: Open
+Status: Duplicate
Duplicate of request #18638


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

[2011-09-04 00:08:43] hm2k

Description:
------------
PHP Deprecated errors with PEAR/Registry.php

Test script:
---------------
php_beautifier -l "Pear()" script.php script.php.tmp

Expected result:
----------------
No errors.

Actual result:
--------------
PHP Deprecated: Assigning the return value of new by
reference is deprecated in /usr/share/pear/PEAR/Registry.php
on line 322
PHP Stack trace:
PHP 1. {main}() /usr/bin/php_beautifier:0
PHP 2. PHP_Beautifier_Batch->addFilter()
/usr/bin/php_beautifier:207
PHP 3. PHP_Beautifier_Decorator->__call()
/usr/bin/php_beautifier:207
PHP 4. call_user_func_array()
/usr/share/pear/PHP/Beautifier/Decorator.php:47
PHP 5. PHP_Beautifier->addFilter()
/usr/share/pear/PHP/Beautifier/Decorator.php:47
PHP 6. PHP_Beautifier->addFilterFile()
/usr/share/pear/PHP/Beautifier.php:448
PHP 7. include_once()
/usr/share/pear/PHP/Beautifier.php:511
PHP 8. require_once()
/usr/share/pear/PHP/Beautifier/Filter/Pear.filter.php:26
PHP Deprecated: Assigning the return value of new by
reference is deprecated in /usr/share/pear/PEAR/Registry.php
on line 1450
PHP Stack trace:
PHP 1. {main}() /usr/bin/php_beautifier:0
PHP 2. PHP_Beautifier_Batch->addFilter()
/usr/bin/php_beautifier:207
PHP 3. PHP_Beautifier_Decorator->__call()
/usr/bin/php_beautifier:207
PHP 4. call_user_func_array()
/usr/share/pear/PHP/Beautifier/Decorator.php:47
PHP 5. PHP_Beautifier->addFilter()
/usr/share/pear/PHP/Beautifier/Decorator.php:47
PHP 6. PHP_Beautifier->addFilterFile()
/usr/share/pear/PHP/Beautifier.php:448
PHP 7. include_once()
/usr/share/pear/PHP/Beautifier.php:511
PHP 8. require_once()
/usr/share/pear/PHP/Beautifier/Filter/Pear.filter.php:26
PHP Deprecated: Assigning the return value of new by
reference is deprecated in /usr/share/pear/PEAR/Registry.php
on line 1458
PHP Stack trace:
PHP 1. {main}() /usr/bin/php_beautifier:0
PHP 2. PHP_Beautifier_Batch->addFilter()
/usr/bin/php_beautifier:207
PHP 3. PHP_Beautifier_Decorator->__call()
/usr/bin/php_beautifier:207
PHP 4. call_user_func_array()
/usr/share/pear/PHP/Beautifier/Decorator.php:47
PHP 5. PHP_Beautifier->addFilter()
/usr/share/pear/PHP/Beautifier/Decorator.php:47
PHP 6. PHP_Beautifier->addFilterFile()
/usr/share/pear/PHP/Beautifier.php:448
PHP 7. include_once()
/usr/share/pear/PHP/Beautifier.php:511
PHP 8. require_once()
/usr/share/pear/PHP/Beautifier/Filter/Pear.filter.php:26

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 2, '14 at 8:52p
activeMar 2, '14 at 8:52p
posts1
users1
websitepear.php.net

1 user in discussion

Borz_off: 1 post

People

Translate

site design / logo © 2022 Grokbase