PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

runkit_function_redefine> <runkit_function_add
Last updated: Fri, 11 Apr 2008

view this page in

runkit_function_copy

(PECL runkit:0.7-0.9)

runkit_function_copy — Copy a function to a new function name

Descrizione

bool runkit_function_copy ( string $funcname , string $targetname )

Elenco dei parametri

funcname

Name of existing function

targetname

Name of new function to copy definition to

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.

Esempi

Example #1 A runkit_function_copy() example

<?php
function original() {
  echo 
"In a function\n";
}
runkit_function_copy('original','duplicate');
original();
duplicate();
?>

Il precedente esempio visualizzerĂ :

In a function
In a function



add a note add a note User Contributed Notes
runkit_function_copy
There are no user contributed notes for this page.

runkit_function_redefine> <runkit_function_add
Last updated: Fri, 11 Apr 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites