Home
last modified time | relevance | path

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

12

/PHP-8.3/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.3/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.3/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.3/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.3/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.3/ext/standard/tests/general_functions/
H A Dvar_export_basic8.phpt6 $o1 = new stdclass;
7 $o1->p = '22';
11 $o2->x = $o1;
/PHP-8.3/ext/intl/tests/
H A Dbreakiter_factories_basic.phpt17 $o1 = IntlBreakIterator::$method('ja');
20 var_dump($o1 == $o2 && $o2 == $o3);
/PHP-8.3/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.3/Zend/
H A Dzend_object_handlers.c1704 if (Z_TYPE_P(o1) != Z_TYPE_P(o2)) { in zend_std_compare_objects()
1710 if (Z_TYPE_P(o1) == IS_OBJECT) { in zend_std_compare_objects()
1711 object = o1; in zend_std_compare_objects()
1716 value = o1; in zend_std_compare_objects()
1741 zobj1 = Z_OBJ_P(o1); in zend_std_compare_objects()
1763 if (UNEXPECTED(Z_IS_RECURSIVE_P(o1))) { in zend_std_compare_objects()
1766 Z_PROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1786 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1790 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1795 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()
H A Dzend_operators.c3392 ZEND_API int ZEND_FASTCALL zend_compare_objects(zval *o1, zval *o2) /* {{{ */ argument
3394 if (Z_OBJ_P(o1) == Z_OBJ_P(o2)) {
3398 if (Z_OBJ_HT_P(o1)->compare == NULL) {
3401 return Z_OBJ_HT_P(o1)->compare(o1, o2);
/PHP-8.3/ext/date/
H A Dphp_date.c1886 php_date_obj *o1; in date_object_compare_date() local
1891 o1 = Z_PHPDATE_P(d1); in date_object_compare_date()
1894 if (!o1->time || !o2->time) { in date_object_compare_date()
1898 if (!o1->time->sse_uptodate) { in date_object_compare_date()
1899 timelib_update_ts(o1->time, o1->time->tz_info); in date_object_compare_date()
2027 php_timezone_obj *o1, *o2; in date_object_compare_timezone() local
2031 o1 = Z_PHPTIMEZONE_P(tz1); in date_object_compare_timezone()
2034 if (!o1->initialized || !o2->initialized) { in date_object_compare_timezone()
2039 if (o1->type != o2->type) { in date_object_compare_timezone()
2044 switch (o1->type) { in date_object_compare_timezone()
[all …]
/PHP-8.3/ext/spl/
H A Dspl_observer.c387 static int spl_object_storage_compare_objects(zval *o1, zval *o2) /* {{{ */ in spl_object_storage_compare_objects() argument
392 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in spl_object_storage_compare_objects()
394 zo1 = (zend_object *)Z_OBJ_P(o1); in spl_object_storage_compare_objects()
401 …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.c884 static int spl_array_compare_objects(zval *o1, zval *o2) /* {{{ */ in spl_array_compare_objects() argument
892 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in spl_array_compare_objects()
894 intern1 = Z_SPLARRAY_P(o1); in spl_array_compare_objects()
903 result = zend_std_compare_objects(o1, o2); in spl_array_compare_objects()
/PHP-8.3/ext/opcache/jit/dynasm/
H A Dminilua.c267 …(L,obj1,obj2){const TValue*o2=(obj2);TValue*o1=(obj1);o1->value=o2->value;o1->tt=o2->tt;checkliven…
598 #define equalobj(L,o1,o2)(ttype(o1)==ttype(o2)&&luaV_equalval(L,o1,o2)) argument
3511 int o1=luaK_exp2RK(fs,e1);
3512 if(o1>o2){
3526 int o1=luaK_exp2RK(fs,e1);
3532 temp=o1;o1=o2;o2=temp;
5442 StkId o1=index2adr(L,index1);
5445 :luaO_rawequalObj(o1,o2);
5448 StkId o1,o2;
5450 o1=index2adr(L,index1);
[all …]

Completed in 99 milliseconds

12