Home
last modified time | relevance | path

Searched refs:array (Results 1101 – 1125 of 6719) sorted by relevance

1...<<41424344454647484950>>...269

/PHP-8.1/Zend/tests/
H A Dbug36214.phpt6 public $stack = array();
18 $ctx->comment_preview = array();
23 $comment_preview = array();
35 array(2) {
41 array(2) {
49 array(2) {
H A Dbug31720.phpt5 $array = array('at least one element');
8 array_walk($array, array($nonesuchvar,'show'));
15 array_walk(): Argument #2 ($callback) must be a valid callback, first array member is not a valid c…
/PHP-8.1/ext/standard/tests/general_functions/
H A Dbug39322.phpt10 $descriptors = array(
11 0 => array('pipe', 'r'),
12 1 => array('pipe', 'w'),
13 2 => array('pipe', 'w'));
15 $pipes = array();
27 array(8) {
/PHP-8.1/ext/spl/tests/
H A Dbug37457.phpt8 protected $array, $valid = false;
10 public function __construct(array $a)
13 $this->array = $a;
19 return current($this->array);
25 return key($this->array);
31 $this->valid = (false !== next($this->array));
43 $this->valid = (false !== reset($this->array));
56 $test = new TestFilter(new Collection(array(0)));
/PHP-8.1/ext/standard/tests/array/
H A Darray_filter_variation5.phpt7 * Here Testing all the false array element possibilities
31 // input array with different false elements
32 $input = array(
43 array(),
64 array(0) {
66 array(16) {
88 array(0) {
101 array(0) {
H A Darray_column_scalar_index_weak_types.phpt17 echo "\n-- Testing array_column() column key parameter should be a string or integer (testing array
19 var_dump(array_column([['php7', 'foo'], ['php8', 'bar']], array()));
38 var_dump(array_column([['php' => 7, 'foo'], ['php' => 8, 'bar']], 'php', array()));
48 array(2) {
54 array(2) {
61 -- Testing array_column() column key parameter should be a string or integer (testing array) --
62 array_column(): Argument #2 ($column_key) must be of type string|int|null, array given
65 array(2) {
71 array(2) {
78 -- Testing array_column() index key parameter should be a string or integer (testing array) --
[all …]
H A Dusort_variation11.phpt14 shuffle($array);
15 usort($array, "ucmp");
17 var_dump($array);
22 shuffle($array);
23 $array = array_flip($array);
25 $array = array_keys($array);
27 var_dump($array);
32 shuffle($array);
33 $array = array_combine($array, $array);
35 $array = array_keys($array);
[all …]
H A Dbug24897.phpt5 $a = array(1 => 2);
9 $a = array(1 => 2);
14 array(1) {
18 array(1) {
H A Dsizeof_variation3.phpt9 $array2 = array ( "Hi", "Hello",@$a);
10 $array3 = array( 'hi', 'hello');
11 $a = array ( 1, @$array1, $array2, $array3);
12 $array1 = array( array(1, 2), $a);
13 $array4 = array( 100, @$array4);
/PHP-8.1/ext/pdo/tests/
H A Dbug_44861.phpt9 $allowed = array('oci', 'pgsql');
59 $res->execute(array("it's working"));
64 $res->execute(array("try again"));
75 array(1) {
79 array(1) {
83 array(1) {
87 array(1) {
91 array(1) {
95 array(1) {
97 array(1) {
[all …]
/PHP-8.1/ext/simplexml/tests/
H A Dfeature55218.phpt53 array(2) {
59 array(2) {
65 array(2) {
73 array(1) {
77 array(1) {
81 array(1) {
89 array(2) {
95 array(1) {
99 array(0) {
103 array(1) {
[all …]
/PHP-8.1/ext/mbstring/tests/
H A Dbug77165.phpt2 Bug #77165: mb_check_encoding crashes when argument given an empty array
7 var_dump(mb_check_encoding(array()));
8 var_dump(mb_convert_encoding(array(), 'UTF-8'));
12 array(0) {
H A Dmb_convert_encoding_leak.phpt9 $array = ["foo" . $x => "bar"];
10 mb_convert_encoding($array, 'UTF-8', 'UTF-8');
11 var_dump($array);
15 array(1) {
/PHP-8.1/ext/standard/
H A Dphp_array.h23 PHP_MINIT_FUNCTION(array);
24 PHP_MSHUTDOWN_FUNCTION(array);
47 ZEND_BEGIN_MODULE_GLOBALS(array)
50 ZEND_END_MODULE_GLOBALS(array)
52 #define ARRAYG(v) ZEND_MODULE_GLOBALS_ACCESSOR(array, v)
/PHP-8.1/ext/standard/tests/strings/
H A Dbug36148.phpt5 $values = array("a", "aa", "aaa", "aaaa");
14 a: array(1) {
18 aa: array(1) {
22 aaa: array(1) {
26 aaaa: array(1) {
/PHP-8.1/Zend/tests/type_declarations/
H A Dtyped_properties_092.phpt11 public array $prop;
15 $array = [];
16 $ref =& $array;
17 $this->prop = $array;
37 array(0) {
/PHP-8.1/ext/snmp/tests/
H A Dsnmp2_getnext.phpt21 echo "Single OID in array\n";
22 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
24 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $t…
30 Single OID in array
31 array(1) {
36 array(2) {
H A Dsnmpgetnext.phpt21 echo "Single OID in array\n";
22 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
24 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $tim…
30 Single OID in array
31 array(1) {
36 array(2) {
/PHP-8.1/ext/pcntl/tests/
H A D003.phpt14 pcntl_sigprocmask(SIG_SETMASK, array(), $prev);
16 pcntl_sigprocmask(SIG_BLOCK, array(SIGCHLD,SIGTERM), $old);
18 pcntl_sigprocmask(SIG_BLOCK, array(SIGINT), $old);
20 pcntl_sigprocmask(SIG_UNBLOCK, array(SIGINT), $old);
22 pcntl_sigprocmask(SIG_SETMASK, array(SIGINT), $old);
24 pcntl_sigprocmask(SIG_SETMASK, array(), $old);
/PHP-8.1/Zend/tests/named_params/
H A Dbacktrace.phpt21 array(1) {
23 array(4) {
31 array(4) {
44 array(1) {
46 array(4) {
54 array(4) {
/PHP-8.1/Zend/tests/array_unpack/
H A Dref1.phpt7 $b = [&$a]; //array (0 => (refcount=2, is_ref=1)=1)
9 unset($a); //array (0 => (refcount=1, is_ref=1)=1)
11 var_dump([...$b]); //array (0 => (refcount=0, is_ref=0)=1)
15 array(1) {
/PHP-8.1/Zend/tests/arg_unpack/
H A Dinternal.phpt15 array(3) {
17 array(3) {
26 array(3) {
35 array(3) {
/PHP-8.1/ext/opcache/tests/opt/
H A Dinference_007.phpt2 Type inference 007: Incorrect array key type inference
11 s($array[]);
12 $array = array(""=>"");
/PHP-8.1/ext/soap/tests/schema/
H A Dschema060.phpt2 SOAP XML Schema 60: SOAP 1.2 Multidimensional array (literal encoding)
19 test_schema($schema,'type="tns:testType"',array(array(123),array(123.5)),'rpc','literal');
25 array(2) {
27 array(1) {
32 array(1) {
H A Dschema061.phpt2 SOAP XML Schema 61: SOAP 1.2 Multidimensional array (second way, literal encoding)
21 test_schema($schema,'type="tns:testType"',array(array(123),array(123.5)),'rpc','literal');
27 array(2) {
29 array(1) {
34 array(1) {

Completed in 46 milliseconds

1...<<41424344454647484950>>...269