#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)
{
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);
RETURN_FALSE;
}
}
-/* }}} */
\ No newline at end of file
+/* }}} */