/PHP-8.1/Zend/tests/ |
H A D | closure_058.phpt | 18 $c = array($a,"__invoke"); 20 call_user_func(array($a,"__invoke")); 21 $z(array($a,"__invoke")); 29 $c = array($b,"__invoke"); 31 call_user_func(array($b,"__invoke")); 32 $z(array($b,"__invoke"));
|
H A D | bug39775.phpt | 6 var $array = array(); 8 $v =& $this->array; 9 return $this->array;
|
H A D | bug40705.phpt | 2 Bug #40705 (Iterating within function moves original array pointer) 5 function doForeach($array) 7 foreach ($array as $k => $v) { 12 $foo = array('foo', 'bar', 'baz');
|
H A D | bug34678.phpt | 17 if (is_callable(array('B', 'foo'))) { 18 call_user_func(array('B', 'foo')); 20 if (is_callable(array('A', 'foo'))) { 21 call_user_func(array('A', 'foo'));
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | parse_ini_file_variation6-win32-mb.phpt | 24 $allDirs = array( 69 array(1) { 75 array(1) { 81 array(1) { 87 array(1) { 103 array(1) { 109 array(1) { 115 array(1) { 121 array(1) { 132 array(1) {
|
H A D | parse_ini_file_variation6-win32.phpt | 24 $allDirs = array( 69 array(1) { 75 array(1) { 81 array(1) { 87 array(1) { 103 array(1) { 109 array(1) { 115 array(1) { 121 array(1) { 132 array(1) {
|
H A D | file_variation8.phpt | 18 $allDirs = array( 60 array(1) { 66 array(1) { 72 array(1) { 78 array(1) { 94 array(1) { 100 array(1) { 106 array(1) { 112 array(1) {
|
H A D | parse_ini_file_variation6.phpt | 18 $allDirs = array( 61 array(1) { 67 array(1) { 73 array(1) { 79 array(1) { 95 array(1) { 101 array(1) { 107 array(1) { 113 array(1) {
|
H A D | bug44034.phpt | 8 $urls = array(); 14 echo strtr($url, array("\r" => "\\r", "\n" => "\\n")) . "\n"; 20 array(2) { 27 array(3) { 36 array(2) {
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | printf_64bit.phpt | 25 $strings = array( NULL, "abc", 'aaa' ); 245 Input Float numbers variation array is: 359 Input Integer numbers variation array is: 455 Input numbers variation array is: 479 Input Characters variation array is: 497 Input numbers variation array is: 545 Input numbers variation array is: 569 Input numbers variation array is: 593 Input Strings format variation array is: 602 Input strings variation array is: [all …]
|
H A D | printf.phpt | 245 Input Float numbers variation array is: 359 Input Integer numbers variation array is: 455 Input numbers variation array is: 479 Input Characters variation array is: 497 Input numbers variation array is: 521 Input Integer numbers variation array is: 545 Input numbers variation array is: 569 Input numbers variation array is: 593 Input Strings format variation array is: 602 Input strings variation array is: [all …]
|
/PHP-8.1/ext/spl/tests/ |
H A D | array_028.phpt | 2 ArrayObject/Iterator on array with NUL bytes 5 $array = [ 9 $it = new ArrayIterator($array); 14 $obj = new ArrayObject($array);
|
H A D | spl_autoload_004.phpt | 15 spl_autoload_register(array('MyAutoLoader', 'autoLoad')); 21 spl_autoload_register(array($myAutoLoader, 'autoLoad')); 30 array(1) { 32 array(2) {
|
H A D | iterator_045.phpt | 54 $it = new MyCachingIterator(new ArrayIterator(array(0, 'foo'=>1, 2, 'bar'=>3, 4))); 74 $it = new MyCachingIterator(new ArrayIterator(array(0, 1, 2, 3)), CachingIterator::FULL_CACHE); 76 $checks = array(0 => 25, 1 => 42, 3 => 'FooBar'); 77 $unsets = array(0, 2); 99 array(3) { 111 array(2) { 119 array(4) { 134 array(4) { 148 array(2) {
|
H A D | spl_caching_iterator_constructor_flags.phpt | 9 $array = array(array(7,8,9),1,2,3,array(4,5,6)); 10 $arrayIterator = new ArrayIterator($array);
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | bug22088.phpt | 6 $a = array('a', 'b', 'c'); 11 $a = array('a' => 1, 'b' => 2, 'c' => 3); 18 array(3) { 26 array(3) {
|
H A D | key_exists_variation2.phpt | 11 $a = array(1 => 'bar', 'foo' => 'baz'); 16 $b = array(1, 'foo' => 'baz'); 20 $c = array('foo' => 'baz', 42); 25 $d = array('bar', 'foo' => 'baz'); 29 $e = array('foo' => 'baz', 'baz'); 41 $f = array('foo' => 'baz', $obj); 45 $g = array($obj, 'foo' => 'baz'); 51 $h = array($st, 'foo' => 'baz'); 55 $i = array('foo' => 'baz', $st);
|
H A D | array_product_variation1.phpt | 12 $types = array("boolean (true)" => true, "boolean (false)" => false, 15 "array" => array(3,2)); 19 var_dump(array_product(array($type))); 48 array
|
H A D | array_udiff_basic.phpt | 6 * Function is implemented in ext/standard/array.c 18 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 19 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15… 20 $result = array_udiff($a, $b, array("cr", "comp_func_cr")); 24 array(2) {
|
H A D | array_uintersect_assoc_basic.phpt | 6 * Function is implemented in ext/standard/array.c 18 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 19 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15… 20 $result = array_uintersect_assoc($a, $b, array("cr", "comp_func_cr")); 24 array(2) {
|
H A D | compact.phpt | 10 $location_vars = array("c\\u0327ity", "state"); 24 array(2) { 31 Warning: compact(): Argument #1 must be string or array of strings, bool given in %s on line %d 33 Warning: compact(): Argument #2 must be string or array of strings, int given in %s on line %d 34 array(1) {
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_refs.phpt | 19 array(1) refcount(2){ 25 array(2) refcount(2){ 35 array(1) refcount(2){ 41 array(1) refcount(2){
|
H A D | proc_open.phpt | 10 $ds = array( 11 0 => array("pipe", "r"), 12 1 => array("pipe", "w"), 13 2 => array("pipe", "w")
|
/PHP-8.1/ext/mbstring/tests/ |
H A D | mb_str_split_jp.phpt | 52 $array = mb_str_split($enc, $len, "ISO-2022-JP"); 53 $count = count($array); 55 /* check array size */ 56 if($size !== $count) printf("Long string splitting error: actual array size: %d expected: %d\n", $c… 58 /* compare initial string and last array element after splitting */ 60 if(end($array) !== $enc){ 62 last array element: %s expected: %s\n", unpack("H*", end($array))[1],unpack("H*", $enc)[1]); 68 $array = mb_str_split("\x80\xA1abc\x80\xA1", 2, $encoding); 69 echo "$encoding: [" . implode(', ', array_map('bin2hex', $array)) . "]\n"; 72 $array = mb_str_split("abc\xFD\xFE\xFFab\xFD\xFE\xFF", 2, $encoding); [all …]
|
/PHP-8.1/ext/oci8/tests/ |
H A D | fetch_row.phpt | 12 $stmtarray = array( 37 $stmtarray = array( 47 array(2) { 53 array(2) { 59 array(2) {
|