/PHP-7.3/Zend/tests/ |
H A D | ns_037.phpt | 6 use X as Y; 18 new Y\X(); 21 Y\X::bar(); 24 echo Y\X::C; 27 echo Y\X::$var;
|
/PHP-7.3/tests/classes/ |
H A D | method_call_variation_001.phpt | 2 In $a->$b[Y]() and $a->X[Y]() both $a->$b[Y] and $a->X[Y] represent a global function name
|
/PHP-7.3/ext/date/tests/ |
H A D | date_diff.phpt | 22 // echo $dates[$i]->format( "Y-m-d\n" ); 28 $dates[$i]->format( 'Y-m-d' ), 29 $dates[$j]->format( 'Y-m-d' ), 48 $dates[$i]->format( 'Y-m-d' ), " + ", 50 $current->format( 'Y-m-d' ), " (", 51 $dates[$j]->format( 'Y-m-d' ), ")\n";
|
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 | 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 | 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 | 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 | 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 | strtotime_basic.phpt | 14 var_dump(date('Y-m-d', strtotime('1 Monday December 2008'))); 19 var_dump(date('Y-m-d', strtotime('2 Monday December 2008'))); 24 var_dump(date('Y-m-d', strtotime('3 Monday December 2008'))); 28 var_dump(date('Y-m-d', strtotime('first Monday December 2008'))); 32 var_dump(date('Y-m-d', strtotime('second Monday December 2008'))); 36 var_dump(date('Y-m-d', strtotime('third Monday December 2008')));
|
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 | bug79396-forward-transition-settime.phpt | 8 echo $date->setTime(2, 0)->format('Y-m-d H:i:s T/e - U') . "\n"; 11 echo $date->setTime(2, 30)->format('Y-m-d H:i:s T/e - U') . "\n"; 14 echo $date->setTime(3, 0)->format('Y-m-d H:i:s T/e - U') . "\n"; 17 echo $date->setTime(1, 59, 59)->format('Y-m-d H:i:s T/e - U') . "\n";
|
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";
|
/PHP-7.3/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-7.3/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-7.3/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";
|