/PHP-5.6/ext/spl/tests/ |
H A D | arrayObject_clone_basic3.phpt | 9 $wrappedObject = new C; 18 $innerArrayObject['new.iAO'] = 'new element added $innerArrayObject'; 19 $outerArrayObject['new.oAO'] = 'new element added to $outerArrayObject'; 20 $clonedOuterArrayObject['new.coAO'] = 'new element added to $clonedOuterArrayObject'; 32 ["new.iAO"]=> 34 ["new.oAO"]=> 46 ["new.iAO"]=> 48 ["new.oAO"]=> 63 ["new.iAO"]=> 65 ["new.oAO"]=> [all …]
|
H A D | arrayObject_clone_basic2.phpt | 7 $c = new C; 8 $ao1 = new ArrayObject($c); 9 $c->p1 = 'new prop added to c before clone'; 13 $c->p2 = 'new prop added to c after clone'; 14 $ao1['new.ao1'] = 'new element added to ao1'; 15 $ao2['new.ao2'] = 'new element added to ao2'; 24 ["new.ao1"]=> 25 string(24) "new element added to ao1" 34 ["new.ao1"]=> 35 string(24) "new element added to ao1" [all …]
|
H A D | arrayObject_clone_basic1.phpt | 6 $aa1 = new ArrayObject($a); 7 $a['p1'] = 'new element added to a before clone'; 11 $a['p2'] = 'new element added to a after clone'; 12 $aa1['new.aa1'] = 'new element added to aa1'; 13 $aa2['new.aa2'] = 'new element added to aa2'; 23 string(35) "new element added to a before clone" 25 string(34) "new element added to a after clone" 34 ["new.aa1"]=> 35 string(24) "new element added to aa1" 45 ["new.aa2"]=> [all …]
|
H A D | arrayObject_getFlags_basic1.phpt | 5 $ao = new ArrayObject(new ArrayObject(new stdClass)); 8 $ao = new ArrayObject(new ArrayObject(array(1,2,3)), ArrayObject::STD_PROP_LIST); 11 $ao = new ArrayObject(new ArrayIterator(new ArrayObject()), ArrayObject::ARRAY_AS_PROPS); 14 $ao = new ArrayObject(new ArrayObject(), ArrayObject::STD_PROP_LIST|ArrayObject::ARRAY_AS_PROPS);
|
H A D | iterator_011.phpt | 8 foreach(new LimitIterator(new InfiniteIterator(new EmptyIterator()), 0, 3) as $key=>$val) 15 $it = new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C', 3 => 'D')); 16 $it = new InfiniteIterator($it); 17 $it = new LimitIterator($it, 2, 5); 25 $it = new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C', 3 => 'D')); 26 $it = new LimitIterator($it, 1, 2); 27 $it = new InfiniteIterator($it); 28 $it = new LimitIterator($it, 2, 5);
|
/PHP-5.6/ext/date/tests/ |
H A D | DateTime_data-fall-type3-type3.inc | 24 $end = new DateTime('2010-11-06 18:38:28'); // prev, zt3 29 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 30 $start = new DateTime('2010-11-06 18:38:28'); // prev, zt3 36 $start = new DateTime('2010-11-06 18:38:28'); // prev, zt3 46 $end = new DateTime('2010-11-07 03:16:55'); // st, zt3 57 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 62 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 68 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 74 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 78 $end = new DateTime('2010-11-07 03:16:55'); // st, zt3 [all …]
|
H A D | DateTime_data-fall-type2-type3.inc | 24 $end = new DateTime('2010-11-06 18:38:28'); // prev, zt3 29 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 46 $end = new DateTime('2010-11-07 03:16:55'); // st, zt3 51 $end = new DateTime('2010-11-08 19:59:59'); // post, zt3 56 $end = new DateTime('2010-11-06 18:38:28'); // prev, zt3 78 $end = new DateTime('2010-11-07 03:16:55'); // st, zt3 93 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 110 $end = new DateTime('2010-11-07 03:16:55'); // st, zt3 125 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 142 $end = new DateTime('2010-11-07 03:16:55'); // st, zt3 [all …]
|
H A D | DateTime_data-fall-type3-type2.inc | 29 $end = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 30 $start = new DateTime('2010-11-06 18:38:28'); // prev, zt3 36 $start = new DateTime('2010-11-06 18:38:28'); // prev, zt3 42 $start = new DateTime('2010-11-06 18:38:28'); // prev, zt3 47 $start = new DateTime('2010-11-06 18:38:28'); // prev, zt3 57 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 62 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 67 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 72 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 77 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 [all …]
|
H A D | DateTime_data-fall-type2-type2.inc | 24 $end = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2 29 $end = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 30 $start = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2 35 $start = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2 44 $end = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2 55 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 60 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 65 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 70 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 74 $end = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2 [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type1.phpt | 16 $end = new DateTime('2010-03-14 03:00:00 -0400'); 17 $start = new DateTime('2010-03-14 01:59:59 -0500'); 59 $interval = new DateInterval($interval_spec); 65 $interval = new DateInterval($interval_spec); 71 $interval = new DateInterval($interval_spec); 77 $interval = new DateInterval($interval_spec); 83 $interval = new DateInterval($interval_spec); 89 $interval = new DateInterval($interval_spec); 101 $interval = new DateInterval($interval_spec); 107 $interval = new DateInterval($interval_spec); [all …]
|
H A D | DateTime_data-spring-type2-type3.inc | 22 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3 27 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3 32 $end = new DateTime('2010-03-14 03:16:55'); // dt, zt3 37 $end = new DateTime('2010-03-15 19:59:59'); // post, zt3 42 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3 52 $end = new DateTime('2010-03-14 03:16:55'); // dt, zt3 57 $end = new DateTime('2010-03-15 19:59:59'); // post, zt3 62 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3 67 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3 87 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3 [all …]
|
H A D | DateTime_data-spring-type3-type2.inc | 28 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3 33 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3 38 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3 43 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3 48 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3 53 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3 58 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3 63 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 68 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 73 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 [all …]
|
H A D | DateTime_data-spring-type3-type3.inc | 22 $end = new DateTime('2010-03-13 18:38:28'); // prev, zt3 27 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3 28 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3 32 $end = new DateTime('2010-03-14 03:16:55'); // dt, zt3 33 $start = new DateTime('2010-03-13 18:38:28'); // prev, zt3 43 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3 48 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3 52 $end = new DateTime('2010-03-14 03:16:55'); // dt, zt3 53 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3 58 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3 [all …]
|
H A D | DateTime_data-spring-type2-type2.inc | 22 $end = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2 27 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2 28 $start = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2 32 $end = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 33 $start = new DateTime('2010-03-13 18:38:28 EST'); // prev, zt2 43 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2 48 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2 52 $end = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 53 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2 58 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2 [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type2.phpt | 16 $end = new DateTime('2010-03-14 03:00:00 EDT'); 17 $start = new DateTime('2010-03-14 01:59:59 EST'); 21 $end = new DateTime('2010-03-14 04:30:00 EDT'); 22 $start = new DateTime('2010-03-13 04:30:00 EST'); 26 $end = new DateTime('2010-03-14 03:30:00 EDT'); 59 $interval = new DateInterval($interval_spec); 65 $interval = new DateInterval($interval_spec); 71 $interval = new DateInterval($interval_spec); 77 $interval = new DateInterval($interval_spec); 83 $interval = new DateInterval($interval_spec); [all …]
|
/PHP-5.6/ext/reflection/tests/ |
H A D | ReflectionObject_isInternal_basic.phpt | 8 $r1 = new ReflectionObject(new stdClass); 9 $r2 = new ReflectionObject(new ReflectionClass('C')); 10 $r3 = new ReflectionObject(new ReflectionProperty('Exception', 'message')); 11 $r4 = new ReflectionObject(new Exception); 12 $r5 = new ReflectionObject(new C);
|
H A D | ReflectionObject_isUserDefined_basic.phpt | 8 $r1 = new ReflectionObject(new stdClass); 9 $r2 = new ReflectionObject(new ReflectionClass('C')); 10 $r3 = new ReflectionObject(new ReflectionProperty('Exception', 'message')); 11 $r4 = new ReflectionObject(new Exception); 12 $r5 = new ReflectionObject(new C);
|
H A D | ReflectionClass_setStaticPropertyValue_001.phpt | 23 $rcA = new ReflectionClass('A'); 30 $rcB = new ReflectionClass('B'); 58 [privateOverridden] => new value 1 59 [protectedOverridden] => new value 2 60 [publicOverridden] => new value 3 66 [privateOverridden] => new value 4 67 [protectedOverridden] => new value 2 68 [publicOverridden] => new value 3 72 [privateOverridden] => new value 5 73 [protectedOverridden] => new value 6 [all …]
|
H A D | ReflectionClass_isCloneable_001.phpt | 10 $foo = new foo; 13 $obj = new ReflectionClass($foo); 15 $obj = new ReflectionObject($foo); 23 $bar = new bar; 25 $obj = new ReflectionClass($bar); 27 $obj = new ReflectionObject($bar); 33 $obj = new ReflectionClass($closure); 35 $obj = new ReflectionObject($closure); 42 $obj = new ReflectionObject(new simplexmlelement('<test></test>')); 49 $obj = new ReflectionObject(new XMLWriter); [all …]
|
H A D | ReflectionObject_isInstantiable_variation.phpt | 8 return new ReflectionObject(new self); 15 return new ReflectionObject(new self); 22 return new ReflectionObject(new self); 29 return new ReflectionObject(new self); 36 return new ReflectionObject(new self); 43 return new ReflectionObject(new self); 50 return new ReflectionObject(new self);
|
/PHP-5.6/tests/lang/ |
H A D | foreachLoopObjects.006.phpt | 15 $obj = new C; 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"; 38 $obj = new C; 56 $obj = new C; 77 string(5) "new a" [all …]
|
H A D | foreachLoop.013.phpt | 295 string(5) "new.0" 321 string(5) "new.0" 323 string(5) "new.1" 325 string(5) "new.2" 329 string(5) "new.4" 331 string(5) "new.5" 361 string(5) "new.0" 363 string(5) "new.1" 367 string(5) "new.3" 369 string(5) "new.4" [all …]
|
H A D | foreachLoop.014.phpt | 296 string(5) "new.0" 322 string(5) "new.0" 324 string(5) "new.1" 326 string(5) "new.2" 328 string(5) "new.3" 330 string(5) "new.4" 332 string(5) "new.5" 362 string(5) "new.0" 364 string(5) "new.1" 366 string(5) "new.2" [all …]
|
H A D | foreachLoop.015.phpt | 297 string(5) "new.0" 323 string(5) "new.0" 325 string(5) "new.1" 327 string(5) "new.2" 331 string(5) "new.4" 333 string(5) "new.5" 363 string(5) "new.0" 365 string(5) "new.1" 369 string(5) "new.3" 371 string(5) "new.4" [all …]
|
/PHP-5.6/ext/oci8/tests/ |
H A D | reflection1.phpt | 11 reflection::export(new reflectionfunction('oci_bind_by_name')); 14 reflection::export(new reflectionfunction('oci_field_name')); 15 reflection::export(new reflectionfunction('oci_field_size')); 20 reflection::export(new reflectionfunction('oci_execute')); 21 reflection::export(new reflectionfunction('oci_cancel')); 22 reflection::export(new reflectionfunction('oci_fetch')); 32 reflection::export(new reflectionfunction('oci_parse')); 34 reflection::export(new reflectionfunction('oci_result')); 38 reflection::export(new reflectionfunction('oci_close')); 42 reflection::export(new reflectionfunction('oci_error')); [all …]
|