Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : Advanced PHP debugger : rename_function

rename_function

Renames orig_name to new_name in the global function table (PECL apd:0.2-1.0.1)
bool rename_function ( string original_name, string new_name )

Example 232. rename_function() example

<?php
rename_function
('mysql_connect', 'debug_mysql_connect' );
?>

Code Examples / Notes » rename_php

matt

As of apd 1.0.1, rename_function is case sensitive.  The parameter original_name must be all lowercase for it to work properly.  Your function can still be camel case, for example, but you must specify that function as all lower case for the original_name parameter.

Change Language


Follow Navioo On Twitter
apd_breakpoint
apd_callstack
apd_clunk
apd_continue
apd_croak
apd_dump_function_table
apd_dump_persistent_resources
apd_dump_regular_resources
apd_echo
apd_get_active_symbols
apd_set_pprof_trace
apd_set_session_trace
apd_set_session
apd_set_socket_session_trace
override_function
rename_function
eXTReMe Tracker