summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-06-05 06:52:02 +0000
committerAndi Gutmans <andi@php.net>2000-06-05 06:52:02 +0000
commitf8983e467f56bb9d34733fbdce9c671e6e39e1d8 (patch)
tree8fb85ded33de1065f8bd3d177492bb394304cd44 /Zend/zend_builtin_functions.c
parentcd9e047d6504875ae06a2ff62c750b5738c82540 (diff)
downloadphp-git-f8983e467f56bb9d34733fbdce9c671e6e39e1d8.tar.gz
- Complete change to create_function()
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r--Zend/zend_builtin_functions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index 8a7eb2ef9e..42e15bfce2 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -804,7 +804,7 @@ ZEND_FUNCTION(get_declared_classes)
#define LAMBDA_TEMP_FUNCNAME "__lambda_func"
-/* {{{ proto string lambda(string args, string code)
+/* {{{ proto string create_function(string args, string code)
Creates an anonymous function, and returns its name (funny, eh?) */
ZEND_FUNCTION(create_function)
{
@@ -836,7 +836,7 @@ ZEND_FUNCTION(create_function)
zend_function *func;
if (zend_hash_find(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME), (void **) &func)==FAILURE) {
- zend_error(E_ERROR, "Unexpected inconsistency in lambda()");
+ zend_error(E_ERROR, "Unexpected inconsistency in create_function()");
RETURN_FALSE;
}
function_add_ref(func);
@@ -853,4 +853,4 @@ ZEND_FUNCTION(create_function)
RETURN_FALSE;
}
}
-/* }}} */ \ No newline at end of file
+/* }}} */