/PHP-8.1/Zend/tests/ |
H A D | array_literal_next_element_error.phpt | 2 Next free element may overflow in array literals 8 $array = [$i => 42, new stdClass]; 9 var_dump($array); 23 Cannot add element to the array as the next element is already occupied 24 Cannot add element to the array as the next element is already occupied
|
H A D | bug32290.phpt | 48 return call_user_func_array(array("TestA", "doSomething"), array($i)); 56 return call_user_func_array(array($this, "TestA::doSomethingThis"), array($i)); 64 return call_user_func_array(array("parent", "doSomethingParent"), array($i)); 72 return call_user_func_array(array($this, "parent::doSomethingParentThis"), array($i)); 80 return call_user_func_array(array("TestA", "doSomethingStatic"), array($i));
|
H A D | offset_bool.phpt | 28 Warning: Trying to access array offset on value of type bool in %s on line %d 31 Warning: Trying to access array offset on value of type bool in %s on line %d 34 Warning: Trying to access array offset on value of type bool in %s on line %d 37 Warning: Trying to access array offset on value of type bool in %s on line %d 40 Warning: Trying to access array offset on value of type bool in %s on line %d 43 Warning: Trying to access array offset on value of type bool in %s on line %d 46 Warning: Trying to access array offset on value of type bool in %s on line %d 49 Warning: Trying to access array offset on value of type bool in %s on line %d 52 Warning: Trying to access array offset on value of type bool in %s on line %d
|
H A D | offset_long.phpt | 28 Warning: Trying to access array offset on value of type int in %s on line %d 31 Warning: Trying to access array offset on value of type int in %s on line %d 34 Warning: Trying to access array offset on value of type int in %s on line %d 37 Warning: Trying to access array offset on value of type int in %s on line %d 40 Warning: Trying to access array offset on value of type int in %s on line %d 43 Warning: Trying to access array offset on value of type int in %s on line %d 46 Warning: Trying to access array offset on value of type int in %s on line %d 49 Warning: Trying to access array offset on value of type int in %s on line %d 52 Warning: Trying to access array offset on value of type int in %s on line %d
|
H A D | offset_null.phpt | 28 Warning: Trying to access array offset on value of type null in %s on line %d 31 Warning: Trying to access array offset on value of type null in %s on line %d 34 Warning: Trying to access array offset on value of type null in %s on line %d 37 Warning: Trying to access array offset on value of type null in %s on line %d 40 Warning: Trying to access array offset on value of type null in %s on line %d 43 Warning: Trying to access array offset on value of type null in %s on line %d 46 Warning: Trying to access array offset on value of type null in %s on line %d 49 Warning: Trying to access array offset on value of type null in %s on line %d 52 Warning: Trying to access array offset on value of type null in %s on line %d
|
H A D | list_006.phpt | 2 Testing nested list() with empty array 6 list($a, list($b, list(list($d)))) = array(); 10 Warning: Undefined array key 0 in %s on line %d 12 Warning: Undefined array key 1 in %s on line %d
|
H A D | bug48770_2.phpt | 23 call_user_func_array(array($this, 'parent::func2'), array($str)); 24 call_user_func_array(array($this, 'parent::func3'), array($str)); 27 call_user_func_array(array($this, 'parent::func22'), array($str)); 33 call_user_func_array(array($this, 'parent::inexistent'), array($str));
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | array_filter_variation8.phpt | 12 $input = array(0, 1, -1, 10, 100, 1000, 'Hello', null, true); 45 // array as return value 48 return array(8); 50 echo "callback function with array as return value\n"; 58 array(9) { 79 array(9) { 100 array(9) { 121 array(0) { 123 callback function with array as return value 124 array(9) {
|
H A D | array_diff_uassoc_error.phpt | 7 //Initialize array 8 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red"); 9 $array2 = array("a" => "green", "yellow", "red"); 10 $array3 = array("a" => "green", "red"); 11 $array4 = array(); 12 $extra_arg = array(1, 2, 3, 4); 48 array_diff_uassoc(): Argument #4 must be a valid callback, array must have exactly two members 49 array_diff_uassoc(): Argument #6 must be a valid callback, array must have exactly two members 52 array_diff_uassoc(): Argument #2 must be a valid callback, array must have exactly two members
|
H A D | array_intersect_key_basic.phpt | 6 * Function is implemented in ext/standard/array.c 8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4); 9 $array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8); 13 array(2) {
|
H A D | current_variation4.phpt | 12 $multi_array = array ('zero', array (1, 2, 3), 'two'); 25 //accessing an array within an array 30 //create a recursive array 37 //see if internal pointer is in same position as referenced array 39 // see if internal pointer is in the same position from when accessing this inner array 47 Next Position: array(3) {
|
H A D | array_intersect_ukey_variation9.phpt | 8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4); 9 $array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8); 24 var_dump( array_intersect_ukey($array1, $array2, array('MyClass','static_compare_func')) ); 29 var_dump( array_intersect_ukey($array1, $array2, array($obj,'class_compare_func')) ); 35 array(2) { 41 array(2) { 49 array(2) {
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | fscanf.phpt | 30 $v = array(); 31 $v1 = array(); 42 $v = array(); 43 $v1 = array(); 87 array(0) { 89 array(0) { 92 array(0) { 94 array(0) { 97 array(0) {
|
H A D | fscanf_variation54.phpt | 37 $formats = array( "%d", "%f", "%e", "%u", " %s", "%x", "%o"); 66 array(1) { 70 array(1) { 74 array(1) { 78 array(1) { 82 array(1) { 86 array(1) { 90 array(1) {
|
H A D | pathinfo_basic.phpt | 9 $paths = array ( 71 array(4) { 86 array(4) { 101 array(4) { 116 array(4) { 131 array(4) { 146 array(4) { 161 array(4) { 176 array(4) { 191 array(4) { [all …]
|
/PHP-8.1/ext/ldap/tests/ |
H A D | ldap_set_option_variation.phpt | 15 $controls = array( 16 array("oid" => "1.2.752.58.10.1", "iscritical" => true), 17 array("oid" => "1.2.752.58.1.10", "value" => "magic"), 78 array(2) { 80 array(3) { 89 array(3) { 99 array(2) { 101 array(3) { 110 array(3) {
|
/PHP-8.1/ext/phar/tests/ |
H A D | phar_metadata_read.phpt | 14 $files = array(); 16 $files['a'] = array('cont' => 'a'); 17 $files['b'] = array('cont' => 'b'); 18 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there')); 19 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar')); 72 array(2) { 82 array(2) {
|
/PHP-8.1/ext/opcache/tests/ |
H A D | bug69125.phpt | 14 $array[SZERO] = "okey"; 15 $array[1] = "okey"; 17 var_dump($array[SZERO]); 18 var_dump($array[SONE]);
|
/PHP-8.1/sapi/phpdbg/tests/ |
H A D | info_001.phpt | 39 %s 2 array $_GET 40 %s 2 array $_POST 41 %s 2 array $_COOKIE 42 %s 2 array $_SERVER 43 %s 2 array $_ENV 44 %s 1 array $_REQUEST 45 %s 2 array $_FILES 57 prompt> [No active op array!]
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | bug_41997.phpt | 12 $matches = array(); 48 array(1) { 50 array(1) { 55 array(0) { 57 array(3) { 65 array(1) { 67 array(1) { 72 array(3) {
|
/PHP-8.1/ext/spl/tests/ |
H A D | observer_004.phpt | 28 foreach(array(1,2) as $value) 65 array(2) { 67 array(2) { 77 array(2) { 97 array(2) { 99 array(2) { 109 array(2) {
|
/PHP-8.1/ext/gmp/tests/ |
H A D | gmp_invert.phpt | 29 var_dump(gmp_invert(array(), 1)); 34 var_dump(gmp_invert(1, array())); 39 var_dump(gmp_invert(array(), array())); 56 gmp_invert(): Argument #1 ($num1) must be of type GMP|string|int, array given 57 gmp_invert(): Argument #2 ($num2) must be of type GMP|string|int, array given 58 gmp_invert(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_and.phpt | 27 var_dump(gmp_and(array(), 1)); 32 var_dump(gmp_and(1, array())); 37 var_dump(gmp_and(array(), array())); 53 gmp_and(): Argument #1 ($num1) must be of type GMP|string|int, array given 54 gmp_and(): Argument #2 ($num2) must be of type GMP|string|int, array given 55 gmp_and(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_or.phpt | 26 var_dump(gmp_or(array(), 1)); 31 var_dump(gmp_or(1, array())); 36 var_dump(gmp_or(array(), array())); 52 gmp_or(): Argument #1 ($num1) must be of type GMP|string|int, array given 53 gmp_or(): Argument #2 ($num2) must be of type GMP|string|int, array given 54 gmp_or(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
/PHP-8.1/ext/openssl/tests/ |
H A D | openssl_public_decrypt_basic.phpt | 21 var_dump(openssl_public_decrypt($encrypted, $output4, array())); 28 var_dump(openssl_public_decrypt($encrypted, $output5, array($pubkey))); 33 var_dump(openssl_public_decrypt($encrypted, $output6, array($pubkey, ""))); 45 Key array must be of the form array(0 => key, 1 => phrase) 46 Key array must be of the form array(0 => key, 1 => phrase)
|