Home
last modified time | relevance | path

Searched refs:obj (Results 26 – 50 of 502) sorted by path

12345678910>>...21

/PHP-7.3/Zend/tests/
H A Dbug64417.phpt29 class obj implements ArrayAccess {
33 $o = new obj;
H A Dbug65579.phpt20 $obj = new TestClass();
21 var_dump(get_class_methods($obj));
H A Dbug65911.phpt16 $obj = new B();
17 $obj->go();
H A Dbug65969.phpt5 $obj = new stdClass;
6 list($a,$b) = $obj->prop = [1,2];
H A Dbug67938.phpt20 $obj = new Test;
21 $obj->foo();
22 $obj->bar([]);
H A Dbug68118.phpt7 $obj = new stdClass;
8 $obj->test = 'meow';
H A Dbug68163.phpt6 $obj = (object) ['foo' => 'bar'];
9 var_dump($obj->$foo);
H A Dbug68191.phpt6 $obj = new stdClass;
8 $obj->prop1 = 'abc';
9 $obj->prop2 =& $obj->prop1;
10 $obj->prop2 .= 'xyz';
11 var_dump($obj->prop1);
13 $obj->prop3 = 1;
14 $obj->prop4 =& $obj->prop3;
15 ++$obj->prop4;
16 var_dump($obj->prop3);
H A Dbug68896.phpt21 $obj = new ArrayObject(["a" => 1]);
22 $obj["a"] .= "test";
23 var_dump($obj["a"]);
25 $obj = new A;
26 $obj["a"] = 1;
27 $obj["a"] .= "test";
28 var_dump($obj["a"]);
H A Dbug69989_3.phpt10 $obj = new stdClass;
11 $obj->gen = gen1($obj);
H A Dbug70262.phpt13 $obj = new Stdclass;
14 $obj->arr = $array; // make the refcount == 3;
15 return $obj;
H A Dbug70288.phpt11 function test(&$obj) {
12 var_dump($obj);
H A Dbug71266.phpt8 $obj = (object) $arr;
9 foreach ($obj as $val) {
11 $obj->bar = 42;
15 $obj = (object) $arr;
16 next($obj);
H A Dbug71818.phpt25 $obj = new MemoryLeak();
H A Dbug72543_5.phpt9 $obj = new stdClass;
10 $obj->prop = 1;
11 $ref =& $obj->prop;
12 var_dump($obj->prop + ($obj->prop = 2));
H A Dbug72813.phpt26 $obj = new Test;
27 $obj->b = $obj->b;
28 print_r($obj->getProperties());
H A Dbug73989.phpt11 $obj = $this;
12 $this->thing = function() use($obj) {};
23 $obj = new Cycle();
H A Dbug75420.1.phpt10 $obj = new Test;
12 var_dump($obj->$name ?? 12);
H A Dbug75420.10.phpt12 $obj = new Test;
15 var_dump($obj[$name] ?? 12);
H A Dbug75420.11.phpt12 $obj = new Test;
14 var_dump(empty($obj[$name]));
H A Dbug75420.12.phpt12 $obj = new Test;
15 var_dump(empty($obj[$name]));
H A Dbug75420.13.phpt6 public function offsetExists($x) { $GLOBALS["obj"] = 24; return true; }
12 $obj = new Test;
14 var_dump($obj[$name] ?? 12);
15 var_dump($obj);
H A Dbug75420.14.phpt6 public function offsetExists($x) { $GLOBALS["obj"] = 24; return true; }
12 $obj = new Test;
14 var_dump(empty($obj[$name]));
15 var_dump($obj);
H A Dbug75420.15.phpt12 $obj = new Test;
15 $obj[$name] = 1;
H A Dbug75420.16.phpt8 public function offsetSet($x, $y) { $GLOBALS["obj"] = 24; var_dump($this); }
12 $obj = new Test;
14 $obj[$name] = 1;
15 var_dump($obj);

Completed in 25 milliseconds

12345678910>>...21