Home
last modified time | relevance | path

Searched refs:array (Results 1326 – 1350 of 6719) sorted by relevance

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

/PHP-8.1/ext/pdo/tests/
H A Dpdo_021.phpt26 $data = array(
27 array('10', 'Abc', 'zxy'),
28 array('20', 'Def', 'wvu'),
29 array('30', 'Ghi', 'tsr'),
30 array('40', 'Jkl', 'qpo'),
31 array('50', 'Mno', 'nml'),
32 array('60', 'Pqr', 'kji'),
48 $stmt2->execute(array(':first'=>($row[0] + 5), ':second'=>$row[1],
/PHP-8.1/ext/reflection/tests/
H A DReflectionMethod_setAccessible.phpt18 $private->invokeArgs(new A, array(NULL));
20 $privateStatic->invokeArgs(NULL, array(NULL));
22 $protected->invokeArgs(new A, array(NULL));
24 $protectedStatic->invokeArgs(NULL, array(NULL));
32 $private->invokeArgs(new A, array(NULL));
34 $privateStatic->invokeArgs(NULL, array(NULL));
36 $protected->invokeArgs(new A, array(NULL));
38 $protectedStatic->invokeArgs(NULL, array(NULL));
/PHP-8.1/ext/pdo_mysql/tests/
H A Dbug54929.phpt23 if (!$stmt->execute(array("foo"))) {
42 array(1) {
46 array(1) {
52 array(3) {
60 array(1) {
64 array(1) {
68 array(1) {
72 array(1) {
/PHP-8.1/ext/mbstring/tests/
H A Dmb_substitute_character_variation_strict_types.phpt38 $index_array = array (1, 2, 3);
39 $assoc_array = array ('one' => 1, 'two' => 2);
41 //array of values to iterate over
42 $inputs = array(
57 // array data
58 'empty array' => array(),
59 'int indexed array' => $index_array,
60 'associative array' => $assoc_array,
129 --empty array--
131 --int indexed array--
[all …]
H A Dmb_substitute_character_variation_weak_types.phpt36 $index_array = array (1, 2, 3);
37 $assoc_array = array ('one' => 1, 'two' => 2);
39 //array of values to iterate over
40 $inputs = array(
55 // array data
56 'empty array' => array(),
57 'int indexed array' => $index_array,
58 'associative array' => $assoc_array,
133 --empty array--
135 --int indexed array--
[all …]
/PHP-8.1/ext/pcre/tests/
H A Dpreg_replace_callback2.phpt18 var_dump(preg_replace_callback('@\b\w{1,2}\b@', 'g', array('a b3 bcd', 'v' => 'aksfjk', 12 => 'aa b…
20 var_dump(preg_replace_callback('~\A.~', 'g', array(array('xyz'))));
25 array(3) {
35 array(1) {
H A Dpreg_match_latin.phpt13 array(3) {
15 array(1) {
20 array(1) {
25 array(1) {
/PHP-8.1/ext/opcache/tests/
H A Dbug74442.phpt2 Bug #74442: Opcached version produces a nested array
10 public function addField($typeclass, array $params = null) {
17 public function __construct(array $params = null) {
19 $params = (array) $params;
21 call_user_func_array(array($this, 'acceptParams'), $params);
/PHP-8.1/ext/openssl/tests/
H A Dbug55259.phpt12 $dh_details = array('p' => $phex, 'g' => '2');
13 $dh = openssl_pkey_new(array('dh'=> array('p' => $phex, 'g' => '2')));
15 $dh = openssl_pkey_new(array('dh'=> array( 'p' => hex2bin($phex), 'g' => '2')));
/PHP-8.1/Zend/tests/
H A Dmagic_methods_inheritance_rules_non_trivial_02.phpt6 public function __get(string|array $name): mixed {} // valid
10 public function __get(string|array|object $name): int {} // also valid
14 public function __get(string|array|object $name): int|float {} // this is invalid
18 …error: Declaration of C::__get(object|array|string $name): int|float must be compatible with B::__…
H A Ddereference_003.phpt2 Testing array dereference on method calls
11 $x = array();
16 return array(1.2, array(new self));
19 $a = array();
H A Dget_class_vars_005.phpt26 array(0) {
28 array(0) {
30 array(1) {
34 array(2) {
H A Dbug71154.phpt6 $array = [1, 2, 3];
7 foreach ($array as &$ref) {
8 /* Free array, causing free of iterator */
9 $array = [];
/PHP-8.1/ext/spl/tests/
H A Dspl_003.phpt38 array(2) {
44 array(2) {
50 array(1) {
54 array(1) {
58 array(0) {
67 array(0) {
69 array(0) {
/PHP-8.1/ext/soap/tests/schema/
H A Dschema028.phpt2 SOAP XML Schema 28: SOAP 1.2 Multidimensional array
19 test_schema($schema,'type="tns:testType"',array(array(123),array(123.5)));
25 array(2) {
27 array(1) {
32 array(1) {
H A Dschema029.phpt2 SOAP XML Schema 29: SOAP 1.2 Multidimensional array (second way)
21 test_schema($schema,'type="tns:testType"',array(array(123),array(123.5)));
27 array(2) {
29 array(1) {
34 array(1) {
/PHP-8.1/Zend/tests/type_declarations/
H A Dtyped_properties_078.phpt8 public ?array $a;
46 array(0) {
48 string(72) "Cannot assign array to property class@anonymous::$t of type ?Traversable"
49 array(0) {
51 array(1) {
55 …(92) "Cannot assign ArrayIterator to reference held by property class@anonymous::$a of type ?array"
57 string(90) "Cannot assign array to reference held by property class@anonymous::$t of type ?Traversa…
/PHP-8.1/ext/standard/tests/http/
H A Dbug48929.phpt13 $context = stream_context_create(array('http' => $context_options));
15 $responses = array(
33 echo "-- Test: requests with 'header' as array --\n";
35 do_test(array('header' => array('X-Foo: bar', 'Content-Type: text/plain'), 'method' => 'POST', 'con…
39 do_test(array('header' => "X-Foo: bar\r\nContent-Type: text/plain", 'method' => 'POST', 'content' =…
43 -- Test: requests with 'header' as array --
/PHP-8.1/ext/standard/tests/streams/
H A Dproc_open_bug51800_right.phpt18 $pipes = array();
20 $descriptors = array(
21 0 => array("pipe", "rb"), // stdin
22 1 => array("pipe", "wb"), // stdout
23 2 => array("pipe", "wb") // stderr
59 var_dump(array(
72 array(3) {
H A Dproc_open_bug51800_right2.phpt12 $pipes = array();
14 $descriptors = array(
15 0 => array("pipe", "rb"), // stdin
16 1 => array("pipe", "wb"), // stdout
17 2 => array("pipe", "wb") // stderr
59 var_dump(array(
72 array(3) {
H A Dproc_open_bug69900.phpt15 $in = fopen("php://stdin", "rb", false, stream_context_create(array("pipe" => array("blocking" => t…
25 $descriptorspec = array(0 => array("pipe", "r"),1 => array("pipe", "w"));
26 $pipes = array();
28 $process = proc_open(PHP_BINARY.' -n -f ' . $fl, $descriptorspec, $pipes, NULL, NULL, array("blocki…
/PHP-8.1/ext/standard/tests/array/
H A Dbug43505.phpt16 $a = array();
22 $a = array();
27 array(1) {
31 array(1) {
/PHP-8.1/ext/json/tests/
H A Dbug41504.phpt2 Bug #41504 (json_decode() converts empty array keys to "_empty_")
13 array(1) {
17 array(2) {
23 array(2) {
/PHP-8.1/tests/lang/
H A Dbug24652.phpt6 $f = array('7' => 0);
13 $f = array_flip(array('7'));
19 array(1) {
26 array(1) {
/PHP-8.1/ext/standard/tests/general_functions/
H A Dbug40752.phpt2 Bug #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array)
26 array(1) {
28 array(1) {
33 array(1) {

Completed in 51 milliseconds

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