Home
last modified time | relevance | path

Searched refs:array (Results 1376 – 1400 of 6719) sorted by relevance

1...<<51525354555657585960>>...269

/PHP-8.1/Zend/tests/
H A Dclosure_058.phpt18 $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 Dbug39775.phpt6 var $array = array();
8 $v =& $this->array;
9 return $this->array;
H A Dbug40705.phpt2 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 Dbug34678.phpt17 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 Dparse_ini_file_variation6-win32-mb.phpt24 $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 Dparse_ini_file_variation6-win32.phpt24 $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 Dfile_variation8.phpt18 $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 Dparse_ini_file_variation6.phpt18 $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 Dbug44034.phpt8 $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 Dprintf_64bit.phpt25 $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 Dprintf.phpt245 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 Darray_028.phpt2 ArrayObject/Iterator on array with NUL bytes
5 $array = [
9 $it = new ArrayIterator($array);
14 $obj = new ArrayObject($array);
H A Dspl_autoload_004.phpt15 spl_autoload_register(array('MyAutoLoader', 'autoLoad'));
21 spl_autoload_register(array($myAutoLoader, 'autoLoad'));
30 array(1) {
32 array(2) {
H A Diterator_045.phpt54 $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 Dspl_caching_iterator_constructor_flags.phpt9 $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 Dbug22088.phpt6 $a = array('a', 'b', 'c');
11 $a = array('a' => 1, 'b' => 2, 'c' => 3);
18 array(3) {
26 array(3) {
H A Dkey_exists_variation2.phpt11 $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 Darray_product_variation1.phpt12 $types = array("boolean (true)" => true, "boolean (false)" => false,
15 "array" => array(3,2));
19 var_dump(array_product(array($type)));
48 array
H A Darray_udiff_basic.phpt6 * 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 Darray_uintersect_assoc_basic.phpt6 * 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 Dcompact.phpt10 $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 Ddebug_zval_dump_refs.phpt19 array(1) refcount(2){
25 array(2) refcount(2){
35 array(1) refcount(2){
41 array(1) refcount(2){
H A Dproc_open.phpt10 $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 Dmb_str_split_jp.phpt52 $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 Dfetch_row.phpt12 $stmtarray = array(
37 $stmtarray = array(
47 array(2) {
53 array(2) {
59 array(2) {

Completed in 113 milliseconds

1...<<51525354555657585960>>...269