Home
last modified time | relevance | path

Searched refs:array (Results 1401 – 1425 of 6719) sorted by relevance

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

/PHP-8.1/ext/session/tests/
H A D027.phpt46 array(0) {
48 array(1) {
52 array(1) {
56 array(0) {
58 array(0) {
/PHP-8.1/sapi/cli/tests/
H A Dbug74600.phpt16 $desc = array(
17 0 => array("pipe", "r"),
18 1 => array("pipe", "w"),
19 2 => array("pipe", "w"),
21 $pipes = array();
/PHP-8.1/ext/standard/tests/serialize/
H A Dunserialize_error_001.phpt2 Test unserialize() with non-bool/array allowed_classes
8 $z = array(new foo(), 2, "3");
32 unserialize(): Option "allowed_classes" must be of type array|bool, null given
33 unserialize(): Option "allowed_classes" must be of type array|bool, int given
34 unserialize(): Option "allowed_classes" must be of type array|bool, int given
H A Dbug45706.phpt10 $x = array(new Foo1(),new Foo2);
17 array(2) {
25 array(0) {
28 array(0) {
/PHP-8.1/ext/standard/tests/general_functions/
H A Dcallbacks_002.phpt7 call_user_func(array('Foo', 'bar'));
12 call_user_func(array(NULL, 'bar'));
17 call_user_func(array('stdclass', NULL));
25 call_user_func(): Argument #1 ($callback) must be a valid callback, first array member is not a val…
26 call_user_func(): Argument #1 ($callback) must be a valid callback, second array member is not a va…
/PHP-8.1/ext/standard/tests/array/
H A Darray_diff_ukey_basic.phpt6 * Function is implemented in ext/standard/array.c
13 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
14 $array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8);
18 array(2) {
H A Darray_intersect_ukey_basic.phpt6 * Function is implemented in ext/standard/array.c
13 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
14 $array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8);
18 array(2) {
H A Dbug72622.phpt6 function walk (array $arr) {
23 array(1) {
27 array(1) {
31 array(1) {
H A D003.phpt32 array(8) {
36 array(2) {
57 array(8) {
59 array(2) {
82 array(8) {
86 array(2) {
H A Dbug25359.phpt2 Bug #25359 (array_multisort() does not work in a function if array is global or reference)
10 $data = array('first', 'fifth', 'second', 'forth', 'third');
11 $sort = array(1, 5, 2, 4, 3);
21 array(5) {
/PHP-8.1/ext/json/tests/
H A Dbug41403.phpt23 array(1) {
27 array(1) {
31 array(1) {
35 array(2) {
/PHP-8.1/Zend/tests/
H A D014.phpt20 array(1) {
24 array(2) {
30 array(2) {
36 array(2) {
H A Dbug48770_3.phpt20 call_user_func_array(array($this, 'self::func2'), array($str));
21 call_user_func_array(array($this, 'self::func3'), array($str));
24 call_user_func_array(array($this, 'self::inexistent'), array($str));
/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_oracle_nulls.phpt73 Attribute value must be of type int for selected attribute, array given
76 array(1) {
78 array(6) {
93 array(1) {
95 array(6) {
110 array(1) {
112 array(6) {
127 array(0) {
129 array(1) {
131 array(6) {
[all …]
/PHP-8.1/ext/oci8/tests/
H A Dbug51253.phpt2 Bug #51253 (oci_bind_array_by_name() array references)
7 $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
56 $array1 = array("one", "two", "three", "four", "five");
67 $array1 = array("one", "two", "three", "four", "five");
78 $array1 = array("one", "two", "three", "four", "five");
96 array(5) {
108 array(5) {
121 array(5) {
133 array(5) {
146 array(5) {
[all …]
H A Dcursor_bind.phpt7 $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
17 $stmtarray = array(
52 $stmtarray = array(
60 array(2) {
66 array(2) {
72 array(2) {
H A Darray_bind_010.phpt12 $array = Array(1,2,3,4,5);
14 oci_bind_array_by_name($statement, ":c1", $array, 5, 5, SQLT_CHR);
18 var_dump($array);
24 array(5) {
/PHP-8.1/ext/spl/tests/
H A DarrayObject_asort_basic1.phpt2 SPL: Test ArrayObject::asort() function : basic functionality with array based store
12 $ao1 = new ArrayObject(array(4,2,3));
13 $ao2 = new ArrayObject(array('a'=>4,'b'=>2,'c'=>3));
30 array(3) {
42 array(3) {
54 array(3) {
H A DarrayObject_ksort_basic1.phpt2 SPL: Test ArrayObject::ksort() function : basic functionality with array based store
11 $ao1 = new ArrayObject(array(4,2,3));
12 $ao2 = new ArrayObject(array('b'=>4,'a'=>2,'q'=>3, 99=>'x'));
29 array(3) {
41 array(4) {
55 array(4) {
H A Diterator_016.phpt45 $arr = array("a", array("ba", array("bba", "bbb"), array(array("bcaa"))), array("ca"), "d");
H A DCallbackFilterIteratorTest-002.phpt24 new CallbackFilterIterator(new ArrayIterator(array()), null);
30 new CallbackFilterIterator(new ArrayIterator(array()), array());
35 $it = new CallbackFilterIterator(new ArrayIterator(array(1)), function() {
47 CallbackFilterIterator::__construct(): Argument #2 ($callback) must be a valid callback, no array o…
48 CallbackFilterIterator::__construct(): Argument #2 ($callback) must be a valid callback, array must…
/PHP-8.1/ext/pcre/tests/
H A Dpreg_match_basic.phpt20 array(1) {
25 array(0) {
28 array(2) {
35 array(1) {
37 array(2) {
45 array(0) {
/PHP-8.1/ext/pdo/tests/
H A Dbug_38394.phpt22 $s->execute(array('a' => 1, 'b' => 2, 'c' => 3));
24 @$s->execute(array('a' => 5, 'b' => 6, 'c' => 7, 'd' => 8));
26 $s->execute(array('a' => 9, 'b' => 10, 'c' => 11));
31 array(2) {
33 array(3) {
42 array(3) {
/PHP-8.1/Zend/tests/list/
H A Dlist_reference_007.phpt8 function __construct(array $a) { $this->s = $a; }
35 array(2) {
44 array(3) {
55 array(3) {
61 array(1) {
69 array(2) {
/PHP-8.1/ext/gd/tests/
H A Dbug66356.phpt10 var_dump(imagecrop($img, array("x" => "a", "y" => 0, "width" => 10, "height" => 10)));
12 $arr = array("x" => "a", "y" => "12b", "width" => 10, "height" => 10);
17 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => -1, "height" => 10)));
20 var_dump(imagecrop($img, array("x" => -20, "y" => -20, "width" => 10, "height" => 10)));
23 var_dump(imagecrop($img, array("x" => 0x7fffff00, "y" => 0, "width" => 10, "height" => 10)));
26 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => 65535, "height" => 65535)));

Completed in 68 milliseconds

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