|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-11-07 18:29 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 02:00:01 2025 UTC |
Description: ------------ First, I know this isn't the place for a PEAR bug; it doesn't appear to be a PEAR bug... Trying to install php4-STABLE-200611061330 fails at PEAR installation time with "Fatal error: Call to a member function on a non-object in [,,,]/pear/PEAR/Installer/Role/ Common.php on line 90." The pear code hasn't changed since I was able to last install; however PHP code has. If I revert the change recently made in Zend/zend_compile.c, it installs fine: --- Zend/zend_compile.c~ Sun Oct 15 14:32:37 2006 +++ Zend/zend_compile.c Mon Nov 6 21:21:41 2006 @@ -1164,7 +1164,7 @@ if (zend_hash_find(&ce->parent->function_table, ce- >parent->name, ce->parent->name_length+1, (void **) &function)==SUCCESS) { /* inherit parent's constructor */ - zend_hash_update(&ce->function_table, ce- >parent->name, ce->parent->name_length+1, function, sizeof (zend_function), NULL); + zend_hash_update(&ce->function_table, ce->name, ce->name_length+1, function, sizeof(zend_function), NULL); function_add_ref(function); } } Reproduce code: --------------- Download a recent snap and try to run 'make install'.