cvs: ZendAPI / Extending_Zend_CallingUserFunctions.xml
| From: | Yasuo Ohgaki | Date: | Sun, 24 Feb 2002 06:44:45 +0000 |
| Subject: | cvs: ZendAPI / Extending_Zend_CallingUserFunctions.xml | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9437@lists.php.net to get a copy of this message | ||
yohgaki Sun Feb 24 01:44:45 2002 EDT
Modified files:
/ZendAPI Extending_Zend_CallingUserFunctions.xml
Log:
CLS => TSRMLS
Index: ZendAPI/Extending_Zend_CallingUserFunctions.xml
diff -u ZendAPI/Extending_Zend_CallingUserFunctions.xml:1.7
ZendAPI/Extending_Zend_CallingUserFunctions.xml:1.8
--- ZendAPI/Extending_Zend_CallingUserFunctions.xml:1.7 Mon Feb 11 05:10:33 2002
+++ ZendAPI/Extending_Zend_CallingUserFunctions.xml Sun Feb 24 01:44:44 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <!-- $Revision: 1.7 $ -->
+ <!-- $Revision: 1.8 $ -->
<chapter id="zend.calling-user-functions">
<title>Calling User Functions</title>
<para>
@@ -35,7 +35,7 @@
containing all function entries. This function table is part of the
compiler globals and can be accessed using the macro
<literal>CG</literal>. To introduce the compiler globals to your
- function, call the macro <literal>CLS_FETCH</literal> once.
+ function, call the macro <literal>TSRMLS_FETCH</literal> once.
</para>
<para>
The function name is specified in a <envar>zval</envar>
@@ -85,7 +85,7 @@
zend_error(E_ERROR, "Function requires string argument");
}
-CLS_FETCH();
+TSRMSLS_FETCH();
if(call_user_function_ex(CG(function_table), NULL, *function_name, &retval, 0, NULL, 0) !=
SUCCESS)
{