/php-src/ext/standard/tests/strings/ |
H A D | vfprintf_basic1.phpt | 2 Test vfprintf() function : basic functionality - string format 5 echo "*** Testing vfprintf() : basic functionality - using string format ***\n"; 8 $format = "format"; 36 *** Testing vfprintf() : basic functionality - using string format ***
|
H A D | vprintf_basic3.phpt | 2 Test vprintf() function : basic functionality - float format 5 echo "*** Testing vprintf() : basic functionality - using float format ***\n"; 9 $format = "format"; 47 *** Testing vprintf() : basic functionality - using float format ***
|
H A D | str_word_count1.phpt | 24 str_word_count(): Argument #2 ($format) must be a valid format value 27 str_word_count(): Argument #2 ($format) must be a valid format value
|
H A D | vprintf_variation19.phpt | 2 Test vprintf() function : usage variations - with whitespaces in format strings 9 echo "*** Testing vprintf() : with white spaces in format strings ***\n"; 11 // initializing the format array 43 foreach($formats as $format) { 45 $result = vprintf($format, $args_array[$counter-1]); 53 *** Testing vprintf() : with white spaces in format strings ***
|
H A D | vprintf_variation19_64bit.phpt | 2 Test vprintf() function : usage variations - with whitespaces in format strings 9 echo "*** Testing vprintf() : with white spaces in format strings ***\n"; 11 // initializing the format array 43 foreach($formats as $format) { 45 $result = vprintf($format, $args_array[$counter-1]); 53 *** Testing vprintf() : with white spaces in format strings ***
|
H A D | vfprintf_basic3.phpt | 2 Test vfprintf() function : basic functionality - float format 5 echo "*** Testing vfprintf() : basic functionality - using float format ***\n"; 9 $format = "format"; 50 *** Testing vfprintf() : basic functionality - using float format ***
|
/php-src/ext/date/tests/ |
H A D | gmstrftime_variation17.phpt | 12 echo "\n-- Testing gmstrftime() function with Day of the month as decimal single digit format --\n"; 13 $format = "%e"; 14 var_dump( gmstrftime($format) ); 15 var_dump( gmstrftime($format, $timestamp) ); 21 -- Testing gmstrftime() function with Day of the month as decimal single digit format --
|
H A D | strftime_variation17.phpt | 12 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n"; 13 $format = "%e"; 14 var_dump( strftime($format) ); 15 var_dump( strftime($format, $timestamp) ); 20 -- Testing strftime() function with Day of the month as decimal single digit format --
|
H A D | bug45543.phpt | 16 echo $d1->format(DATE_ISO8601), PHP_EOL; 17 echo $d2->format(DATE_ISO8601), PHP_EOL; 20 echo $d1->format(DATE_ISO8601), PHP_EOL; 21 echo $d2->format(DATE_ISO8601), PHP_EOL;
|
H A D | date_interval_bad_format_leak.phpt | 2 DateInterval with bad format should not leak period 38 DateMalformedIntervalStringException: Unknown or bad format (P3"D) 41 DateMalformedPeriodStringException: Unknown or bad format (P3"D) 42 DateMalformedPeriodStringException: Unknown or bad format (P3"D) 45 DateMalformedPeriodStringException: Unknown or bad format (2008-03-01T12:00:00Z1) 46 DateMalformedPeriodStringException: Unknown or bad format (2008-03-01T12:00:00Z1)
|
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 | gmstrftime_variation12.phpt | 18 echo "\n-- Testing gmstrftime() function with Abbreviated month name format %h --\n"; 19 $format = "%h"; 20 var_dump( gmstrftime($format) ); 21 var_dump( gmstrftime($format, $timestamp) ); 27 -- Testing gmstrftime() function with Abbreviated month name format %h --
|
H A D | strftime_variation12.phpt | 18 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n"; 19 $format = "%h"; 20 var_dump( strftime($format) ); 21 var_dump( strftime($format, $timestamp) ); 27 -- Testing strftime() function with Abbreviated month name format %h --
|
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 | bug48097.phpt | 9 echo $d->format( DATE_ISO8601 ), "\n"; 10 echo $d->format( 'U' ), "\n\n"; 14 echo $d->format( DATE_ISO8601 ), "\n\n"; 15 echo $d->format( 'U' ), "\n\n";
|
H A D | bug52668.phpt | 11 echo $dt->format('r') . "\n"; // Sun, 12 Dec 2010 00:00:00 +0100 13 echo $start->format('r'), "\n"; 15 echo $dt->format('r') . "\n"; // Sun, 12 Dec 2010 00:00:00 +0100 17 echo $start->format('r'), "\n\n";
|
H A D | gmstrftime_variation6.phpt | 2 Test gmstrftime() function : usage variation - Passing time related format strings to format argume… 14 'Hour as decimal by 24-hour format' => "%H", 15 'Hour as decimal by 12-hour format' => "%I", 17 'AM/PM format for a time' => "%p", 33 --Hour as decimal by 24-hour format-- 41 --Hour as decimal by 12-hour format-- 57 --AM/PM format for a time--
|
H A D | strftime_variation6.phpt | 2 Test strftime() function : usage variation - Passing time related format strings to format argument. 15 'Hour as decimal by 24-hour format' => "%H", 16 'Hour as decimal by 12-hour format' => "%I", 18 'AM/PM format for a time' => "%p", 34 --Hour as decimal by 24-hour format-- 42 --Hour as decimal by 12-hour format-- 58 --AM/PM format for a time--
|
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;
|
/php-src/ext/intl/tests/ |
H A D | dateformat_timezone_arg_variations.phpt | 16 echo $df->format($ts), "\n"; 19 echo $df->format($ts), "\n"; 22 echo $df->format($ts), "\n"; 25 echo $df->format($ts), "\n"; 29 echo $df->format($ts), "\n"; 33 echo $df->format($ts), "\n"; 36 echo $df->format($ts), "\n";
|
H A D | dateformat_timezone_arg_variations2.phpt | 16 echo $df->format($ts), "\n"; 19 echo $df->format($ts), "\n"; 22 echo $df->format($ts), "\n"; 25 echo $df->format($ts), "\n"; 29 echo $df->format($ts), "\n"; 33 echo $df->format($ts), "\n"; 36 echo $df->format($ts), "\n";
|
H A D | dateformat_timezone_arg_variations4.phpt | 16 echo $df->format($ts), "\n"; 19 echo $df->format($ts), "\n"; 22 echo $df->format($ts), "\n"; 25 echo $df->format($ts), "\n"; 29 echo $df->format($ts), "\n"; 33 echo $df->format($ts), "\n"; 36 echo $df->format($ts), "\n";
|
H A D | bug74298.phpt | 2 Bug #74298 (IntlDateFormatter->format() doesn't return microseconds/fractions) 7 var_dump((new \DateTime('2017-01-01 01:02:03.123456'))->format('Y-m-d\TH:i:s.u')); 16 ))->format(new \DateTime('2017-01-01 01:02:03.123456', new \DateTimeZone('UTC')))); 25 )->format(new \DateTime('2017-01-01 01:02:03.123456', new \DateTimeZone('UTC'))));
|
H A D | msgfmt_format_datetime_icu72-1.phpt | 2 MessageFormatter::format(): DateTime accepted to format dates and times 23 var_dump($mf->format(array($dt))); 24 var_dump($mf->format(array($dti)));
|