Home
last modified time | relevance | path

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

1234

/php-src/ext/zend_test/tests/
H A Dobserver_bug81430_2.phpt20 array_map("str_repeat", ["\xFF"], [100000000]); // cause a bailout
43 <!-- init array_map() -->
44 <array_map>
50 </array_map>
H A Dobserver_bug81435.phpt29 array_map("str_repeat", ["\xFF"], [100000000]);
50 <!-- init array_map() -->
/php-src/Zend/tests/
H A Dbug45744.phpt7 var_dump(array_map(array($this, 'callback'), $data));
14 return array_map(array($this, 'callback'), $value);
25 var_dump(array_map(array($this, 'callBack'), $data));
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 Dbug67874.phpt2 Bug #67874 Crash in array_map()
7 $data = array_map('current', $data);
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 Dbug70898.phpt6 return array_map($f,0);
16 array_map(): Argument #1 ($callback) must be a valid callback or null, function "000000000000000000…
H A Dgh14003.phpt13 array_map(foo(...), ['a']),
22 #1 %s(%d): array_map(Object(Closure), Array)
H A Dclosure_064.phpt17 \array_map(
30 #5 %s(14): array_map(Object(Closure), Array)
H A Dbug34879.phpt2 Bug #34879 (str_replace, array_map corrupt negative array indexes on 64-bit platforms)
/php-src/ext/standard/tests/array/
H A Darray_map_object1.phpt2 Test array_map() function : usage variations - object functionality
6 * Testing array_map() for object functionalities:
14 echo "*** Testing array_map() : object functionality ***\n";
27 var_dump(array_map($cb, $args));
123 *** Testing array_map() : object functionality ***
135 array_map(): Argument #1 ($callback) must be a valid callback or null, cannot access private method…
139 array_map(): Argument #1 ($callback) must be a valid callback or null, cannot access protected meth…
143 array_map(): Argument #1 ($callback) must be a valid callback or null, array callback must have exa…
176 array_map(): Argument #1 ($callback) must be a valid callback or null, cannot access private method…
178 array_map(): Argument #1 ($callback) must be a valid callback or null, cannot access protected meth…
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_variation4.phpt2 Test array_map() function : usage variations - associative array with different keys
6 * Test array_map() by passing associative array with different keys for $arr1 argument
9 echo "*** Testing array_map() : associative array with diff. keys for 'arr1' argument ***\n";
60 // loop through the various elements of $arrays to test array_map()
64 var_dump( array_map('callback', $arr1) );
71 *** Testing array_map() : associative array with diff. keys for 'arr1' argument ***
H A Darray_map_variation5.phpt2 Test array_map() function : usage variations - associative array with different values
6 * Test array_map() by passing associative array with different values for $arr1 argument
9 echo "*** Testing array_map() : associative array with diff. values for 'arr1' argument ***\n";
64 // loop through the various elements of $arrays to test array_map()
68 var_dump( array_map('callback', $arr1) );
75 *** 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
6 * Test array_map() by passing different arrays for $arr1 argument
9 echo "*** Testing array_map() : different arrays for 'arr1' argument ***\n";
44 // loop through the various elements of $arrays to test array_map()
48 var_dump( array_map('callback', $arr1) );
55 *** Testing array_map() : different arrays for 'arr1' argument ***
/php-src/tests/basic/
H A Dtimeout_variation_2.phpt2 Timeout within array_map
14 array_map("sleep", $a);
/php-src/Zend/tests/attributes/
H A D006_filter.phpt31 print_r(array_map(fn ($a) => $a->getName(), $attr));
36 print_r(array_map(fn ($a) => $a->getName(), $attr));
41 print_r(array_map(fn ($a) => $a->getName(), $attr));
46 print_r(array_map(fn ($a) => $a->getName(), $attr));
51 print_r(array_map(fn ($a) => $a->getName(), $attr));
/php-src/ext/spl/tests/
H A Dbug54971.phpt22 print_r(array_map('get_class', iterator_to_array($items, false)));
23 print_r(array_map('get_class', iterator_to_array($items, true)));
/php-src/ext/mbstring/tests/
H A Dmb_str_split_error_conditions.phpt32 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
39 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
47 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
H A Dmb_str_split_other.phpt16 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
29 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
42 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
55 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
63 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
/php-src/Zend/tests/type_declarations/
H A Dinternal_function_strict_mode.phpt16 array_map([null, "bar"], []);
33 *** Caught array_map(): Argument #1 ($callback) must be a valid callback or null, first array membe…
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dgenerate_name_perfect_hash_table.php10 $array = array_map(function ($item) {
80 $ordered_name_list = array_map(function ($encoding_pointer) use ($encoding_pointer_array_name_mappi…

Completed in 29 milliseconds

1234