cvs: phpdoc /hu/functions errorfunc.xml funchand.xml info.xml misc.xml var.xml

From: Date: Mon, 16 Oct 2000 11:37:43 +0000
Subject: cvs: phpdoc /hu/functions errorfunc.xml funchand.xml info.xml misc.xml var.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332492@lists.php.net to get a copy of this message
eschmid Mon Oct 16 04:37:43 2000 EDT Modified files: /phpdoc/hu/functions misc.xml funchand.xml info.xml errorfunc.xml var.xml Log: The Hungarian manual should now work. Index: phpdoc/hu/functions/misc.xml diff -u phpdoc/hu/functions/misc.xml:1.1 phpdoc/hu/functions/misc.xml:1.2 --- phpdoc/hu/functions/misc.xml:1.1 Tue Aug 8 07:48:35 2000 +++ phpdoc/hu/functions/misc.xml Mon Oct 16 04:37:43 2000 @@ -298,190 +298,6 @@ </refsect1> </refentry> - <refentry id="function.func-get-arg"> - <refnamediv> - <refname>func_get_arg</refname> - <refpurpose>Return an item from the argument list</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>func_get_arg</function></funcdef> - <paramdef>int <parameter>arg_num</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - Returns the argument which is at the - <parameter>arg_num</parameter>'th offset into a user-defined - function's argument list. Function arguments are counted starting - from zero. <function>Func_get_arg</function> will generate a - warning if called from outside of a function definition. - </simpara> - <simpara> - If <parameter>arg_num</parameter> is greater than the number of - arguments actually passed, a warning will be generated and - <function>func_get_arg</function> will return FALSE. - </simpara> - <para> - <informalexample> - <programlisting role="php"> -&lt;?php -function foo() { - $numargs = func_num_args(); - echo "Number of arguments: $numargs&lt;br&gt;\n"; - if ($numargs &gt;= 2) { - echo "Second argument is: " . func_get_arg (1) . "&lt;br&gt;\n"; - } -} - -foo (1, 2, 3); -?&gt; - </programlisting> - </informalexample> - </para> - <simpara> - <function>Func_get_arg</function> may be used in conjunction with - <function>func_num_args</function> and - <function>func_get_args</function> to allow user-defined - functions to accept variable-length argument lists. - </simpara> - <note> - <simpara> - This function was added in PHP 4. - </simpara> - </note> - </refsect1> - </refentry> - - <refentry id="function.func-get-args"> - <refnamediv> - <refname>func_get_args</refname> - <refpurpose> - Returns an array comprising a function's argument list - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>func_get_args</function></funcdef> - <paramdef>void <parameter></parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - Returns an array in which each element is the corresponding - member of the current user-defined function's argument - list. <function>Func_get_args</function> will generate a warning - if called from outside of a function definition. - </simpara> - <para> - <informalexample> - <programlisting role="php"> -&lt;?php -function foo() { - $numargs = func_num_args(); - echo "Number of arguments: $numargs&lt;br&gt;\n"; - if ($numargs &gt;= 2) { - echo "Second argument is: " . func_get_arg (1) . "&lt;br&gt;\n"; - } - $arg_list = func_get_args(); - for ($i = 0; $i &lt; $numargs; $i++) { - echo "Argument $i is: " . $arg_list[$i] . "&lt;br&gt;\n"; - } -} - -foo (1, 2, 3); -?&gt; - </programlisting> - </informalexample> - </para> - <simpara> - <function>Func_get_args</function> may be used in conjunction - with <function>func_num_args</function> and - <function>func_get_arg</function> to allow user-defined functions - to accept variable-length argument lists. - </simpara> - <note> - <simpara> - This function was added in PHP 4. - </simpara> - </note> - </refsect1> - </refentry> - - <refentry id="function.func-num-args"> - <refnamediv> - <refname>func_num_args</refname> - <refpurpose> - Returns the number of arguments passed to the function - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>func_num_args</function></funcdef> - <paramdef>void <parameter></parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - Returns the number of arguments passed into the current - user-defined function. <function>Func_num_args</function> will - generate a warning if called from outside of a function - definition. - </simpara> - <para> - <informalexample> - <programlisting role="php"> -&lt;?php -function foo() { - $numargs = func_num_args(); - echo "Number of arguments: $numargs\n"; -} - -foo (1, 2, 3); // Prints 'Number of arguments: 3' -?&gt; - </programlisting> - </informalexample> - </para> - <simpara> - <function>Func_num_args</function> may be used in conjunction - with <function>func_get_arg</function> and - <function>func_get_args</function> to allow user-defined - functions to accept variable-length argument lists. - </simpara> - <note> - <simpara> - This function was added in PHP 4. - </simpara> - </note> - </refsect1> - </refentry> - - <refentry id="function.function-exists"> - <refnamediv> - <refname>function_exists</refname> - <refpurpose> - Return true if the given function has been defined - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>function_exists</function></funcdef> - <paramdef>string <parameter>function_name</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - Checks the list of defined functions for - <parameter>function_name</parameter>. Returns true if the given - function name was found, false otherwise. - </simpara> - </refsect1> - </refentry> - <refentry id="function.get-browser"> <refnamediv> <refname>get_browser</refname> @@ -820,37 +636,6 @@ integral value too large to be stored that way it is converted to a double which often yields an undesired result. </para> - </refsect1> - </refentry> - - <refentry id="function.register-shutdown-function"> - <refnamediv> - <refname>register_shutdown_function</refname> - <refpurpose> - Register a function for execution on shutdown - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int - <function>register_shutdown_function</function> - </funcdef> - <paramdef>string <parameter>func</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - Registers the function named by <parameter>func</parameter> to be - executed when script processing is complete.</simpara> - <para> - Common Pitfalls: - </para> - <simpara> - Since no output is allowed to the browser in this function, you - will be unable to debug it using statements such as print or - echo. - </simpara> </refsect1> </refentry> Index: phpdoc/hu/functions/funchand.xml diff -u phpdoc/hu/functions/funchand.xml:1.1 phpdoc/hu/functions/funchand.xml:1.2 --- phpdoc/hu/functions/funchand.xml:1.1 Sun Sep 17 15:50:00 2000 +++ phpdoc/hu/functions/funchand.xml Mon Oct 16 04:37:43 2000 @@ -13,11 +13,11 @@ <refnamediv> <refname>call_user_func</refname> <refpurpose> - Call a user function given by the first parameter + Meghívja az elsõ paraméterben megadott felhasználói függvényt </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Leírás</title> <funcsynopsis> <funcprototype> <funcdef>mixed @@ -35,16 +35,17 @@ </funcprototype> </funcsynopsis> <para> - Call a user defined function given by the - <parameter>function_name</parameter> parameter. Take the - following: + Meghívja a <parameter>function_name</parameter> paraméterbe megadott. + felhasználó által definiált függvényt. Például az alábbi módon: <informalexample> <programlisting role="php"> -function barber ($type) { - print "You wanted a $type haircut, no problem"; +<![CDATA[ +function borbely ($tipus) { + print "Te $tipus hajat szeretnél. Semmi gond."; } -call_user_func ('barber', "mushroom"); -call_user_func ('barber', "shave"); +call_user_func ('borbely', "gomba"); +call_user_func ('borbely', "göndör"); +]]> </programlisting> </informalexample> </para> Index: phpdoc/hu/functions/info.xml diff -u phpdoc/hu/functions/info.xml:1.2 phpdoc/hu/functions/info.xml:1.3 --- phpdoc/hu/functions/info.xml:1.2 Sun Sep 17 01:04:57 2000 +++ phpdoc/hu/functions/info.xml Mon Oct 16 04:37:43 2000 @@ -2,182 +2,6 @@ <title>PHP opciók és információk</title> <titleabbrev>PHP opciók/infók</titleabbrev> - <refentry id="function.error-log"> - <refnamediv> - <refname>error_log</refname> - <refpurpose>Hibaüzenetet küld</refpurpose> - </refnamediv> - <refsect1> - <title>Leírás</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>error_log</function></funcdef> - <paramdef>string <parameter>message</parameter></paramdef> - <paramdef>int <parameter>message_type</parameter></paramdef> - <paramdef>string - <parameter><optional>destination</optional></parameter> - </paramdef> - <paramdef>string - <parameter><optional>extra_headers</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Hibaüzenetet küld a webszerver error log file-jába, egy - <acronym>TCP</acronym> portra vagy egy file-ba. Az elsõ paraméter - (<parameter>message</parameter>), az üzenet, amit rögzíteni kell. - A második paraméter (<parameter>message_type</parameter>) megadja, - hogy hova kell küldeni az üzenetet: - <table> - <title><function>error_log</function> log típusok</title> - <tgroup cols="2"> - <tbody> - <row> - <entry>0</entry> - <entry> - A <parameter>message</parameter> paraméterben megadott üzenet - a PHP rendszer-naplójába kerül, az operációs rendszer naplózó - mechanizmusába, vagy egy fileba, attól függõen, hogy az <link - linkend="ini.error-log">error_log</link> konfigurációs - direktíva mire lett beállítva. - </entry> - </row> - <row> - <entry>1</entry> - <entry> - A <parameter>message</parameter> paraméterben megadott üzenet - a <parameter>destination</parameter> email címre kerül elküldésre. - Ez az egyetlen típus, amikor a negyedik - <parameter>extra_headers</parameter> paraméter is használatos. - Ez a típus a <function>Mail</function> függvénnyel megegyezõ - belsõ mûködésû. - </entry> - </row> - <row> - <entry>2</entry> - <entry> - A <parameter>message</parameter> paraméterben megadott üzenet - a PHP debug csatárnáján keresztül kerül elküldésre. Ez csak - abban az esetben használatos, ha a - <link linkend="enable-debugger">remote debugging engedélyezve - van</link>. Ebben az esetben a - <parameter>destination</parameter> paraméter megadja a host-ot, - vagy IP címet (opcionálisan a port számmal), ahova a PHP - debug információk küldendõek. - </entry> - </row> - <row> - <entry>3</entry> - <entry> - A <parameter>message</parameter> paraméterben megadott üzenet - a <parameter>destination</parameter>-ben megadott file végére - kerül hozzáfûzésre. - </entry> - </row> - </tbody> - </tgroup> - </table></para> - <para> - <example role="php"> - <title><function>error_log</function> példák</title> - <programlisting role="php"> -<![CDATA[ -// Figyelmeztetés a szerver logba, ha nem lehet csatlakozni -// az adatbázishoz -if (!Ora_Logon($username, $password)) { - error_log("Oracle database nem elérhetõ!", 0); -} - -// Figyelmeztetni kell az admint, ha nem tudunk új -// ize-t létrehozni -if (!($ize = uj_ize_letrehozasa()) { - error_log("Nagy baj van, nem tudunk több ize-t létrehozni!", 1, - "izemester@domain.hu"); -} - -// más módszerek az error_log() hívására: -error_log("Gond van!", 2, "127.0.0.1:7000"); -error_log("Gond van!", 2, "loghost"); -error_log("Gond van!", 3, "/var/tmp/my-errors.log"); -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.error-reporting"> - <refnamediv> - <refname>error_reporting</refname> - <refpurpose>Beállítja, hogy milyen PHP hibák jelenjenek meg</refpurpose> - </refnamediv> - <refsect1> - <title>Leírás</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>error_reporting</function></funcdef> - <paramdef>int - <parameter><optional>level</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Beállítja a PHP hibajelentési szintet, és visszaadja a régi értéket. - A hibajelentési szint egy bitmask. Az egyes értékekrõl bõvebbet - a linkekre való kattintással olvashatsz. - <table> - <title><function>error_reporting</function> bit értékek</title> - <tgroup cols="2"> - <thead> - <row> - <entry>érték</entry> - <entry>belsõ név</entry> - </row> - </thead> - <tbody> - <row> - <entry>1</entry> - <entry> - <link linkend="internal.e-error">E_ERROR</link> - </entry> - </row> - <row> - <entry>2</entry> - <entry> - <link linkend="internal.e-warning">E_WARNING</link> - </entry> - </row> - <row> - <entry>4</entry> - <entry> - <link linkend="internal.e-parse">E_PARSE</link> - </entry> - </row> - <row> - <entry>8</entry> - <entry> - <link linkend="internal.e-notice">E_NOTICE</link> - </entry> - </row> - <row> - <entry>16</entry> - <entry> - <link linkend="internal.e-core-error">E_CORE_ERROR</link> - </entry> - </row> - <row> - <entry>32</entry> - <entry> - <link linkend="internal.e-core-warning">E_CORE_WARNING</link> - </entry> - </row> - </tbody> - </tgroup> - </table> - </para> - </refsect1> - </refentry> - <refentry id="function.extension-loaded"> <refnamediv> <refname>extension_loaded</refname> Index: phpdoc/hu/functions/errorfunc.xml diff -u phpdoc/hu/functions/errorfunc.xml:1.1 phpdoc/hu/functions/errorfunc.xml:1.2 --- phpdoc/hu/functions/errorfunc.xml:1.1 Sun Sep 17 15:50:00 2000 +++ phpdoc/hu/functions/errorfunc.xml Mon Oct 16 04:37:43 2000 @@ -25,10 +25,10 @@ <refentry id="function.error-log"> <refnamediv> <refname>error_log</refname> - <refpurpose>send an error message somewhere</refpurpose> + <refpurpose>Hibaüzenetet küld</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Leírás</title> <funcsynopsis> <funcprototype> <funcdef>int <function>error_log</function></funcdef> @@ -43,80 +43,83 @@ </funcprototype> </funcsynopsis> <para> - Sends an error message to the web server's error log, a - <acronym>TCP</acronym> port or to a file. The first parameter, - <parameter>message</parameter>, is the error message that should - be logged. The second parameter, - <parameter>message_type</parameter> says where the message should - go: + Hibaüzenetet küld a webszerver error log file-jába, egy + <acronym>TCP</acronym> portra vagy egy file-ba. Az elsõ paraméter + (<parameter>message</parameter>), az üzenet, amit rögzíteni kell. + A második paraméter (<parameter>message_type</parameter>) megadja, + hogy hova kell küldeni az üzenetet: <table> - <title><function>error_log</function> log types</title> + <title><function>error_log</function> log típusok</title> <tgroup cols="2"> <tbody> - <row> - <entry>0</entry> - <entry> - <parameter>message</parameter> is sent to PHP's system - logger, using the Operating System's system logging - mechanism or a file, depending on what the <link - linkend="ini.error-log">error_log</link> configuration - directive is set to. - </entry> - </row> - <row> - <entry>1</entry> - <entry> - <parameter>message</parameter> is sent by email to the - address in the <parameter>destination</parameter> parameter. - This is the only message type where the fourth parameter, - <parameter>extra_headers</parameter> is used. This message - type uses the same internal function as - <function>Mail</function> does. - </entry> - </row> - <row> - <entry>2</entry> - <entry> - <parameter>message</parameter> is sent through the PHP debugging - connection. This option is only available if <link - linkend="install.configure.enable-debugger">remote debugging has - been enabled</link>. In this case, the - <parameter>destination</parameter> parameter specifies the host - name or IP address and optionally, port number, of the socket - receiving the debug information. - </entry> - </row> - <row> - <entry>3</entry> - <entry> - <parameter>message</parameter> is appended to the file - <parameter>destination</parameter>. - </entry> - </row> + <row> + <entry>0</entry> + <entry> + A <parameter>message</parameter> paraméterben megadott üzenet + a PHP rendszer-naplójába kerül, az operációs rendszer naplózó + mechanizmusába, vagy egy fileba, attól függõen, hogy az <link + linkend="ini.error-log">error_log</link> konfigurációs + direktíva mire lett beállítva. + </entry> + </row> + <row> + <entry>1</entry> + <entry> + A <parameter>message</parameter> paraméterben megadott üzenet + a <parameter>destination</parameter> email címre kerül elküldésre. + Ez az egyetlen típus, amikor a negyedik + <parameter>extra_headers</parameter> paraméter is használatos. + Ez a típus a <function>Mail</function> függvénnyel megegyezõ + belsõ mûködésû. + </entry> + </row> + <row> + <entry>2</entry> + <entry> + A <parameter>message</parameter> paraméterben megadott üzenet + a PHP debug csatárnáján keresztül kerül elküldésre. Ez csak + abban az esetben használatos, ha a + <link linkend="enable-debugger">remote debugging engedélyezve + van</link>. Ebben az esetben a + <parameter>destination</parameter> paraméter megadja a host-ot, + vagy IP címet (opcionálisan a port számmal), ahova a PHP + debug információk küldendõek. + </entry> + </row> + <row> + <entry>3</entry> + <entry> + A <parameter>message</parameter> paraméterben megadott üzenet + a <parameter>destination</parameter>-ben megadott file végére + kerül hozzáfûzésre. + </entry> + </row> </tbody> </tgroup> - </table> - </para> + </table></para> <para> <example role="php"> - <title><function>error_log</function> examples</title> + <title><function>error_log</function> példák</title> <programlisting role="php"> -// Send notification through the server log if we can not -// connect to the database. -if (!Ora_Logon ($username, $password)) { - error_log ("Oracle database not available!", 0); +<![CDATA[ +// Figyelmeztetés a szerver logba, ha nem lehet csatlakozni +// az adatbázishoz +if (!Ora_Logon($username, $password)) { + error_log("Oracle database nem elérhetõ!", 0); } -// Notify administrator by email if we run out of FOO -if (!($foo = allocate_new_foo()) { - error_log ("Big trouble, we're all out of FOOs!", 1, - "operator@mydomain.com"); +// Figyelmeztetni kell az admint, ha nem tudunk új +// ize-t létrehozni +if (!($ize = uj_ize_letrehozasa()) { + error_log("Nagy baj van, nem tudunk több ize-t létrehozni!", 1, + "izemester@domain.hu"); } -// other ways of calling error_log(): -error_log ("You messed up!", 2, "127.0.0.1:7000"); -error_log ("You messed up!", 2, "loghost"); -error_log ("You messed up!", 3, "/var/tmp/my-errors.log"); +// más módszerek az error_log() hívására: +error_log("Gond van!", 2, "127.0.0.1:7000"); +error_log("Gond van!", 2, "loghost"); +error_log("Gond van!", 3, "/var/tmp/my-errors.log"); +]]> </programlisting> </example> </para> @@ -126,139 +129,71 @@ <refentry id="function.error-reporting"> <refnamediv> <refname>error_reporting</refname> - <refpurpose>set which PHP errors are reported</refpurpose> + <refpurpose>Beállítja, hogy milyen PHP hibák jelenjenek meg</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Leírás</title> <funcsynopsis> <funcprototype> <funcdef>int <function>error_reporting</function></funcdef> - <paramdef>int + <paramdef>int <parameter><optional>level</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> - Sets PHP's error reporting level and returns the old level. The - error reporting level is either a bitmask, or named constant. Using - named constants is strongly encouraged to ensure compatibility for - future versions. As error levels are added, the range of integers - increases, so older integer-based error levels will not always - behave as expected. - <example role="php"> - <title>Error Integer changes</title> - <programlisting role="php"> -error_reporting (55); // PHP 3 equivalent to E_ALL ^ E_NOTICE - -/* ...in PHP 4, '55' would mean (E_ERROR | E_WARNING | E_PARSE | -E_CORE_ERROR | E_CORE_WARNING) */ - -error_reporting (2039); // PHP 4 equivalent to E_ALL ^ E_NOTICE - -error_reporting (E_ALL ^ E_NOTICE); // The same in both PHP 3 and 4 - </programlisting> - </example> - Follow the links for the internal values to get their meanings: + Beállítja a PHP hibajelentési szintet, és visszaadja a régi értéket. + A hibajelentési szint egy bitmask. Az egyes értékekrõl bõvebbet + a linkekre való kattintással olvashatsz. <table> - <title><function>error_reporting</function> bit values</title> + <title><function>error_reporting</function> bit értékek</title> <tgroup cols="2"> <thead> - <row> - <entry>constant</entry> - <entry>value</entry> - </row> + <row> + <entry>érték</entry> + <entry>belsõ név</entry> + </row> </thead> <tbody> - <row> - <entry>1</entry> - <entry> - <link linkend="internal.e-error">E_ERROR</link> - </entry> - </row> - <row> - <entry>2</entry> - <entry> - <link linkend="internal.e-warning">E_WARNING</link> - </entry> - </row> - <row> - <entry>4</entry> - <entry> - <link linkend="internal.e-parse">E_PARSE</link> - </entry> - </row> - <row> - <entry>8</entry> - <entry> - <link linkend="internal.e-notice">E_NOTICE</link> - </entry> - </row> - <row> - <entry>16</entry> - <entry> - <link linkend="internal.e-core-error">E_CORE_ERROR</link> - </entry> - </row> - <row> - <entry>32</entry> - <entry> - <link linkend="internal.e-core-warning">E_CORE_WARNING</link> - </entry> - </row> - <row> - <entry>64</entry> - <entry> - <link linkend="internal.e-compile-error">E_COMPILE_ERROR</link> - </entry> - </row> - <row> - <entry>128</entry> - <entry> - <link linkend="internal.e-compile-warning">E_COMPILE_WARNING</link> - </entry> - </row> - <row> - <entry>256</entry> - <entry> - <link linkend="internal.e-user-error">E_USER_ERROR</link> - </entry> - </row> - <row> - <entry>512</entry> - <entry> - <link linkend="internal.e-user-warning">E_USER_WARNING</link> - </entry> - </row> - <row> - <entry>1024</entry> - <entry> - <link linkend="internal.e-user-error">E_USER_NOTICE</link> - </entry> - </row> + <row> + <entry>1</entry> + <entry> + <link linkend="internal.e-error">E_ERROR</link> + </entry> + </row> + <row> + <entry>2</entry> + <entry> + <link linkend="internal.e-warning">E_WARNING</link> + </entry> + </row> + <row> + <entry>4</entry> + <entry> + <link linkend="internal.e-parse">E_PARSE</link> + </entry> + </row> + <row> + <entry>8</entry> + <entry> + <link linkend="internal.e-notice">E_NOTICE</link> + </entry> + </row> + <row> + <entry>16</entry> + <entry> + <link linkend="internal.e-core-error">E_CORE_ERROR</link> + </entry> + </row> + <row> + <entry>32</entry> + <entry> + <link linkend="internal.e-core-warning">E_CORE_WARNING</link> + </entry> + </row> </tbody> </tgroup> </table> - </para> - <para> - <example role="php"> - <title><function>error_reporting</function> examples</title> - <programlisting role="php"> -error_reporting(0); -/* Turn off all reporting */ - -error_reporting (7); // Old syntax, PHP 2/3 -error_reporting (E_ERROR | E_WARNING | E_PARSE); // New syntax for PHP 3/4 -/* Good to use for simple running errors */ - -error_reporting (15); // Old syntax, PHP 2/3 -error_reporting (E_ERROR | E_WARNING | E_PARSE | E_NOTICE); // New syntax for PHP 3/4 -/* good for code authoring to report uninitialized or (possibly mis-spelled) variables */ - -error_reporting (63); // Old syntax, PHP 2/3 -error_reporting (E_ALL); // New syntax for PHP 3/4 -/* report all PHP errors */ - </programlisting> - </example> </para> </refsect1> </refentry> Index: phpdoc/hu/functions/var.xml diff -u phpdoc/hu/functions/var.xml:1.1 phpdoc/hu/functions/var.xml:1.2 --- phpdoc/hu/functions/var.xml:1.1 Tue Aug 8 07:48:35 2000 +++ phpdoc/hu/functions/var.xml Mon Oct 16 04:37:43 2000 @@ -2,49 +2,6 @@ <title>Változókkal kapcsolatos függvények</title> <titleabbrev>Változók</titleabbrev> - <refentry id="function.call-user-func"> - <refnamediv> - <refname>call_user_func</refname> - <refpurpose> - Meghívja az elsõ paraméterben megadott felhasználói függvényt - </refpurpose> - </refnamediv> - <refsect1> - <title>Leírás</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> - Meghívja a <parameter>function_name</parameter> paraméterbe megadott. - felhasználó által definiált függvényt. Például az alábbi módon: - <informalexample> - <programlisting role="php"> -<![CDATA[ -function borbely ($tipus) { - print "Te $tipus hajat szeretnél. Semmi gond."; -} -call_user_func ('borbely', "gomba"); -call_user_func ('borbely', "göndör"); -]]> - </programlisting> - </informalexample> - </para> - </refsect1> - </refentry> - <refentry id="function.doubleval"> <refnamediv> <refname>doubleval</refname>

« previous php.doc (#969332492) next »