/PHP-5.5/ext/spl/tests/ |
H A D | iterator_018.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);
|
H A D | fixedarray_010.phpt | 6 $a = new SplFixedArray(0); 7 $a = new SplFixedArray(3); 15 $a = new SplFixedArray(0); 19 $a = new SplFixedArray(10); 23 $a = new SplFixedArray(1); 27 $a = new SplFixedArray(20); 31 $a = new SplFixedArray(3);
|
/PHP-5.5/ext/date/tests/ |
H A D | rfc-datetime_and_daylight_saving_time-type3-ba.phpt | 16 $start = new DateTime('2010-11-07 01:59:59'); 18 $interval = new DateInterval($interval_spec); 22 $start = new DateTime('2010-11-06 04:30:00'); 24 $interval = new DateInterval($interval_spec); 28 $start = new DateTime('2010-11-06 04:30:00'); 30 $interval = new DateInterval($interval_spec); 34 $start = new DateTime('2010-11-06 04:30:00'); 36 $interval = new DateInterval($interval_spec); 40 $start = new DateTime('2010-11-06 04:30:00'); 42 $interval = new DateInterval($interval_spec); [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type3-bs.phpt | 9 $tz = new DateTimeZone('America/New_York'); 17 $end = new DateTime('2010-11-07 01:00:00 EST'); 20 $interval = new DateInterval($interval_spec); 24 $end = new DateTime('2010-11-07 04:30:00'); 26 $interval = new DateInterval($interval_spec); 30 $end = new DateTime('2010-11-07 03:30:00'); 32 $interval = new DateInterval($interval_spec); 36 $end = new DateTime('2010-11-07 02:30:00'); 38 $interval = new DateInterval($interval_spec); 45 $interval = new DateInterval($interval_spec); [all …]
|
H A D | bug40743.phpt | 5 $dt = new DateTime('@1200506699', new DateTimeZone('Europe/Berlin')); 12 $dt = new DateTime('16 Jan 08 13:04:59'); 15 $dt = new DateTime('@1200506699'); 18 $dt = new DateTime('@1200506699'); 19 $dt->setTimezone( new DateTimeZone( 'America/New_York' ) ); 22 $dt = new DateTime('@1200506699', new DateTimeZone('Europe/Berlin')); 25 $dt = new DateTime('16 Jan 08 13:04:59 America/Chicago'); 28 $dt = new DateTime('16 Jan 08 13:04:59 America/Chicago', new DateTimeZone('Europe/Berlin'));
|
H A D | rfc-datetime_and_daylight_saving_time-type3-fd.phpt | 16 $end = new DateTime('2010-03-14 03:00:00'); 17 $start = new DateTime('2010-03-14 01:59:59'); 21 $end = new DateTime('2010-03-14 04:30:00'); 22 $start = new DateTime('2010-03-13 04:30:00'); 26 $end = new DateTime('2010-03-14 03:30:00'); 27 $start = new DateTime('2010-03-13 04:30:00'); 31 $end = new DateTime('2010-03-14 01:30:00'); 32 $start = new DateTime('2010-03-13 04:30:00'); 36 $end = new DateTime('2010-03-14 01:30:00'); 37 $start = new DateTime('2010-03-13 01:30:00'); [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type3-fs.phpt | 18 $end = new DateTime('2010-03-14 03:00:00'); 20 $interval = new DateInterval($interval_spec); 24 $end = new DateTime('2010-03-14 04:30:00'); 26 $interval = new DateInterval($interval_spec); 30 $end = new DateTime('2010-03-14 03:30:00'); 32 $interval = new DateInterval($interval_spec); 36 $end = new DateTime('2010-03-14 01:30:00'); 38 $interval = new DateInterval($interval_spec); 42 $end = new DateTime('2010-03-14 01:30:00'); 44 $interval = new DateInterval($interval_spec); [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type3-fa.phpt | 16 $start = new DateTime('2010-03-14 01:59:59'); 18 $interval = new DateInterval($interval_spec); 22 $start = new DateTime('2010-03-13 04:30:00'); 24 $interval = new DateInterval($interval_spec); 28 $start = new DateTime('2010-03-13 04:30:00'); 30 $interval = new DateInterval($interval_spec); 34 $start = new DateTime('2010-03-13 04:30:00'); 36 $interval = new DateInterval($interval_spec); 40 $start = new DateTime('2010-03-13 01:30:00'); 42 $interval = new DateInterval($interval_spec); [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | class_alias_018.phpt | 15 var_dump(is_subclass_of(new foo, 'foo')); 16 var_dump(is_subclass_of(new foo, 'bar')); 17 var_dump(is_subclass_of(new foo, 'baz')); 19 var_dump(is_subclass_of(new bar, 'foo')); 20 var_dump(is_subclass_of(new bar, 'bar')); 21 var_dump(is_subclass_of(new bar, 'baz')); 23 var_dump(is_subclass_of(new baz, 'foo')); 24 var_dump(is_subclass_of(new baz, 'bar')); 25 var_dump(is_subclass_of(new baz, 'baz'));
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_uintersect_assoc_basic.phpt | 19 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 20 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15…
|
H A D | array_udiff_basic.phpt | 19 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 20 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15…
|
H A D | array_uintersect_basic.phpt | 19 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 20 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15…
|
H A D | bug45312.phpt | 23 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 24 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15…
|
H A D | array_udiff_assoc_basic.phpt | 19 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 20 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15…
|
H A D | array_uintersect_uassoc_basic.phpt | 23 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 24 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15…
|
H A D | array_udiff_uassoc_basic.phpt | 23 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 24 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15…
|
/PHP-5.5/ext/dom/tests/ |
H A D | bug32615.phpt | 7 $dom = new DomDocument; 9 $frag->appendChild(new DOMElement('root')); 13 $frag->appendChild(new DOMElement('first')); 16 $frag->appendChild(new DOMElement('second')); 26 $frag->appendChild(new DOMElement('newsecond')); 32 $frag->appendChild(new DOMElement('third')); 35 $frag->appendChild(new DOMElement('start')); 44 $frag->appendChild(new DOMElement('first')); 55 $frag->appendChild(new DOMElement('first')); 61 $frag->appendChild(new DOMElement('second')); [all …]
|
/PHP-5.5/ext/soap/tests/interop/Round4/GroupH/ |
H A D | round4_groupH_simple_doclit.inc | 5 …return new SoapFault("Server", "Fault in response to 'echoEmptyFault'.", null, null, "SimpleFault"… 9 …return new SoapFault("Server", "Fault in response to 'echoStringFault'.", null, $input, "SimpleFau… 13 …return new SoapFault("Server", "Fault in response to 'echoIntArrayFault'.", null, $input, "SimpleF… 18 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $input->param1… 20 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $input->param2… 22 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, null, "SimpleF… 28 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param1… 30 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param3… 32 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param2… 38 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults3'.", null, $input->param2… [all …]
|
H A D | round4_groupH_simple_rpcenc.inc | 5 …return new SoapFault("Server", "Fault in response to 'echoEmptyFault'.", null, null, "SimpleFault"… 9 …return new SoapFault("Server", "Fault in response to 'echoStringFault'.", null, $input, "SimpleFau… 13 …return new SoapFault("Server", "Fault in response to 'echoIntArrayFault'.", null, $input, "SimpleF… 18 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $string, "Simp… 20 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $floats, "Simp… 22 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, null, "SimpleF… 28 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $string, "Simp… 32 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $float, "Simpl… 46 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults4'.", null, $enum, "Simple… 48 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults4'.", null, $int, "SimpleF… [all …]
|
/PHP-5.5/ext/phar/tests/zip/files/ |
H A D | corrupt2.php.inc | 3 $a = new corrupt_zipmaker; 7 $a = new corrupt_zipmaker; 11 $a = new corrupt_zipmaker; 15 $a = new corrupt_zipmaker; 18 $a = new corrupt_zipmaker; 21 $a = new corrupt_zipmaker; 24 $a = new corrupt_zipmaker; 27 $a = new corrupt_zipmaker; 30 $a = new corrupt_zipmaker; 33 $a = new corrupt_zipmaker; [all …]
|
/PHP-5.5/tests/lang/ |
H A D | foreachLoop.002.phpt | 118 string(5) "new.0" 120 string(5) "new.1" 122 string(5) "new.2" 135 string(5) "new.0" 137 string(5) "new.1" 139 string(5) "new.2" 141 string(5) "new.3" 143 string(5) "new.4" 145 string(5) "new.5" 147 string(5) "new.6" [all …]
|
H A D | engine_assignExecutionOrder_007.phpt | 2 Check key execution order with &new. 6 $a[$i=0][++$i] =& new $a[++$i][++$i]; 9 $o = new stdClass; 10 $o->a =& new $a[$i=2][++$i]; 11 $o->a->b =& new $a[$i=2][++$i]; 15 Deprecated: Assigning the return value of new by reference is deprecated in %s.php on line 3 17 Deprecated: Assigning the return value of new by reference is deprecated in %s.php on line 7 19 Deprecated: Assigning the return value of new by reference is deprecated in %s.php on line 8
|
/PHP-5.5/ext/reflection/tests/ |
H A D | closures_001.phpt | 8 $ro = new ReflectionObject($closure); 22 $rm = new ReflectionMethod($closure, '__invoke'); 29 $rp = new ReflectionParameter(array($closure, '__invoke'), 0); 31 $rp = new ReflectionParameter(array($closure, '__invoke'), 1); 33 $rp = new ReflectionParameter(array($closure, '__invoke'), 'a'); 35 $rp = new ReflectionParameter(array($closure, '__invoke'), 'b'); 40 $rp = new ReflectionParameter($closure, 0); 42 $rp = new ReflectionParameter($closure, 1); 44 $rp = new ReflectionParameter($closure, 'a'); 46 $rp = new ReflectionParameter($closure, 'b');
|
/PHP-5.5/ext/phar/tests/zip/ |
H A D | bzip2.phpt | 24 $a = new corrupt_zipmaker; 28 $a = new corrupt_zipmaker; 32 $a = new corrupt_zipmaker; 36 $a = new corrupt_zipmaker; 39 $a = new corrupt_zipmaker; 42 $a = new corrupt_zipmaker; 45 $a = new corrupt_zipmaker; 48 $a = new corrupt_zipmaker; 51 $a = new corrupt_zipmaker; 54 $a = new corrupt_zipmaker; [all …]
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | var_export_basic6.phpt | 75 $foo_object = new foo(); 76 $Value_object = new Value(); 80 "new stdclass" => new stdclass, 81 "new foo" => new foo, 82 "new concreteClass" => new concreteClass, 83 "new Value" => new Value, 84 "new myClass" => new myClass, 110 -- Iteration: new stdclass -- 119 -- Iteration: new foo -- 137 -- Iteration: new Value -- [all …]
|