Home
last modified time | relevance | path

Searched refs:array_map (Results 26 – 50 of 71) sorted by relevance

123

/PHP-7.4/ext/standard/tests/array/
H A Dbug35821.phpt2 Bug #35821 (array_map() segfaults when exception is throwed from the callback)
20 array_map(array('Element', 'CallBack'), $arr);
29 #2 %s(%d): array_map(Array, Array)
H A Darray_map_variation5.phpt2 Test array_map() function : usage variations - associative array with different values
5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
11 * Test array_map() by passing associative array with different values for $arr1 argument
14 echo "*** Testing array_map() : associative array with diff. values for 'arr1' argument ***\n";
69 // loop through the various elements of $arrays to test array_map()
73 var_dump( array_map('callback', $arr1) );
80 *** Testing array_map() : associative array with diff. values for 'arr1' argument ***
H A Dbug23581.phpt2 Bug #23581 (array_map(NULL, array, array, ...) yields an undefined result)
6 array_map(
H A Darray_map_001.phpt2 array_map() and exceptions in the callback
13 array_map("foo", $a, array(2,3));
H A Darray_map_variation3.phpt2 Test array_map() function : usage variations - different arrays for 'arr1' argument
5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
11 * Test array_map() by passing different arrays for $arr1 argument
14 echo "*** Testing array_map() : different arrays for 'arr1' argument ***\n";
49 // loop through the various elements of $arrays to test array_map()
53 var_dump( array_map('callback', $arr1) );
60 *** Testing array_map() : different arrays for 'arr1' argument ***
H A Darray_map_variation4.phpt2 Test array_map() function : usage variations - associative array with different keys
5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
11 * Test array_map() by passing associative array with different keys for $arr1 argument
14 echo "*** Testing array_map() : associative array with diff. keys for 'arr1' argument ***\n";
69 // loop through the various elements of $arrays to test array_map()
73 var_dump( array_map('callback', $arr1) );
80 *** Testing array_map() : associative array with diff. keys for 'arr1' argument ***
H A Dbug74345.phpt14 array_map($cb, []);
15 array_map($cb, [], []);
/PHP-7.4/Zend/tests/
H A Dbug34260.phpt2 Bug #34260 (Segfault with callbacks (array_map) + overloading)
27 $Failure = array_map(array($Faulty,'seg'),$Array);
30 $Failure = array_map(array($Faulty,'NormalMethod'),$Array);
H A Dbug76383.phpt2 Bug #76383: array_map on $GLOBALS returns IS_INDIRECT
7 array_map(function($x) use (&$lastval) { $lastval = $x; }, $GLOBALS);
H A Dbug46409.phpt2 Bug #46409 (__invoke method called outside of object context when using array_map)
16 $b = array_map($cb, $a);
H A Dbug34879.phpt2 Bug #34879 (str_replace, array_map corrupt negative array indexes on 64-bit platforms)
H A Ddynamic_call_007.phpt8 array_map('extract', [['i' => new stdClass]]);
H A Dbug75079.phpt10 array_map(
H A Dbug77877.phpt11 array_map([new Foo, 'bar'],[1]);
H A Dbug78502.phpt19 $tree[$recursive_attr] = array_map(function($c) use($recursive_attr, $callback){
H A Ddynamic_call_005.phpt9 array_map($func, [['i' => new stdClass]]);
/PHP-7.4/tests/basic/
H A Dtimeout_variation_2.phpt2 Timeout within array_map
14 array_map("sleep", $a);
/PHP-7.4/ext/spl/tests/
H A Dbug54971.phpt24 print_r(array_map('get_class', iterator_to_array($items, false)));
25 print_r(array_map('get_class', iterator_to_array($items, true)));
/PHP-7.4/Zend/tests/type_declarations/
H A Dinternal_function_strict_mode.phpt16 array_map([null, "bar"], []);
33 *** Caught array_map() expects parameter 1 to be a valid callback, first array member is not a vali…
/PHP-7.4/ext/pcre/tests/
H A Dbug42737.phpt10 var_dump(array_map('ord', $array));
/PHP-7.4/Zend/tests/arg_unpack/
H A Dinternal.phpt11 var_dump(array_map(null, ...$arrays));
/PHP-7.4/ext/mbstring/tests/
H A Dbug79371.phpt10 $str = implode(array_map("chr", $bytes));
/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug36011.phpt15 array_map(array('TestClass', 'test'), array('array_value'));
/PHP-7.4/ext/json/tests/
H A Djson_decode_invalid_utf8.phpt14 var_dump(array_map(function($item) { return bin2hex($item); }, $json));
/PHP-7.4/ext/phar/tests/tar/
H A Dbug71317-duplicate-filename.phpt45 array_map('unlink', glob($testDirectory . "/*.txt"));

Completed in 36 milliseconds

123