Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 25 of 275) sorted by path

1234567891011

/PHP-7.4/
H A D.gdbinit115 printf "array(%d)[%p]", $zvalue->value.arr->nNumOfElements, $zvalue
195 ____print_ht $zvalue->value.arr 1
/PHP-7.4/Zend/tests/
H A D028.phpt6 $arr = array('strtoupper', 'strtolower');
10 var_dump($arr[0]('foo') == 'FOO');
11 var_dump($arr[$k]('foo') == 'FOO');
12 var_dump($arr[++$k]('FOO') == 'foo');
13 var_dump($arr[++$k]('FOO') == 'foo');
H A D029.phpt6 $arr = array(new stdClass);
8 $arr[0]->a = clone $arr[0];
9 var_dump($arr);
11 $arr[0]->b = new $arr[0];
12 var_dump($arr);
14 $arr[0]->c = $arr[0]->a;
15 var_dump($arr);
H A D031.phpt7 test($arr[]);
H A D032.phpt7 test($arr[]);
H A D033.phpt6 $arr[1][2][3][4][5];
8 echo $arr[1][2][3][4][5];
10 $arr[1][2][3][4][5]->foo;
12 $arr[1][2][3][4][5]->foo = 1;
14 $arr[][] = 2;
16 $arr[][]->bar = 2;
20 Notice: Undefined variable: arr in %s on line %d
32 Notice: Undefined variable: arr in %s on line %d
44 Notice: Undefined variable: arr in %s on line %d
H A Danonymous_func_002.phpt8 $arr = array(create_function('', 'return $GLOBALS["arr"];'), 2);
10 var_dump($arr[$test(1)]);
11 var_dump($arr[$test(0)]() == $arr);
H A Dbug28072.phpt11 static $arr = array(
17 print_r($arr);
22 static $arr = array(
28 print_r($arr);
H A Dbug32993.phpt7 public $arr = array();
9 public function rewind() { return reset($this->arr); }
11 public function key() { return key($this->arr); }
12 public function next() { return next($this->arr); }
13 public function valid() { return (current($this->arr) !== false); }
17 $t->arr = array(1, 2, 3);
H A Dbug33257.phpt8 protected static $arr = array("a", "b", "c");
10 return self::$arr;
H A Dbug34064.phpt2 Bug #34064 (arr[] as param to function in class gives invalid opcode)
H A Dbug34310.phpt2 Bug #34310 (foreach($arr as $c->d => $x) crashes)
13 $arr = array (1 => 'a', 2 => 'b', 3 => 'c');
16 foreach($arr as $x => $c->d)
22 foreach($arr as $c->d => $x)
H A Dbug34467.phpt6 private $arr;
9 $this->arr[$key] = $value;
13 return $this->arr[$key];
H A Dbug34518.phpt5 $arr = array(1,2,3);
6 $arr["foo"] = array(4,5,6);
7 $copy = $arr;
10 print_r($arr);
H A Dbug39449.phpt16 $a->arr = array('a','b','c');
18 $b = &$a->arr;
21 foreach ($a->arr as $k => $v) {
25 $a->arr[]='d';
27 foreach ($a->arr as $k => $v) {
H A Dbug39944.phpt33 function addToArray(&$arr, $strToAdd) {
34 $arr[] = $strToAdd;
50 protected $arr;
57 if (!$this->arr)
58 $this->arr = array();
59 return $this->arr;
62 private function addToArray(&$arr, $strToAdd) {
63 $arr[] = $strToAdd;
H A Dbug39990.phpt12 foreach($obj->arr as $value)
H A Dbug40509.phpt7 global $arr;
9 $c = $arr["v"];
13 $arr["v"] = array("a");
15 var_dump(key($arr["v"]));
17 var_dump(key($arr["v"]));
18 foreach ($arr["v"] as $k => $v) {
21 var_dump(key($arr["v"]));
H A Dbug43201.phpt16 $c->arr[0]["k"] = 1;
17 $c->arr[0]["k2"] = $ref;
20 $c->arr[$cnt]["k2"] = $ref;
25 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
27 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
33 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
37 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
41 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
45 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
49 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
[all …]
H A Dbug44899.phpt21 $arr = array('foo' => '');
23 $myclass = new myclass($arr) ;
H A Dbug44899_2.phpt26 $arr = array('foo' => '');
28 $myclass = new myclass($arr) ;
H A Dbug47836.phpt6 $arr[PHP_INT_MAX] = 1;
7 $arr[] = 2;
9 var_dump($arr);
/PHP-7.4/Zend/tests/arg_unpack/
H A Dby_ref_separation.phpt12 $arr = [1, 2];
13 $arr[] = 3;
14 $arr2 = $arr;
15 inc(...$arr);
16 var_dump($arr);
/PHP-7.4/Zend/tests/array_unpack/
H A Dalready_occupied.phpt8 $arr = [1, 2, 3];
9 var_dump([PHP_INT_MAX-1 => 0, ...$arr]);
H A Dundef_var.phpt6 var_dump([...$arr]);
9 Notice: Undefined variable: arr in %s on line %d

Completed in 24 milliseconds

1234567891011