summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-06-04 21:30:56 +0000
committerZeev Suraski <zeev@php.net>2000-06-04 21:30:56 +0000
commitb7a8baf1bb9902a8fcb3e0f3f1fee13c1a6281b8 (patch)
tree8b4c5e44620e6747846ebf6e784a4c850a25f305 /Zend
parentb9d1b21598f35849bb5810926a1dcf8767fe745e (diff)
downloadphp-git-b7a8baf1bb9902a8fcb3e0f3f1fee13c1a6281b8.tar.gz
Rename lambda()
Diffstat (limited to 'Zend')
-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 dc36516f04..8a7eb2ef9e 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -55,7 +55,7 @@ static ZEND_FUNCTION(get_class_methods);
static ZEND_FUNCTION(trigger_error);
static ZEND_FUNCTION(set_error_handler);
static ZEND_FUNCTION(get_declared_classes);
-static ZEND_FUNCTION(lambda);
+static ZEND_FUNCTION(create_function);
unsigned char first_arg_force_ref[] = { 1, BYREF_FORCE };
unsigned char first_arg_allow_ref[] = { 1, BYREF_ALLOW };
@@ -94,7 +94,7 @@ static zend_function_entry builtin_functions[] = {
ZEND_FALIAS(user_error, trigger_error, NULL)
ZEND_FE(set_error_handler, NULL)
ZEND_FE(get_declared_classes, NULL)
- ZEND_FE(lambda, NULL)
+ ZEND_FE(create_function, NULL)
{ NULL, NULL, NULL }
};
@@ -806,7 +806,7 @@ ZEND_FUNCTION(get_declared_classes)
/* {{{ proto string lambda(string args, string code)
Creates an anonymous function, and returns its name (funny, eh?) */
-ZEND_FUNCTION(lambda)
+ZEND_FUNCTION(create_function)
{
char *eval_code, *function_name;
int eval_code_length, function_name_length;