Home
last modified time | relevance | path

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

12

/php-src/Zend/tests/lazy_objects/
H A Drealize_no_props.phpt11 function test(string $name, object $obj, object $obj2, object $obj3) {
17 var_dump((new ReflectionClass($obj2::class))->isUninitializedLazyObject($obj2));
18 var_dump($obj2);
29 $obj2 = new D();
30 $obj2->dynamic = 'value';
31 (new ReflectionClass($obj2))->resetAsLazyGhost($obj2, function ($obj2) {
39 test('Ghost', $obj, $obj2, $obj3);
46 $obj2 = new D();
47 $obj2->dynamic = 'value';
48 (new ReflectionClass($obj2))->resetAsLazyProxy($obj2, function ($obj2) {
[all …]
H A Dreset_as_lazy_real_instance.phpt15 $r->resetAsLazyProxy($obj1, function () use (&$obj2) {
16 $obj2 = new Obj('obj2');
17 return $obj2;
20 $r->resetAsLazyProxy($obj2, function () {
H A Dreset_as_lazy_initialized_proxy.phpt17 return new Obj('obj2');
39 string(4) "obj2"
H A Dinit_trigger_foreach_hooks.phpt67 $obj = $reflector->newLazyProxy(function ($obj) use (&$obj2, $reflector) {
69 return $obj2 = new C();
72 $reflector->resetAsLazyProxy($obj2, function () {
/php-src/Zend/tests/weakrefs/
H A Dweakmap_basic_map_behavior.phpt11 $obj2 = new stdClass;
12 $obj2->value = 2;
14 $map[$obj] = $obj2;
55 $map[$obj2] = 41;
56 $map[$obj2]++;
60 var_dump($map->offsetSet($obj2, 43));
61 var_dump($map->offsetGet($obj2));
62 var_dump($map->offsetExists($obj2));
64 var_dump($map->offsetUnset($obj2));
H A Dgh10043-010.phpt19 $obj2 = new Value();
20 $map[$obj2] = [$obj2, $map];
H A Dweakmap_iteration.phpt16 $obj2 = new stdClass;
19 $map[$obj2] = 2;
H A Dweakmap_object_reference.phpt8 $obj2 = &$obj;
/php-src/ext/date/tests/
H A DDateTime_compare_basic1.phpt23 $obj2 = new DateTimeExt1("2009-02-12 12:47:41 GMT");
29 var_dump($obj1 == $obj2);
32 var_dump($obj2 == $obj3);
33 var_dump($obj2 == $obj4);
40 var_dump($obj1 == $obj2);
45 date_modify($obj2, "+1 day");
48 var_dump($obj1 == $obj2);
/php-src/ext/standard/tests/serialize/
H A Dserialize_globals_var_refs.phpt7 $obj2 = new stdClass;
8 $obj2->obj = $obj;
12 var_dump($obj2);
H A Dbug70172_2.phpt15 class obj2 {
30 $exploit = 'a:2:{i:0;O:4:"obj2":1:{s:4:"ryat";C:3:"obj":'.strlen($inner).':{'.$inner.'}}i:1;a:1:{i:…
54 object(obj2)#%d (1) {
63 object(obj2)#%d (1) {
/php-src/tests/lang/
H A DforeachLoopObjects.006.phpt16 $obj2 = new stdclass;
17 $obj2->a = "new a";
18 $obj2->b = "new b";
19 $obj2->c = "new c";
20 $obj2->d = "new d";
21 $obj2->e = "new e";
22 $obj2->f = "new f";
28 $ref=$obj2;
H A Dcompare_objects_basic2.phpt15 $obj2 = new DateTime(("2009-02-12 12:47:41 GMT"));
17 var_dump($obj1 == $obj2);
H A Dcompare_objects_basic1.phpt28 $obj2 = new class2();
37 var_dump($obj1 == $obj2);
/php-src/ext/standard/tests/file/
H A Dreadlink_realpath_variation1-win32.phpt32 $obj2 = new object_temp("$name_prefix/readlink_realpath_variation1/home/../..///readlink_realpath_v…
39 var_dump( symlink($filename, $obj2->linkname) );
40 var_dump( readlink($obj2->linkname) );
41 var_dump( realpath($obj2->linkname) );
45 unlink($obj2->linkname);
52 var_dump( link($filename, $obj2->linkname) );
53 var_dump( readlink($obj2->linkname) ); // invalid because readlink doesn't work with hardlink
54 var_dump( realpath($obj2->linkname) );
58 unlink($obj2->linkname);
H A Dreadlink_realpath_variation1.phpt29 $obj2 = new object_temp("$name_prefix/readlink_realpath_variation1/home/../..///readlink_realpath_v…
36 var_dump( symlink($filename, $obj2->linkname) );
37 var_dump( readlink($obj2->linkname) );
38 var_dump( realpath($obj2->linkname) );
42 unlink($obj2->linkname);
49 var_dump( link($filename, $obj2->linkname) );
50 var_dump( readlink($obj2->linkname) ); // invalid because readlink doesn't work with hardlink
51 var_dump( realpath($obj2->linkname) );
55 unlink($obj2->linkname);
/php-src/ext/curl/tests/
H A Dcurlopt_private.phpt14 $obj2 = new stdClass;
15 curl_setopt($curl2, CURLOPT_PRIVATE, $obj2);
17 var_dump($obj2 === curl_getinfo($curl2, CURLINFO_PRIVATE));
/php-src/tests/classes/
H A Ddestructor_and_globals.phpt40 $obj2 = new counter;
41 $obj2->Show();
46 //counter::destroy($obj2);
/php-src/ext/spl/tests/
H A Dbug70959.phpt20 $obj2 = unserialize(serialize($obj));
21 var_dump($obj2->getTest());
H A Darray_025.phpt7 $obj2 = unserialize($s);
11 print_r($obj2);
/php-src/ext/session/tests/
H A Dbug79031.phpt43 'obj2' => new SerializableClass($testPropertyObj),
56 …ss":65:{a:1:{s:10:"sharedProp";O:8:"stdClass":1:{s:4:"name";s:4:"test";}}}obj2|C:17:"SerializableC…
67 ["obj2"]=>
/php-src/ext/json/tests/
H A Dbug61978.phpt34 $obj2 = new JsonTest2();
35 var_dump(json_encode($obj2, JSON_PARTIAL_OUTPUT_ON_ERROR));
/php-src/ext/reflection/tests/
H A Dnew_in_attributes.phpt23 $obj2 = $ra->newInstance();
25 var_dump($obj1->y !== $obj2->y);
/php-src/ext/standard/tests/general_functions/
H A Ddebug_zval_dump_o.phpt80 $obj2 = & $obj;
81 $obj3 = & $obj2;
95 $obj2->class_object1,
97 $obj2->class_object1->value4,
104 $obj = $int_var; //$obj is lost, $obj1,$obj2,$obj3,$obj4 = 500
106 debug_zval_dump($obj, $obj1, $obj2, $obj3);
/php-src/Zend/tests/
H A Dbug38220.phpt58 $obj2 = new A(2);
60 $obj2->func1();

Completed in 15 milliseconds

12