Bug #61606 [Opn->Nab]: Unstable function renaming

From: Date: Tue, 03 Apr 2012 09:45:55 +0000
Subject: Bug #61606 [Opn->Nab]: Unstable function renaming
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169184@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61606&edit=1

 ID:                 61606
 Updated by:         cataphract@php.net
 Reported by:        michael dot rouges at gmail dot com
 Summary:            Unstable function renaming
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Debian Squeeze
 PHP Version:        5.4.0
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, but obviously we cannot support random functions found on the Internet; contact their author.


Previous Comments:
------------------------------------------------------------------------
[2012-04-03 06:42:27] michael dot rouges at gmail dot com

Description:
------------
Since APD is no longer compatible with recent versions of PHP, I use custom extension functions for
renaming (sources: http://www.developpez.net/forums/attachments/p92460d1333383074/c-cpp/c/besoin-daide-corriger-extension-php-toute-petite-jure/php_rename.zip/)

Test script:
---------------
<?php
	function_rename('native_function_name','new_name');
?>

Expected result:
----------------
This extension should rename functions, native or not, for the execution context of the script
called.

Actual result:
--------------
This extension fills its role very well but, strangely, in some executions (variable number, nearly
one out of 10-15), the function function_rename () seems to have a permanent effect on PHP
functions.

Currently, the only way to fix this bug, it's a restart Apache.


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



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61606&edit=1


Thread (2 messages)

« previous php.bugs (#169184) next »