Searched refs:arr (Results 1 – 25 of 212) sorted by path
123456789
/PHP-5.5/ |
H A D | NEWS | 7276 - Fixed bug #42119 (array_push($arr,&$obj) doesn't work with 9388 - Fixed bug #34310 (foreach($arr as $c->d => $x) crashes). (Dmitry) 9421 - Fixed bug #34064 (arr[] as param to function in class gives invalid
|
H A D | README.PARAMETER_PARSING_API | 139 zval *arr; 141 &obj, &arr) == FAILURE) { 147 zval *arr; 149 &arr) == FAILURE) {
|
/PHP-5.5/Zend/tests/ |
H A D | 028.phpt | 6 $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 D | 029.phpt | 6 $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 D | 031.phpt | 7 test($arr[]);
|
H A D | 032.phpt | 7 test($arr[]);
|
H A D | 033.phpt | 6 $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; 21 Notice: Undefined variable: arr in %s on line %d 23 Notice: Undefined variable: arr in %s on line %d 25 Notice: Undefined variable: arr in %s on line %d
|
H A D | anonymous_func_002.phpt | 8 $arr = array(create_function('', 'return $GLOBALS["arr"];'), 2); 10 var_dump($arr[$test(1)]); 11 var_dump($arr[$test(0)]() == $arr);
|
H A D | bug28072.phpt | 11 static $arr = array( 17 print_r($arr); 22 static $arr = array( 28 print_r($arr);
|
H A D | bug32993.phpt | 7 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 D | bug33257.phpt | 8 protected static $arr = array("a", "b", "c"); 10 return self::$arr;
|
H A D | bug34064.phpt | 2 Bug #34064 (arr[] as param to function in class gives invalid opcode)
|
H A D | bug34310.phpt | 2 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 D | bug34467.phpt | 6 private $arr; 9 $this->arr[$key] = $value; 13 return $this->arr[$key];
|
H A D | bug34518.phpt | 5 $arr = array(1,2,3); 6 $arr["foo"] = array(4,5,6); 7 $copy = $arr; 10 print_r($arr);
|
H A D | bug39449.phpt | 16 $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 D | bug39944.phpt | 33 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 D | bug39990.phpt | 12 foreach($obj->arr as $value)
|
H A D | bug40509.phpt | 7 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 D | bug43201.phpt | 16 $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 D | bug44899.phpt | 21 $arr = array('foo' => ''); 23 $myclass = new myclass($arr) ;
|
H A D | bug44899_2.phpt | 26 $arr = array('foo' => ''); 28 $myclass = new myclass($arr) ;
|
H A D | bug47836.phpt | 6 $arr[PHP_INT_MAX] = 1; 7 $arr[] = 2; 9 var_dump($arr);
|
H A D | bug50255.phpt | 6 $arr = array('foo' => 'bar'); 9 var_dump(isset($arr->foo)); 10 var_dump(isset($arr->bar)); 11 var_dump(isset($arr['foo'])); 12 var_dump(isset($arr['bar'])); 14 var_dump(empty($arr->foo)); 15 var_dump(empty($arr->bar)); 16 var_dump(empty($arr['foo'])); 17 var_dump(empty($arr['bar']));
|
H A D | bug60169.phpt | 6 $arr = array("test"); 7 list($a,$b) = is_array($arr)? $arr : $arr; 8 list($c,$d) = is_array($arr)?: NULL;
|
Completed in 86 milliseconds
123456789