/PHP-8.1/ext/pdo/tests/ |
H A D | pdo_021.phpt | 26 $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 D | ReflectionMethod_setAccessible.phpt | 18 $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 D | bug54929.phpt | 23 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 D | mb_substitute_character_variation_strict_types.phpt | 38 $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 D | mb_substitute_character_variation_weak_types.phpt | 36 $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 D | preg_replace_callback2.phpt | 18 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 D | preg_match_latin.phpt | 13 array(3) { 15 array(1) { 20 array(1) { 25 array(1) {
|
/PHP-8.1/ext/opcache/tests/ |
H A D | bug74442.phpt | 2 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 D | bug55259.phpt | 12 $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 D | magic_methods_inheritance_rules_non_trivial_02.phpt | 6 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 D | dereference_003.phpt | 2 Testing array dereference on method calls 11 $x = array(); 16 return array(1.2, array(new self)); 19 $a = array();
|
H A D | get_class_vars_005.phpt | 26 array(0) { 28 array(0) { 30 array(1) { 34 array(2) {
|
H A D | bug71154.phpt | 6 $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 D | spl_003.phpt | 38 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 D | schema028.phpt | 2 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 D | schema029.phpt | 2 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 D | typed_properties_078.phpt | 8 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 D | bug48929.phpt | 13 $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 D | proc_open_bug51800_right.phpt | 18 $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 D | proc_open_bug51800_right2.phpt | 12 $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 D | proc_open_bug69900.phpt | 15 $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 D | bug43505.phpt | 16 $a = array(); 22 $a = array(); 27 array(1) { 31 array(1) {
|
/PHP-8.1/ext/json/tests/ |
H A D | bug41504.phpt | 2 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 D | bug24652.phpt | 6 $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 D | bug40752.phpt | 2 Bug #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) 26 array(1) { 28 array(1) { 33 array(1) {
|