/PHP-5.5/ext/date/tests/ |
H A D | bug33415-2.phpt | 10 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 18 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 27 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 36 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 44 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 53 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 61 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 70 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 79 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 87 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; [all …]
|
H A D | bug43003.phpt | 8 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n"; 11 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n"; 14 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n"; 17 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n"; 20 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
|
H A D | forward-transition-construction.phpt | 8 echo $date->format('Y-m-d H:i:s T/e - U') . "\n"; 11 echo $date->format('Y-m-d H:i:s T/e - U') . "\n"; 14 echo $date->format('Y-m-d H:i:s T/e - U') . "\n"; 17 echo $date->format('Y-m-d H:i:s T/e - U') . "\n"; 20 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
|
H A D | bug46268.phpt | 8 echo $now->format("Y-m-d H:i:s") . PHP_EOL; 11 echo $now->format("Y-m-d H:i:s") . PHP_EOL; 14 echo $now->format("Y-m-d H:i:s") . PHP_EOL; 18 echo $now->format("Y-m-d H:i:s") . PHP_EOL;
|
H A D | test-parse-from-format.phpt | 24 string(13) "Y-m-d\TH:i:sP" 35 string(16) "l, d-M-Y H:i:s T" 46 string(13) "Y-m-d\TH:i:sO" 90 string(16) "D, d M Y H:i:s O" 101 string(16) "D, d M Y H:i:s O" 112 string(13) "Y-m-d\TH:i:sP" 123 string(16) "D, d M Y H:i:s O" 134 string(13) "Y-m-d\TH:i:sP"
|
H A D | bug38229.phpt | 6 echo date("Y-m", strtotime('2006-1'))."\n"; 7 echo date("Y-m", strtotime('2006-03'))."\n"; 8 echo date("Y-m", strtotime('2006-12'))."\n";
|
H A D | bug41599.phpt | 8 echo $start->format('Y-m-d H:i:s'),PHP_EOL; 12 echo $start->format('Y-m-d H:i:s'),PHP_EOL; 16 echo $start->format('Y-m-d H:i:s'),PHP_EOL; 20 echo $start->format('Y-m-d H:i:s'),PHP_EOL;
|
H A D | bug49059.phpt | 9 print "\$date1 at init: " . $date1->format("Y-m-d") . "\n"; 10 print "\$date2 at init: " . $date2->format("Y-m-d") . "\n"; 12 print "\$date1 after first diff: " . $date1->format("Y-m-d") . "\n"; 15 print "\$date1 after sub: " . $date1->format("Y-m-d") . "\n"; 18 $date1->format("Y-m-d") . "\n"; 22 $date1->format("Y-m-d") . "\n";
|
H A D | bug62896.phpt | 12 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; 15 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; 21 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; 24 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; 29 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; 32 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
|
H A D | 012.phpt | 9 var_dump($dto->format("Y/m/d H:i:s")); 11 var_dump($dto->format("Y/m/d H:i:s")); 13 var_dump($dto->format("Y/m/d H:i:s")); 15 var_dump($dto->format("Y/m/d H:i:s")); 17 var_dump($dto->format("Y/m/d H:i:s"));
|
H A D | 013.phpt | 9 var_dump($dto->format("Y.m.d H:i:s")); 11 var_dump($dto->format("Y.m.d H:i:s")); 13 var_dump($dto->format("Y.m.d H:i:s")); 15 var_dump($dto->format("Y.m.d H:i:s")); 17 var_dump($dto->format("Y.m.d H:i:s"));
|
H A D | bug40861.phpt | 9 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 14 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 19 $result = date("Y-m-d H:i:s", strtotime("-$offset minutes", $ts)); 25 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
|
H A D | bug55253.phpt | 15 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n"; 16 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n"; 22 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n"; 23 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n"; 33 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n"; 34 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n";
|
H A D | bug52290.phpt | 12 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U')); 15 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U')); 18 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U')); 21 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U'));
|
H A D | strtotime_basic.phpt | 16 var_dump(date('Y-m-d', strtotime('1 Monday December 2008'))); 21 var_dump(date('Y-m-d', strtotime('2 Monday December 2008'))); 26 var_dump(date('Y-m-d', strtotime('3 Monday December 2008'))); 30 var_dump(date('Y-m-d', strtotime('first Monday December 2008'))); 34 var_dump(date('Y-m-d', strtotime('second Monday December 2008'))); 38 var_dump(date('Y-m-d', strtotime('third Monday December 2008')));
|
H A D | bug54597.phpt | 9 echo $dateObject->format( 'Y' ), "\n"; 11 echo $dateObject->format( 'Y' ), "\n"; 13 echo $dateObject->format( 'Y' ), "\n";
|
H A D | bug67109.phpt | 7 var_dump(date('d.m.Y',strtotime('last day of april'))); 8 var_dump(date('d.m.Y',strtotime('Last day of april'))); 9 var_dump(date('d.m.Y',strtotime('lAst Day of April')));
|
H A D | bug32270.phpt | 8 echo date("m/d/Y H:i:s T", -2145888000)."\n"; 12 echo date("m/d/Y H:i:s T", -631123200)."\n"; 16 echo date("m/d/Y H:i:s T", 946713600)."\n";
|
H A D | bug32588.phpt | 8 echo date('D Y/m/d/H:i:s', strtotime('last saturday', 1112703348)). "\n"; 9 echo date('D Y/m/d/H:i:s', strtotime("last sunday", 1112703348)). "\n"; 10 echo date('D Y/m/d/H:i:s', strtotime('last monday', 1112703348)). "\n";
|
H A D | bug26317.phpt | 11 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 16:20:42 Z")); 12 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 09:20:42 T")); 13 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 19:20:42 C"));
|
/PHP-5.5/Zend/ |
H A D | bench.php | 117 $Y[$i] = $X[$i]; 120 print "$Y[$last]\n"; 140 $Y[$i] = $X[$i]; --$i; 141 $Y[$i] = $X[$i]; --$i; 142 $Y[$i] = $X[$i]; --$i; 143 $Y[$i] = $X[$i]; --$i; 144 $Y[$i] = $X[$i]; --$i; 153 print "$Y[$last]\n"; 161 $Y[$i] = 0; 165 $Y[$i] += $X[$i]; [all …]
|
/PHP-5.5/ext/calendar/tests/ |
H A D | jdtounix.phpt | 9 echo date("Y-m-d",jdtounix(2440588)). "\n"; 10 echo date("Y-m-d",jdtounix(2452162)). "\n"; 11 echo date("Y-m-d",jdtounix(2453926)). "\n";
|
/PHP-5.5/tests/classes/ |
H A D | method_call_variation_001.phpt | 2 In $a->$b[Y](), $b[Y] represents a method name on $a. But in $a->X[Y](), $a->X[Y] represents a glob…
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | 005_basic.phpt | 24 print( @date('Y:M:D:H:i:s', fileatime(__FILE__)) )."\n"; 25 print( @date('Y:M:D:H:i:s', filemtime(__FILE__)) )."\n"; 26 print( @date('Y:M:D:H:i:s', filectime(__FILE__)) )."\n"; 27 print( @date('Y:M:D:H:i:s', touch(dirname(__FILE__)."/005_basic.tmp")) )."\n"; 30 print( @date('Y:M:D:H:i:s', fileatime(".")) )."\n"; 31 print( @date('Y:M:D:H:i:s', filemtime(".")) )."\n"; 32 print( @date('Y:M:D:H:i:s', filectime(".")) )."\n"; 33 print( @date('Y:M:D:H:i:s', touch(dirname(__FILE__)."/005_basic")) )."\n";
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | bug55798.phpt | 8 $a->{1} = 'Y'; 15 string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}" 17 string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}"
|