/PHP-5.3/Zend/tests/ |
H A D | bug48693.phpt | 6 $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 D | closure_025.phpt | 2 Closure 025: Using closure in create_function() 6 $a = create_function('$x', 'return function($y) use ($x) { return $x * $y; };');
|
H A D | anonymous_func_002.phpt | 6 $test = create_function('$v', 'return $v;'); 8 $arr = array(create_function('', 'return $GLOBALS["arr"];'), 2);
|
H A D | anonymous_func_003.phpt | 7 $a = create_function('', 'return new Exception("test");');
|
H A D | anonymous_func_001.phpt | 7 $a = create_function('', 'return '. $i .';');
|
H A D | instanceof_001.phpt | 11 $b = create_function('', 'return new stdClass;');
|
/PHP-5.3/tests/lang/ |
H A D | bug22690.phpt | 2 Bug #22690 (ob_start() is broken with create_function() callbacks) 5 $foo = create_function('$s', 'return strtoupper($s);');
|
H A D | bug24926.phpt | 2 Bug #24926 (lambda function (create_function()) cannot be stored in a class property) 14 $function = create_function('', 'return "FOO\n";');
|
H A D | bug17115.phpt | 5 $func = create_function('','
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_walk_variation7.phpt | 24 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 D | array_walk_recursive_variation7.phpt | 24 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 D | array_filter_variation7.phpt | 20 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 D | array_map_variation10.phpt | 20 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 D | usort_variation7.phpt | 21 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 D | uasort_variation7.phpt | 22 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 D | bug37262.phpt | 5 $func = create_function('$a', 'return $a;');
|
/PHP-5.3/ext/pcre/tests/ |
H A D | preg_replace_callback2.phpt | 22 var_dump(preg_replace_callback('~\A.~', create_function('$m', 'return strtolower($m[0]);'), 'ABC'));
|
/PHP-5.3/ext/sybase_ct/tests/ |
H A D | test_msghandler.phpt | 19 echo 'Lambda function: '; sybase_set_messagehandler_ex(create_function('', 'return FALSE;'));
|
/PHP-5.3/ext/oci8/tests/ |
H A D | connect_scope_try1.phpt | 32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
|
H A D | connect_scope_try3.phpt | 32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
|
H A D | connect_scope_try4.phpt | 32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
|
H A D | connect_scope_try5.phpt | 32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
|
H A D | connect_scope_try6.phpt | 32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
|
H A D | connect_scope_try2.phpt | 32 set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
|
/PHP-5.3/ext/sqlite3/libsqlite/ |
H A D | sqlite3ext.h | 80 …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
|