|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-09-27 14:57 UTC] daniel at danielennis dot com
[2012-08-07 19:37 UTC] chris dot nash at phoenixage dot com
[2012-09-30 11:46 UTC] glaslos at gmail dot com
[2015-02-26 07:36 UTC] krakjoe@php.net
-Status: Open
+Status: Suspended
[2015-02-26 07:36 UTC] krakjoe@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 20 21:00:02 2025 UTC |
Description: ------------ When using rename_function to override internal functions, APD makes the PHP Process return an error code of 1 (which triggers unit test runners to think the tests failed) Removing the use of APD makes the error code go away. Reproduce code: --------------- rename_function("touch", "__php_touch"); eval ("function touch() { var_dump('You called touch!');}"); touch(); // cleanup rename_function("touch", uniqid("touch")); rename_function("__php_touch", "touch"); Expected result: ---------------- return code of 0 Actual result: -------------- return code of 1