Home
last modified time | relevance | path

Searched refs:create_function (Results 1 – 25 of 31) sorted by relevance

12

/PHP-5.3/Zend/tests/
H A Dbug48693.phpt6 $x = create_function('', 'return 1; }');
7 $y = create_function('', 'function a() { }; return 2;');
8 $z = create_function('', '{');
9 $w = create_function('', 'return 3;');
H A Dclosure_025.phpt2 Closure 025: Using closure in create_function()
6 $a = create_function('$x', 'return function($y) use ($x) { return $x * $y; };');
H A Danonymous_func_002.phpt6 $test = create_function('$v', 'return $v;');
8 $arr = array(create_function('', 'return $GLOBALS["arr"];'), 2);
H A Danonymous_func_003.phpt7 $a = create_function('', 'return new Exception("test");');
H A Danonymous_func_001.phpt7 $a = create_function('', 'return '. $i .';');
H A Dinstanceof_001.phpt11 $b = create_function('', 'return new stdClass;');
/PHP-5.3/tests/lang/
H A Dbug22690.phpt2 Bug #22690 (ob_start() is broken with create_function() callbacks)
5 $foo = create_function('$s', 'return strtoupper($s);');
H A Dbug24926.phpt2 Bug #24926 (lambda function (create_function()) cannot be stored in a class property)
14 $function = create_function('', 'return "FOO\n";');
H A Dbug17115.phpt5 $func = create_function('','
/PHP-5.3/ext/standard/tests/array/
H A Darray_walk_variation7.phpt24 var_dump( array_walk($input, create_function('$value', 'var_dump($value); echo "\n";')));
27 var_dump( array_walk($input, create_function('$value, $key', 'var_dump($key); var_dump($value); ech…
30 var_dump( array_walk($input, create_function('$value, $key, $user_data', 'var_dump($key); var_dump(…
33 var_dump( array_walk($input, create_function('$value, $key, $user_data', 'var_dump($key); var_dump(…
36 var_dump( array_walk( $input, create_function(null, 'echo "1\n";')));
H A Darray_walk_recursive_variation7.phpt24 var_dump( array_walk_recursive($input, create_function('$value', 'var_dump($value); echo "\n";')));
27 var_dump( array_walk_recursive($input, create_function('$value, $key', 'var_dump($key); var_dump($v…
30 var_dump( array_walk_recursive($input, create_function('$value, $key, $user_data', 'var_dump($key);…
33 var_dump( array_walk_recursive($input, create_function('$value, $key, $user_data', 'var_dump($key);…
36 var_dump( array_walk_recursive( $input, create_function(null, 'echo "1\n";')));
H A Darray_filter_variation7.phpt20 var_dump( array_filter($input, create_function('$input', 'return ($input > 1);') ) );
24 var_dump( array_filter($input, create_function('&$input', 'return ($input < 1);') ) );
28 var_dump( array_filter($input, create_function(null, 'return true;') ) );
32 var_dump( array_filter($input, create_function('$input', null) ) );
H A Darray_map_variation10.phpt20 var_dump( array_map( create_function('$a, $b', 'return array($a, $b);'), $array1, $array2));
23 var_dump( array_map( create_function('$a, $b', 'return array($a, $b);'), $array1));
26 var_dump( array_map( create_function(NULL, 'return NULL;'), $array1));
29 var_dump( array_map( create_function('$a', NULL), $array1));
32 var_dump( array_map( create_function('$a', 'return array($a);'), NULL));
H A Dusort_variation7.phpt21 var_dump( usort($array_arg, create_function('$value1, $value2',$cmp_function) ) );
27 var_dump( usort($array_arg, create_function('&$value1, &$value2', $cmp_function) ) );
H A Duasort_variation7.phpt22 var_dump( uasort($array_arg, create_function('$value1, $value2',$cmp_function) ) );
27 var_dump( uasort($array_arg, create_function('&$value1, &$value2', $cmp_function) ) );
/PHP-5.3/ext/standard/tests/strings/
H A Dbug37262.phpt5 $func = create_function('$a', 'return $a;');
/PHP-5.3/ext/pcre/tests/
H A Dpreg_replace_callback2.phpt22 var_dump(preg_replace_callback('~\A.~', create_function('$m', 'return strtolower($m[0]);'), 'ABC'));
/PHP-5.3/ext/sybase_ct/tests/
H A Dtest_msghandler.phpt19 echo 'Lambda function: '; sybase_set_messagehandler_ex(create_function('', 'return FALSE;'));
/PHP-5.3/ext/oci8/tests/
H A Dconnect_scope_try1.phpt32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
H A Dconnect_scope_try3.phpt32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
H A Dconnect_scope_try4.phpt32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
H A Dconnect_scope_try5.phpt32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
H A Dconnect_scope_try6.phpt32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
H A Dconnect_scope_try2.phpt32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
/PHP-5.3/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h80 …int (*create_function)(sqlite3*,const char*,int,int,void*,void (*xFunc)(sqlite3_context*,int,sqli… member
276 #define sqlite3_create_function sqlite3_api->create_function

Completed in 31 milliseconds

12