Home
last modified time | relevance | path

Searched refs:o1 (Results 1 – 25 of 29) sorted by relevance

12

/PHP-8.2/ext/spl/tests/
H A DSplObjectStorage_getHash.phpt6 $o1 = new Stdclass;
8 $s[$o1] = "some_value\n";
9 echo $s->offsetGet($o1);
20 $s1[$o1] = "foo";
46 $s3[$o1] = $o1;
47 var_dump($s3[$o1]);
50 var_dump($s3[$o1] === $s3[$o2]);
H A Dbug45826.phpt19 $o1 = unserialize($s1);
21 var_dump($o1[0] === $o1[1]);
22 var_dump($o1[2] === $o1);
32 unset($o,$x,$s1,$s2,$o1,$o2);
57 $o1 = unserialize($s1);
59 var_dump($o1[0] === $o1[1]);
60 var_dump($o1[2] === $o1);
H A DSplObjectStorage_coalesce.phpt8 $o1 = new Stdclass;
10 var_dump($s[$o1] ?? 'default');
11 var_dump($s[$o1] ??= $i);
12 var_dump($s[$o1] ??= null);
13 var_dump($s[$o1] ??= false);
14 var_dump($s[$o1] ?? $i);
15 var_dump(isset($s[$o1]));
16 var_dump(empty($s[$o1]));
41 $a = &$s[$o1];
H A DSplObjectStorage_offsetGet.phpt9 $o1 = new stdClass();
10 $s[$o1] = 'some_value';
12 echo $s->offsetGet($o1);
H A Dbug49263.phpt5 $o1 = 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 Dbug53144.phpt6 $o1 = new StdClass;
10 $b[$o1] = "bar";
H A DSplObjectStorage_offsetGet_missing_object.phpt9 $o1 = new stdClass();
12 $s->offsetGet($o1);
H A Dobserver_008.phpt7 $o1 = new StdClass;
12 $a->attach($o1);
/PHP-8.2/ext/session/tests/
H A D019.phpt31 $_SESSION["o1"] = new TFoo(42);
32 $_SESSION["o2"] =& $_SESSION["o1"];
36 unset($_SESSION["o1"]);
43 $_SESSION["o1"]->inc();
52 ["o1"]=>
64 ["o1"]=>
/PHP-8.2/tests/classes/
H A Dclone_004.phpt24 $o1 = new test;
25 $o1->a = array(1,2);
26 $o1->b = array(3,4);
27 $o1->show();
30 $o2 = clone $o1;
H A Ddestructor_and_references.phpt11 $o1 = new test1;
18 $r1 = &$o1;
/PHP-8.2/ext/simplexml/tests/
H A Dbug63575.phpt9 $o1 = new SimpleXMlElement($xml);
10 $o2 = clone $o1;
15 echo $o1->asXML(), PHP_EOL, $o2->asXML();
/PHP-8.2/Zend/tests/
H A Dgc_044.phpt6 $o1 = new stdClass;
9 $o = $o1;
H A Dbug52614.phpt9 public $o1;
26 return $this->o1;
60 var_dump($foo->o1);
/PHP-8.2/ext/standard/tests/general_functions/
H A Dvar_export_basic8.phpt6 $o1 = new stdclass;
7 $o1->p = '22';
11 $o2->x = $o1;
/PHP-8.2/ext/intl/tests/
H A Dbreakiter_factories_basic.phpt17 $o1 = IntlBreakIterator::$method('ja');
20 var_dump($o1 == $o2 && $o2 == $o3);
/PHP-8.2/tests/lang/
H A Dengine_assignExecutionOrder_001.phpt32 $ob->o1 = new stdClass;
33 $ob->o1->o2 = new stdClass;
34 $ob->o1->o2->${f()} = g();
103 ["o1"]=>
/PHP-8.2/ext/openssl/tests/
H A Dopenssl_csr_new_array_dn_entry.phpt19 "organizationName" => ["o1" => "PHP", "o2" => "PHP Foundation"],
/PHP-8.2/Zend/
H A Dzend_object_handlers.c1703 if (Z_TYPE_P(o1) != Z_TYPE_P(o2)) { in zend_std_compare_objects()
1709 if (Z_TYPE_P(o1) == IS_OBJECT) { in zend_std_compare_objects()
1710 object = o1; in zend_std_compare_objects()
1715 value = o1; in zend_std_compare_objects()
1740 zobj1 = Z_OBJ_P(o1); in zend_std_compare_objects()
1762 if (UNEXPECTED(Z_IS_RECURSIVE_P(o1))) { in zend_std_compare_objects()
1765 Z_PROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1785 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1789 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1794 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
[all …]
H A Dzend_object_handlers.h226 ZEND_API int zend_std_compare_objects(zval *o1, zval *o2);
234 ZEND_API int zend_objects_not_comparable(zval *o1, zval *o2);
H A Dzend_closures.c422 static int zend_closure_compare(zval *o1, zval *o2) /* {{{ */ in zend_closure_compare() argument
424 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in zend_closure_compare()
426 zend_closure *lhs = (zend_closure*) Z_OBJ_P(o1); in zend_closure_compare()
/PHP-8.2/ext/opcache/jit/ir/
H A Dir_emit.c259 int32_t o1; in ir_is_same_mem_var() local
268 o1 = ival1->stack_spill_pos; in ir_is_same_mem_var()
269 IR_ASSERT(o1 != -1); in ir_is_same_mem_var()
270 return o1 == offset; in ir_is_same_mem_var()
/PHP-8.2/ext/spl/
H A Dspl_observer.c383 static int spl_object_storage_compare_objects(zval *o1, zval *o2) /* {{{ */ in spl_object_storage_compare_objects() argument
388 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in spl_object_storage_compare_objects()
390 zo1 = (zend_object *)Z_OBJ_P(o1); in spl_object_storage_compare_objects()
397 …return zend_hash_compare(&(Z_SPLOBJSTORAGE_P(o1))->storage, &(Z_SPLOBJSTORAGE_P(o2))->storage, (co… in spl_object_storage_compare_objects()
H A Dspl_array.c881 static int spl_array_compare_objects(zval *o1, zval *o2) /* {{{ */ in spl_array_compare_objects() argument
889 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in spl_array_compare_objects()
891 intern1 = Z_SPLARRAY_P(o1); in spl_array_compare_objects()
900 result = zend_std_compare_objects(o1, o2); in spl_array_compare_objects()
/PHP-8.2/ext/date/
H A Dphp_date.c1891 php_date_obj *o1; in date_object_compare_date() local
1896 o1 = Z_PHPDATE_P(d1); in date_object_compare_date()
1899 if (!o1->time || !o2->time) { in date_object_compare_date()
1903 if (!o1->time->sse_uptodate) { in date_object_compare_date()
1904 timelib_update_ts(o1->time, o1->time->tz_info); in date_object_compare_date()
2032 php_timezone_obj *o1, *o2; in date_object_compare_timezone() local
2036 o1 = Z_PHPTIMEZONE_P(tz1); in date_object_compare_timezone()
2039 if (!o1->initialized || !o2->initialized) { in date_object_compare_timezone()
2044 if (o1->type != o2->type) { in date_object_compare_timezone()
2049 switch (o1->type) { in date_object_compare_timezone()
[all …]

Completed in 72 milliseconds

12