/php-src/ext/standard/tests/strings/ |
H A D | printf_basic2.phpt | 2 Test printf() function : basic functionality - integer format 5 echo "*** Testing printf() : basic functionality - using integer format ***\n"; 9 $format = "format"; 18 $result = printf($format); 39 *** Testing printf() : basic functionality - using integer format *** 42 format
|
H A D | printf_basic4.phpt | 2 Test printf() function : basic functionality - bool format 5 echo "*** Testing printf() : basic functionality - using bool format ***\n"; 9 $format = "format"; 18 $result = printf($format); 38 *** Testing printf() : basic functionality - using bool format *** 41 format
|
H A D | printf_basic5.phpt | 2 Test printf() function : basic functionality - char format 5 echo "*** Testing printf() : basic functionality - using char format ***\n"; 9 $format = "format"; 18 $result = printf($format); 38 *** Testing printf() : basic functionality - using char format *** 41 format
|
H A D | vsprintf_basic4.phpt | 2 Test vsprintf() function : basic functionality - bool format 5 echo "*** Testing vsprintf() : basic functionality - using bool format ***\n"; 8 $format = "format"; 23 *** Testing vsprintf() : basic functionality - using bool format ***
|
H A D | vsprintf_basic5.phpt | 2 Test vsprintf() function : basic functionality - char format 5 echo "*** Testing vsprintf() : basic functionality - using char format ***\n"; 8 $format = "format"; 23 *** Testing vsprintf() : basic functionality - using char format ***
|
H A D | vprintf_basic8.phpt | 2 Test vprintf() function : basic functionality - octal format 5 echo "*** Testing vprintf() : basic functionality - using octal format ***\n"; 8 $format = "format"; 30 *** Testing vprintf() : basic functionality - using octal format ***
|
H A D | vsprintf_basic6.phpt | 2 Test vsprintf() function : basic functionality - exponential format 5 echo "*** Testing vsprintf() : basic functionality - using exponential format ***\n"; 8 $format = "format"; 23 *** Testing vsprintf() : basic functionality - using exponential format ***
|
H A D | printf_basic6.phpt | 2 Test printf() function : basic functionality - exponential format 5 echo "*** Testing printf() : basic functionality - using exponential format ***\n"; 8 $format = "format"; 17 $result = printf($format); 37 *** Testing printf() : basic functionality - using exponential format *** 40 format
|
H A D | printf_basic7.phpt | 2 Test printf() function : basic functionality - unsigned format 11 echo "*** Testing printf() : basic functionality - using unsigned format ***\n"; 15 $format = "format"; 24 $result = printf($format); 45 *** Testing printf() : basic functionality - using unsigned format *** 48 format
|
H A D | printf_basic8.phpt | 2 Test printf() function : basic functionality - octal format 11 echo "*** Testing printf() : basic functionality - using octal format ***\n"; 14 $format = "format"; 23 $result = printf($format); 44 *** Testing printf() : basic functionality - using octal format *** 47 format
|
H A D | vsprintf_basic1.phpt | 2 Test vsprintf() function : basic functionality - string format 5 echo "*** Testing vsprintf() : basic functionality - using string format ***\n"; 8 $format = "format"; 24 *** Testing vsprintf() : basic functionality - using string format ***
|
H A D | vsprintf_basic7.phpt | 2 Test vsprintf() function : basic functionality - unsigned format 9 echo "*** Testing vsprintf() : basic functionality - using unsigned format ***\n"; 12 $format = "format"; 27 *** Testing vsprintf() : basic functionality - using unsigned format ***
|
H A D | vsprintf_basic7_64bit.phpt | 2 Test vsprintf() function : basic functionality - unsigned format 9 echo "*** Testing vsprintf() : basic functionality - using unsigned format ***\n"; 12 $format = "format"; 27 *** Testing vsprintf() : basic functionality - using unsigned format ***
|
H A D | vprintf_basic9.phpt | 2 Test vprintf() function : basic functionality - hexadecimal format 5 echo "*** Testing vprintf() : basic functionality - using hexadecimal format ***\n"; 7 // Initialising different format strings 8 $format = "format"; 43 *** Testing vprintf() : basic functionality - using hexadecimal format ***
|
/php-src/ext/date/tests/ |
H A D | date_add_basic.phpt | 12 $format = 'Y-m-d H:i:s'; 21 var_dump( $d->format($format) ); 25 var_dump( $d->format($format) );
|
H A D | date_sub_basic.phpt | 12 $format = 'Y-m-d H:i:s'; 21 var_dump( $d->format($format) ); 25 var_dump( $d->format($format) );
|
H A D | bug73426.phpt | 2 Bug #73426 (createFromFormat with 'z' format char results in incorrect time) 8 $format = 'Y H:i:s z'; 9 var_dump(DateTime::createFromFormat($format, $date)); 12 $format = 'z H:i:s Y'; 13 var_dump(DateTime::createFromFormat($format, $date));
|
H A D | bug69089.phpt | 2 Bug #69089 (Add support for RFC3339 extended to DateTime::format) 11 var_dump($date->format(DateTime::RFC3339_EXTENDED)); 12 var_dump($date->format('u')); 13 var_dump($date->format('v'));
|
H A D | strftime_variation3.phpt | 2 Test strftime() function : usage variation - Passing week related format strings to format argument. 32 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 35 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 40 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 43 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 48 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 51 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 56 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in… 59 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
|
H A D | gmstrftime_variation3.phpt | 2 Test gmstrftime() function : usage variation - Passing week related format strings to format argume… 32 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 35 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 40 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 43 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 48 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 51 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 56 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead … 59 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
|
H A D | DateTime_setTime_basic1.phpt | 13 echo "Initial date: " . $datetime ->format(DATE_RFC2822) . "\n"; 16 echo "After modification1 " . $datetime ->format(DATE_RFC2822) . "\n"; 19 echo "After modification2 " . $datetime ->format(DATE_RFC2822) . "\n"; 22 echo "After modification3 " . $datetime ->format(DATE_RFC2822) . "\n"; 25 echo "After modification4 " . $datetime ->format(DATE_RFC2822) . "\n"; 28 echo "After modification5 " . $datetime ->format(DATE_RFC2822) . "\n";
|
/php-src/ext/intl/tests/ |
H A D | msgfmt_format_error4.phpt | 2 MessageFormatter::format() invalid UTF-8 for arg key or value 14 var_dump($mf->format(array("foo" => 7, "\x80" => "bar"))); 16 var_dump($mf->format(array("foo" => "\x80"))); 19 Warning: MessageFormatter::format(): Invalid UTF-8 data in argument key: '�' in %s on line %d 22 Warning: MessageFormatter::format(): Invalid UTF-8 data in string argument: '�' in %s on line %d
|
H A D | bug48227.phpt | 2 Bug #48227 (NumberFormatter::format leaks memory) 11 var_dump($x->format($value)); 19 NumberFormatter::format(): Argument #1 ($num) must be of type int|float, string given 22 Deprecated: NumberFormatter::format(): Passing null to parameter #1 ($num) of type int|float is dep… 24 NumberFormatter::format(): Argument #1 ($num) must be of type int|float, NumberFormatter given
|
H A D | gh11658.phpt | 2 GitHub #11658 MessageFormatter::format() leaks memory 10 $s = MessageFormatter::formatMessage('en', 'some {wrong.format}', []); 13 $s = msgfmt_format_message('en', 'some {wrong.format}', []); 17 …ntax error (parse error at offset 6, after "some {", before or at "wrong.format}") in %s on line %d 20 …ntax error (parse error at offset 6, after "some {", before or at "wrong.format}") in %s on line %d
|
/php-src/main/ |
H A D | snprintf.h | 72 PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...) ZEND_ATTRIBUTE_FORMAT(pri… 73 PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap); 76 PHPAPI int ap_php_vasprintf(char **buf, const char *format, va_list ap); 77 PHPAPI int ap_php_asprintf(char **buf, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3); 79 PHPAPI char * php_conv_fp(char format, double num, 134 char format, char *buf_end, size_t *len);
|