Home
last modified time | relevance | path

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

12

/PHP-8.1/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_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.1/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.1/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.1/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.1/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.1/ext/standard/tests/general_functions/
H A Dvar_export_basic8.phpt6 $o1 = new stdclass;
7 $o1->p = '22';
11 $o2->x = $o1;
/PHP-8.1/ext/intl/tests/
H A Dbreakiter_factories_basic.phpt17 $o1 = IntlBreakIterator::$method('ja');
20 var_dump($o1 == $o2 && $o2 == $o3);
/PHP-8.1/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.1/Zend/
H A Dzend_object_handlers.c1606 if (Z_TYPE_P(o1) != Z_TYPE_P(o2)) { in zend_std_compare_objects()
1609 if (Z_TYPE_P(o1) == IS_OBJECT) { in zend_std_compare_objects()
1613 if (Z_OBJ_HT_P(o1)->cast_object(Z_OBJ_P(o1), &casted, target_type) == FAILURE) { in zend_std_compare_objects()
1632 zend_uchar target_type = (Z_TYPE_P(o1) == IS_FALSE || Z_TYPE_P(o1) == IS_TRUE) in zend_std_compare_objects()
1633 ? _IS_BOOL : Z_TYPE_P(o1); in zend_std_compare_objects()
1655 zobj1 = Z_OBJ_P(o1); in zend_std_compare_objects()
1680 Z_PROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1700 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1704 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1709 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
[all …]
H A Dzend_object_handlers.h224 ZEND_API int zend_std_compare_objects(zval *o1, zval *o2);
232 ZEND_API int zend_objects_not_comparable(zval *o1, zval *o2);
H A Dzend_closures.c389 static int zend_closure_compare(zval *o1, zval *o2) /* {{{ */ in zend_closure_compare() argument
391 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in zend_closure_compare()
393 zend_closure *lhs = (zend_closure*) Z_OBJ_P(o1); in zend_closure_compare()
H A Dzend_operators.c3059 ZEND_API int ZEND_FASTCALL zend_compare_objects(zval *o1, zval *o2) /* {{{ */ argument
3061 if (Z_OBJ_P(o1) == Z_OBJ_P(o2)) {
3065 if (Z_OBJ_HT_P(o1)->compare == NULL) {
3068 return Z_OBJ_HT_P(o1)->compare(o1, o2);
H A Dzend_operators.h448 ZEND_API int ZEND_FASTCALL zend_compare_objects(zval *o1, zval *o2);
/PHP-8.1/ext/date/
H A Dphp_date.c1789 php_date_obj *o1; in date_object_compare_date() local
1794 o1 = Z_PHPDATE_P(d1); in date_object_compare_date()
1797 if (!o1->time || !o2->time) { in date_object_compare_date()
1801 if (!o1->time->sse_uptodate) { in date_object_compare_date()
1802 timelib_update_ts(o1->time, o1->time->tz_info); in date_object_compare_date()
1925 php_timezone_obj *o1, *o2; in date_object_compare_timezone() local
1929 o1 = Z_PHPTIMEZONE_P(tz1); in date_object_compare_timezone()
1932 if (!o1->initialized || !o2->initialized) { in date_object_compare_timezone()
1937 if (o1->type != o2->type) { in date_object_compare_timezone()
1942 switch (o1->type) { in date_object_compare_timezone()
[all …]
/PHP-8.1/ext/spl/
H A Dspl_observer.c306 static int spl_object_storage_compare_objects(zval *o1, zval *o2) /* {{{ */ in spl_object_storage_compare_objects() argument
311 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in spl_object_storage_compare_objects()
313 zo1 = (zend_object *)Z_OBJ_P(o1); in spl_object_storage_compare_objects()
320 …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.c921 static int spl_array_compare_objects(zval *o1, zval *o2) /* {{{ */ in spl_array_compare_objects() argument
929 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in spl_array_compare_objects()
931 intern1 = Z_SPLARRAY_P(o1); in spl_array_compare_objects()
940 result = zend_std_compare_objects(o1, o2); in spl_array_compare_objects()
/PHP-8.1/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 82 milliseconds

12