rename_function(3) php man page | unix.com

Man Page: rename_function

Operating Environment: php

Section: 3

RENAME_FUNCTION(3)							 1							RENAME_FUNCTION(3)

rename_function - Renames orig_name to new_name in the global function table

SYNOPSIS
bool rename_function (string $original_name, string $new_name)
DESCRIPTION
Renames a orig_name to new_name in the global function table. Useful for temporarily overriding built-in functions.
PARAMETERS
o $original_name - The original function name. o $new_name - The new name for the $original_name function.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 rename_function(3) example <?php rename_function('mysql_connect', 'debug_mysql_connect' ); ?> PHP Documentation Group RENAME_FUNCTION(3)
Related Man Pages
gd_rename(3) - debian
lurename(1m) - sunos
wincache_ucache_dec(3) - php
lurename(1m) - opensolaris
lurename(1m) - linux
Similar Topics in the Unix Linux Community
Infraction for bohoo: Homework Violation
Script for FTP (transfer only new files)
Truncate file name to 40 characters
Repetitive scripts within a bash shell
Quick script to rename files