/php-src/ext/spl/tests/ |
H A D | bug45826.phpt | 24 $o2 = new ArrayObject(); 25 $o2->unserialize($s2); 27 var_dump($o2[0] === $o2[1]); 28 var_dump($o2[2] !== $o2); 29 var_dump($o2[2][2] === $o2[2]); 32 unset($o,$x,$s1,$s2,$o1,$o2); 62 $o2 = new ArrayObject2(); 63 $o2->__unserialize($s2); 65 var_dump($o2[0] === $o2[1]); 66 var_dump($o2[2] !== $o2); [all …]
|
H A D | bug77298.phpt | 6 $o2 = unserialize(serialize($o)); 7 $o2[1]=123; 8 var_dump($o2);
|
H A D | observer_008.phpt | 8 $o2 = new StdClass; 13 $a->attach($o2); 16 $b->attach($o2);
|
/php-src/ext/spl/tests/SplObjectStorage/ |
H A D | SplObjectStorage_coalesce.phpt | 9 $o2 = new Stdclass; 17 echo "o2\n"; 18 var_dump(isset($s[$o2])); 19 var_dump(empty($s[$o2])); 20 $s[$o2] = null; 23 var_dump(isset($s[$o2])); 24 var_dump(empty($s[$o2])); 27 $s[$o2] = false; 28 var_dump(isset($s[$o2])); 29 var_dump(empty($s[$o2])); [all …]
|
H A D | bug49263.phpt | 6 $o2 = new stdClass; 10 $s->attach($o1, array('prev' => 2, 'next' => $o2)); 11 $s->attach($o2, array('prev' => $o1)); 14 unset($s,$o1,$o2);
|
H A D | SplObjectStorage_getHash.phpt | 28 $o2 = new stdClass(); 43 $instance[$o2] = $o2; 44 var_dump($instance[$o1] === $instance[$o2]);
|
H A D | bug53144.phpt | 7 $o2 = new StdClass; 11 $b[$o2] = "baz";
|
/php-src/ext/standard/tests/general_functions/ |
H A D | var_export_basic8.phpt | 8 $o2 = new stdclass; 9 $o2->a = 1; 10 $o2->b = array('k'=>2); 11 $o2->x = $o1; 12 var_export($o2); 20 $b = array('foo' => $a, 'bar' => $o2);
|
/php-src/ext/session/tests/ |
H A D | 019.phpt | 32 $_SESSION["o2"] =& $_SESSION["o1"]; 37 unset($_SESSION["o2"]); 44 $_SESSION["o2"]->inc(); 57 ["o2"]=> 69 ["o2"]=>
|
/php-src/tests/classes/ |
H A D | clone_004.phpt | 30 $o2 = clone $o1; 31 $o2->show(); 34 $o2->a = 5; 35 $o2->b = 6; 36 $o2->show();
|
H A D | destructor_and_references.phpt | 12 $o2 = new test2;
|
/php-src/Zend/tests/gc/ |
H A D | gc_044.phpt | 7 $o2 = new stdClass; 8 $a = ['prop' => $o2]; 10 $o2->a = (object) $a;
|
/php-src/ext/simplexml/tests/ |
H A D | bug63575.phpt | 10 $o2 = clone $o1; 12 $r = current($o2->xpath('/a')); 15 echo $o1->asXML(), PHP_EOL, $o2->asXML();
|
/php-src/ext/intl/tests/ |
H A D | breakiter_factories_basic.phpt | 18 $o2 = IntlBreakIterator::$method(NULL); 20 var_dump($o1 == $o2 && $o2 == $o3);
|
/php-src/Zend/tests/ |
H A D | bug52614.phpt | 10 public $o2; 30 $this->o2 = new stdClass; 31 return $this->o2; 63 var_dump($foo->o2);
|
/php-src/ext/standard/tests/array/sort/ |
H A D | asort_basic.phpt | 19 "O" => "Orange", "O1" => "Orange1", "o2" => "orange2", "O3" => "Orange3", "o20" => "orange20", 90 ["o2"]=> 124 ["o2"]=> 158 ["o2"]=> 177 ["o2"]=> 200 ["o2"]=> 219 ["o2"]=>
|
H A D | krsort_basic.phpt | 20 "O" => "Orange", "O1" => "Orange1", "o2" => "orange2", "O3" => "Orange3", "o20" => "orange20", 81 ["o2"]=> 115 ["o2"]=> 149 ["o2"]=> 172 ["o2"]=> 191 ["o2"]=> 214 ["o2"]=>
|
H A D | arsort_basic.phpt | 19 "O" => "Orange", "O1" => "Orange1", "o2" => "orange2", "O3" => "Orange3", "o20" => "orange20", 80 ["o2"]=> 114 ["o2"]=> 148 ["o2"]=> 171 ["o2"]=> 190 ["o2"]=> 213 ["o2"]=>
|
H A D | ksort_basic.phpt | 18 "O" => "Orange", "O1" => "Orange1", "o2" => "orange2", "O3" => "Orange3", "o20" => "orange20", 89 ["o2"]=> 123 ["o2"]=> 157 ["o2"]=> 176 ["o2"]=> 199 ["o2"]=> 218 ["o2"]=>
|
H A D | rsort_basic.phpt | 14 "O" => "Orange", "O1" => "Orange1", "o2" => "orange2", "O3" => "Orange3", "o20" => "orange20",
|
H A D | sort_basic.phpt | 19 "O" => "Orange", "O1" => "Orange1", "o2" => "orange2", "O3" => "Orange3", "o20" => "orange20",
|
/php-src/tests/lang/ |
H A D | engine_assignExecutionOrder_001.phpt | 33 $ob->o1->o2 = new stdClass; 34 $ob->o1->o2->${f()} = g(); 105 ["o2"]=>
|
/php-src/ext/openssl/tests/ |
H A D | openssl_csr_new_array_dn_entry.phpt | 19 "organizationName" => ["o1" => "PHP", "o2" => "PHP Foundation"],
|
/php-src/Zend/ |
H A D | zend_object_handlers.h | 271 ZEND_API int zend_std_compare_objects(zval *o1, zval *o2); 305 ZEND_API int zend_objects_not_comparable(zval *o1, zval *o2);
|
/php-src/ext/spl/ |
H A D | spl_observer.c | 381 static int spl_object_storage_compare_objects(zval *o1, zval *o2) /* {{{ */ in spl_object_storage_compare_objects() argument 386 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in spl_object_storage_compare_objects() 389 zo2 = (zend_object *)Z_OBJ_P(o2); in spl_object_storage_compare_objects() 395 …return zend_hash_compare(&(Z_SPLOBJSTORAGE_P(o1))->storage, &(Z_SPLOBJSTORAGE_P(o2))->storage, (co… in spl_object_storage_compare_objects()
|