Home
last modified time | relevance | path

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

/PHP-8.0/ext/spl/tests/
H A DSplObjectStorage_getHash.phpt6 $o1 = new Stdclass;
8 $s[$o1] = "some_value\n";
9 echo $s->offsetGet($o1);
19 $s1[$o1] = "foo";
45 $s3[$o1] = $o1;
46 var_dump($s3[$o1]);
49 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.0/ext/session/tests/
H A D019.phpt29 $_SESSION["o1"] = new TFoo(42);
30 $_SESSION["o2"] =& $_SESSION["o1"];
34 unset($_SESSION["o1"]);
41 $_SESSION["o1"]->inc();
50 ["o1"]=>
62 ["o1"]=>
/PHP-8.0/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.0/ext/simplexml/tests/
H A Dbug63575.phpt11 $o1 = new SimpleXMlElement($xml);
12 $o2 = clone $o1;
17 echo $o1->asXML(), PHP_EOL, $o2->asXML();
/PHP-8.0/ext/standard/tests/general_functions/
H A Dvar_export_basic8.phpt6 $o1 = new stdclass;
7 $o1->p = '22';
11 $o2->x = $o1;
/PHP-8.0/Zend/tests/
H A Dbug52614.phpt9 public $o1;
26 return $this->o1;
60 var_dump($foo->o1);
/PHP-8.0/ext/intl/tests/
H A Dbreakiter_factories_basic.phpt19 $o1 = IntlBreakIterator::$method('ja');
22 var_dump($o1 == $o2 && $o2 == $o3);
/PHP-8.0/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.0/Zend/
H A Dzend_object_handlers.c1496 if (Z_TYPE_P(o1) != Z_TYPE_P(o2)) { in zend_std_compare_objects()
1499 if (Z_TYPE_P(o1) == IS_OBJECT) { in zend_std_compare_objects()
1503 if (Z_OBJ_HT_P(o1)->cast_object(Z_OBJ_P(o1), &casted, target_type) == FAILURE) { in zend_std_compare_objects()
1522 zend_uchar target_type = (Z_TYPE_P(o1) == IS_FALSE || Z_TYPE_P(o1) == IS_TRUE) in zend_std_compare_objects()
1523 ? _IS_BOOL : Z_TYPE_P(o1); in zend_std_compare_objects()
1545 zobj1 = Z_OBJ_P(o1); in zend_std_compare_objects()
1569 Z_PROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1585 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1589 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
1594 Z_UNPROTECT_RECURSION_P(o1); in zend_std_compare_objects()
[all …]
H A Dzend_object_handlers.h212 ZEND_API int zend_std_compare_objects(zval *o1, zval *o2);
218 ZEND_API int zend_objects_not_comparable(zval *o1, zval *o2);
H A Dzend_closures.c388 static int zend_closure_compare(zval *o1, zval *o2) /* {{{ */ in zend_closure_compare() argument
390 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in zend_closure_compare()
391 return Z_OBJ_P(o1) != Z_OBJ_P(o2); in zend_closure_compare()
H A Dzend_operators.c2950 ZEND_API int ZEND_FASTCALL zend_compare_objects(zval *o1, zval *o2) /* {{{ */ argument
2952 if (Z_OBJ_P(o1) == Z_OBJ_P(o2)) {
2956 if (Z_OBJ_HT_P(o1)->compare == NULL) {
2959 return Z_OBJ_HT_P(o1)->compare(o1, o2);
H A Dzend_operators.h429 ZEND_API int ZEND_FASTCALL zend_compare_objects(zval *o1, zval *o2);
/PHP-8.0/ext/date/
H A Dphp_date.c1800 php_date_obj *o1; in date_object_compare_date() local
1805 o1 = Z_PHPDATE_P(d1); in date_object_compare_date()
1808 if (!o1->time || !o2->time) { in date_object_compare_date()
1812 if (!o1->time->sse_uptodate) { in date_object_compare_date()
1813 timelib_update_ts(o1->time, o1->time->tz_info); in date_object_compare_date()
1936 php_timezone_obj *o1, *o2; in date_object_compare_timezone() local
1940 o1 = Z_PHPTIMEZONE_P(tz1); in date_object_compare_timezone()
1943 if (!o1->initialized || !o2->initialized) { in date_object_compare_timezone()
1948 if (o1->type != o2->type) { in date_object_compare_timezone()
1953 switch (o1->type) { in date_object_compare_timezone()
[all …]
/PHP-8.0/ext/spl/
H A Dspl_observer.c304 static int spl_object_storage_compare_objects(zval *o1, zval *o2) /* {{{ */ in spl_object_storage_compare_objects() argument
309 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in spl_object_storage_compare_objects()
311 zo1 = (zend_object *)Z_OBJ_P(o1); in spl_object_storage_compare_objects()
318 …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.c918 static int spl_array_compare_objects(zval *o1, zval *o2) /* {{{ */ in spl_array_compare_objects() argument
926 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in spl_array_compare_objects()
928 intern1 = Z_SPLARRAY_P(o1); in spl_array_compare_objects()
937 result = zend_std_compare_objects(o1, o2); in spl_array_compare_objects()
/PHP-8.0/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 …]
/PHP-8.0/ext/ffi/
H A Dffi.c1683 static int zend_ffi_cdata_compare_objects(zval *o1, zval *o2) /* {{{ */ in zend_ffi_cdata_compare_objects() argument
1685 if (Z_TYPE_P(o1) == IS_OBJECT && Z_OBJCE_P(o1) == zend_ffi_cdata_ce && in zend_ffi_cdata_compare_objects()
1687 zend_ffi_cdata *cdata1 = (zend_ffi_cdata*)Z_OBJ_P(o1); in zend_ffi_cdata_compare_objects()
2179 static int zend_ffi_ctype_compare_objects(zval *o1, zval *o2) /* {{{ */ in zend_ffi_ctype_compare_objects() argument
2181 if (Z_TYPE_P(o1) == IS_OBJECT && Z_OBJCE_P(o1) == zend_ffi_ctype_ce && in zend_ffi_ctype_compare_objects()
2183 zend_ffi_ctype *ctype1 = (zend_ffi_ctype*)Z_OBJ_P(o1); in zend_ffi_ctype_compare_objects()

Completed in 101 milliseconds