go to bug id or search bugs for
This is a critical bug in PHP 5.1 (PHP_5_1) latest CVS.
running "make install-pear" results in all kinds of E_STRICT warnings. This is in spite of an explicit -derror_reporting=E_ALL
I traced the problem using var_dump(error_reporting()); peppered throughout the source of install-pear.phar to a single line located in cvs at pear-core/Archive/Tar.php on line 706:
removing the second @ in front of ftell() fixes the problem.
use http://pear.php.net/~greg/install-pear.phar for a debug .phar that has inserted a few var_dump(error_reporting()); around the offending line. int(2047) is E_ALL, and after the line, there are 2 var_dump(error_reporting()) that spit out random integers, ranging from 10 to numbers like 14803908 to -14378917.
A valgrind trace is at:
works with no warnings
install works sometimes, but there are lots of E_STRICT warnings.
Add a Patch
Add a Pull Request
Assigned to the engine expert. :)
Fixed in CVS HEAD and PHP_5_1.