/php-src/ext/standard/tests/strings/ |
H A D | printf.phpt | 14 /* Various input arrays for different format types */ 161 echo "\n Input Strings format variation array is:\n"; 180 echo "\n Input format variation array is:\n"; 593 Input Strings format variation array is: 625 Input format variation array is: 670 *** Output for '%%' as the format parameter *** 679 Unknown format specifier "-" 681 *** Output for '%F' as the format parameter *** 684 *** Output for '%X' as the format parameter *** 687 *** Output with no format parameter *** [all …]
|
H A D | printf_64bit.phpt | 14 /* Various input arrays for different format types */ 161 echo "\n Input Strings format variation array is:\n"; 180 echo "\n Input format variation array is:\n"; 593 Input Strings format variation array is: 625 Input format variation array is: 670 *** Output for '%%' as the format parameter *** 679 Unknown format specifier "-" 681 *** Output for '%F' as the format parameter *** 684 *** Output for '%X' as the format parameter *** 687 *** Output with no format parameter *** [all …]
|
H A D | sscanf_basic5.phpt | 2 Test sscanf() function : basic functionality - exponential format 6 echo "*** Testing sscanf() : basic functionality -using exponential format ***\n"; 13 // extract details using short format 20 // extract details using long format 29 *** Testing sscanf() : basic functionality -using exponential format ***
|
H A D | vprintf_variation10.phpt | 5 /* Prototype : string vprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 25 // Arrays of non char values for the format defined in $format. 26 // Each sub array contains non char values which correspond to each format in $format 66 // looping to test vprintf() with different char formats from the above $format array
|
H A D | str_word_count.phpt | 90 str_word_count(): Argument #2 ($format) must be a valid format value 91 str_word_count(): Argument #2 ($format) must be a valid format value 92 str_word_count(): Argument #2 ($format) must be a valid format value 93 str_word_count(): Argument #2 ($format) must be a valid format value
|
/php-src/ext/intl/tests/ |
H A D | msgfmt_setPattern_cache.phpt | 13 var_dump($mf->format(array(1.3, 1.3))); 14 var_dump($mf->format(array(1.3, 1.3))); 16 var_dump($mf->format(array(1.3, 1.3)));
|
H A D | msgfmt_format_error2.phpt | 2 MessageFormatter::format() inconsistent types in named argument 14 var_dump($mf->format(array(7))); 17 Warning: MessageFormatter::format(): Inconsistent types declared for an argument in %s on line %d
|
H A D | msgfmt_format_error3.phpt | 2 MessageFormatter::format() given negative arg key 14 var_dump($mf->format(array("foo" => 7, -1 => "bar"))); 17 Warning: MessageFormatter::format(): Found negative or too large array key in %s on line %d
|
H A D | msgfmt_format_error6.phpt | 2 MessageFormatter::format() invalid type for key not in pattern 14 var_dump($mf->format(array("foo" => 'bar', 7 => fopen('php://memory', 'r+')))); 17 Warning: MessageFormatter::format(): No strategy to convert the value given for the argument with k…
|
/php-src/ext/date/tests/ |
H A D | DateTime_construct-dst-overlap.phpt | 11 echo $d->format('P') . "\n"; 16 echo $d->format('P') . "\n"; 21 echo $d->format('P') . "\n"; 26 echo $d->format('P') . "\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 | 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 | gh9891.phpt | 13 echo '$a: ', $a->format(DateTime::ATOM), "\n"; 14 echo '$b: ', $b->format(DateTime::ATOM), "\n"; 19 echo '$a: ', $a->format(DateTime::ATOM), "\n"; 20 echo '$b: ', $b->format(DateTime::ATOM), "\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 | bug80913.phpt | 9 var_dump($date->format(DATE_ATOM)); 10 var_dump($_30mbefore->format(DATE_ATOM)); 11 var_dump($_30mafter->format(DATE_ATOM));
|
H A D | gmdate_basic.phpt | 9 $format = DATE_ISO8601; 13 var_dump( gmdate($format, $timestamp) ); 16 var_dump( gmdate($format) );
|
H A D | strftime_variation21.phpt | 33 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 36 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 41 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 44 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 49 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 52 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
|
H A D | gmstrftime_variation21.phpt | 33 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 36 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 41 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 44 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 49 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 52 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
|
H A D | DatePeriod_no_advance_on_valid.phpt | 13 echo $item->format('Y-m-d') . "\n"; 20 echo $item->format('Y-m-d') . "\n"; 29 echo $item->format('Y-m-d') . "\n"; 36 echo $item->format('Y-m-d') . "\n";
|
H A D | idate_variation6.phpt | 2 Test idate() function : usage variation - Checking return of year(1 or 2 digits) format starting wi… 9 $format = 'y'; 13 var_dump( idate($format, $timestamp) ); 17 var_dump( idate($format, $timestamp) );
|
H A D | bug52454.phpt | 10 echo $endOfWeek->format('Y-m-d H:i:s')."\n"; 11 echo $endOfWeek->format('U')."\n"; 16 echo $endOfWeek->format('Y-m-d H:i:s')."\n";
|
H A D | bug49778.phpt | 2 Bug #49778 (DateInterval::format("%a") is always zero when an interval is created from an ISO strin… 7 echo $i->format("%d"), "\n"; 8 echo $i->format("%a"), "\n";
|
H A D | DateTime_modify_basic1.phpt | 14 echo "After modification 1: " . $datetime->format("D, d M Y") . "\n"; 17 echo "After modification 2: " . $datetime->format("D, d M Y H:i:s") . "\n"; 20 echo "After modification 3: " . $datetime->format("D, d M Y") . "\n"; 23 echo "After modification 4: " . $datetime->format("D, d M Y") . "\n";
|
H A D | bug50055-001.phpt | 10 echo $da1->format( DateTime::ISO8601 ), "\n"; 11 echo date_add($da1, $i)->format( DateTime::ISO8601 ), "\n"; 18 echo $da2->format( DateTime::ISO8601 ), "\n"; 19 echo date_add($da2, $i2)->format( DateTime::ISO8601 ), "\n";//works
|
/php-src/ext/standard/tests/serialize/ |
H A D | unserialize_uppercase_s.phpt | 2 Test unserialize() with the 'S' format emits a deprecation. 11 Deprecated: unserialize(): Unserializing the 'S' format is deprecated in %s on line %d 14 Deprecated: unserialize(): Unserializing the 'S' format is deprecated in %s on line %d
|