/php-src/Zend/tests/lazy_objects/ |
H A D | realize_no_props.phpt | 11 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 D | reset_as_lazy_real_instance.phpt | 15 $r->resetAsLazyProxy($obj1, function () use (&$obj2) { 16 $obj2 = new Obj('obj2'); 17 return $obj2; 20 $r->resetAsLazyProxy($obj2, function () {
|
H A D | reset_as_lazy_initialized_proxy.phpt | 17 return new Obj('obj2'); 39 string(4) "obj2"
|
H A D | init_trigger_foreach_hooks.phpt | 67 $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 D | weakmap_basic_map_behavior.phpt | 11 $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 D | gh10043-010.phpt | 19 $obj2 = new Value(); 20 $map[$obj2] = [$obj2, $map];
|
H A D | weakmap_iteration.phpt | 16 $obj2 = new stdClass; 19 $map[$obj2] = 2;
|
H A D | weakmap_object_reference.phpt | 8 $obj2 = &$obj;
|
/php-src/ext/date/tests/ |
H A D | DateTime_compare_basic1.phpt | 23 $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 D | serialize_globals_var_refs.phpt | 7 $obj2 = new stdClass; 8 $obj2->obj = $obj; 12 var_dump($obj2);
|
H A D | bug70172_2.phpt | 15 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 D | foreachLoopObjects.006.phpt | 16 $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 D | compare_objects_basic2.phpt | 15 $obj2 = new DateTime(("2009-02-12 12:47:41 GMT")); 17 var_dump($obj1 == $obj2);
|
H A D | compare_objects_basic1.phpt | 28 $obj2 = new class2(); 37 var_dump($obj1 == $obj2);
|
/php-src/ext/standard/tests/file/ |
H A D | readlink_realpath_variation1-win32.phpt | 32 $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 D | readlink_realpath_variation1.phpt | 29 $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 D | curlopt_private.phpt | 14 $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 D | destructor_and_globals.phpt | 40 $obj2 = new counter; 41 $obj2->Show(); 46 //counter::destroy($obj2);
|
/php-src/ext/spl/tests/ |
H A D | bug70959.phpt | 20 $obj2 = unserialize(serialize($obj)); 21 var_dump($obj2->getTest());
|
H A D | array_025.phpt | 7 $obj2 = unserialize($s); 11 print_r($obj2);
|
/php-src/ext/session/tests/ |
H A D | bug79031.phpt | 43 '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 D | bug61978.phpt | 34 $obj2 = new JsonTest2(); 35 var_dump(json_encode($obj2, JSON_PARTIAL_OUTPUT_ON_ERROR));
|
/php-src/ext/reflection/tests/ |
H A D | new_in_attributes.phpt | 23 $obj2 = $ra->newInstance(); 25 var_dump($obj1->y !== $obj2->y);
|
/php-src/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_o.phpt | 80 $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 D | bug38220.phpt | 58 $obj2 = new A(2); 60 $obj2->func1();
|