mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
Moved out call_user_func
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32171 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6b8d4ea93b
commit
4dab684c11
1 changed files with 0 additions and 42 deletions
|
@ -2,48 +2,6 @@
|
|||
<title>Variable Functions</title>
|
||||
<titleabbrev>Variables</titleabbrev>
|
||||
|
||||
<refentry id="function.call-user-func">
|
||||
<refnamediv>
|
||||
<refname>call_user_func</refname>
|
||||
<refpurpose>
|
||||
Call a user function given by the first parameter
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>mixed
|
||||
<function>call_user_func</function>
|
||||
</funcdef>
|
||||
<paramdef>string
|
||||
<parameter>function_name</parameter>
|
||||
</paramdef>
|
||||
<paramdef>mixed
|
||||
<parameter><optional>parameter</optional></parameter>
|
||||
</paramdef>
|
||||
<paramdef>mixed
|
||||
<parameter><optional>...</optional></parameter>
|
||||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Call a user defined function given by the
|
||||
<parameter>function_name</parameter> parameter. Take the
|
||||
following:
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
function barber ($type) {
|
||||
print "You wanted a $type haircut, no problem";
|
||||
}
|
||||
call_user_func ('barber', "mushroom");
|
||||
call_user_func ('barber', "shave");
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.doubleval">
|
||||
<refnamediv>
|
||||
<refname>doubleval</refname>
|
||||
|
|
Loading…
Reference in a new issue