|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-12-20 18:10 UTC] danilo dot dominguez at accionasolutions dot net
[2013-02-23 14:22 UTC] pollita@php.net
[2013-02-23 14:22 UTC] pollita@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: pollita
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 21:00:01 2025 UTC |
Description: ------------ Hello. runkit_method_redefine() doesn't want to work for me and cause php crashing. Thanks for your reply. Reproduce code: --------------- <?php function testme() { echo "Original Testme Implementation\n"; } testme(); runkit_method_redefine('main', 'testme','','echo "New Testme Implementation\n";'); testme(); ?> Expected result: ---------------- Original Testme Implementation New Testme Implementation Actual result: -------------- Original Testme Implementation Here is the backtrace: Function Arg 1 Arg 2 Arg 3 Source php5ts!php_strtolower+25 00c0fb18 00c0fb1c 011ad010 php_runkit!php_runkit_fetch_function+16 00000006 011ae7b0 00000006 php_runkit!zif_runkit_function_redefine+70 011aec10 00033970 00000000 php5ts!zend_execute_scripts+107 00000008 00033970 00000000 php5ts!php_execute_script+20d bc800000 bc8dd4f0 00000000 0x00160100 bc8dd4f0 00000000 00000000 0x80000000`00000000 00000000 00000000 0003000d 0x80000000`00000000 00000000 0003000d 000c0100 PHP5TS!PHP_STRTOLOWER+25In php__PID__13456__Date__07_29_2007__Time_02_40_36AM__125__Second_Chance_Exception_C0000005.dmp the assembly instruction at php5ts!php_strtolower+25 in C:\Documents and Settings\Mik\Bureau\php\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to write to memory location 0x00c10000 on thread 0