/PHP-5.3/ext/date/tests/ |
H A D | gmdate_basic.phpt | 5 /* Prototype : string gmdate(string format [, long timestamp]) 15 $format = DATE_ISO8601; 19 var_dump( gmdate($format, $timestamp) ); 22 var_dump( gmdate($format) );
|
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 | bug52062.phpt | 12 var_dump($d->format('Y-m-d H:i:s U')); 14 var_dump($d->format('U')); 17 var_dump($d->format('Y-m-d H:i:s U')); 21 var_dump($i->format('%s'));
|
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 | date_format_error.phpt | 5 /* Prototype : string date_format ( DateTime $object , string $format ) 6 * Description: Returns date formatted according to given format 8 * Alias to functions: DateTime::format 25 $format = "F j, Y, g:i a"; 27 var_dump( date_format($date, $format, $extra_arg) ); 31 var_dump( date_format($invalid_obj, $format) ); 33 var_dump( date_format($invalid_obj, $format) ); 35 var_dump( date_format($invalid_obj, $format) );
|
H A D | 005.phpt | 29 Warning: idate(): Unrecognized date format token. in %s on line %d 32 Warning: idate(): idate format is one char in %s on line %d 35 Warning: idate(): Unrecognized date format token. in %s on line %d 39 Warning: idate(): Unrecognized date format token. in %s on line %d 42 Warning: idate(): Unrecognized date format token. in %s on line %d
|
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 | oo_002.phpt | 9 var_dump($d->format(DateTime::RFC822)); 11 var_dump($c->format(DateTime::RFC822)); 14 var_dump($d->format(DateTime::RFC822)); 15 var_dump($c->format(DateTime::RFC822));
|
H A D | bug49585.phpt | 8 var_dump($date->format('r')); 11 var_dump($date->format('r')); 12 var_dump($date->format('c'));
|
H A D | gmdate_variation5.phpt | 2 Test gmdate() function : usage variation - Passing Week representation to format. 5 /* Prototype : string gmdate(string format [, long timestamp]) 17 echo "\n-- Testing gmdate() function with ISO-8601 week number of year format --\n"; 26 -- Testing gmdate() function with ISO-8601 week number of year format --
|
H A D | gmstrftime_basic.phpt | 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 14 $format = '%b %d %Y %H:%M:%S'; 18 var_dump( gmstrftime($format, $timestamp) ); 21 var_dump( gmstrftime($format) );
|
H A D | strftime_basic.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 15 $format = '%b %d %Y %H:%M:%S'; 19 var_dump( strftime($format, $timestamp) ); 22 var_dump( strftime($format) );
|
H A D | idate_variation6.phpt | 2 Test idate() function : usage variation - Checking return of year(1 or 2 digits) format starting wi… 5 /* Prototype : int idate(string format [, int timestamp]) 15 $format = 'y'; 19 var_dump( idate($format, $timestamp) ); 23 var_dump( idate($format, $timestamp) );
|
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'));
|
/PHP-5.3/ext/standard/tests/image/ |
H A D | getimagesize_wbmp.phpt | 2 GetImageSize() for wbmp format 6 die("skip wbmp file format is not available"); 17 echo "*** Testing getimagesize() : wbmp format ***\n"; 24 *** Testing getimagesize() : wbmp format ***
|
H A D | getimagesize_xbm.phpt | 2 GetImageSize() for xbm format 6 die("skip xbm file format is not available"); 17 echo "*** Testing getimagesize() : xbm format ***\n"; 24 *** Testing getimagesize() : xbm format ***
|
H A D | getimagesize_tif_mm.phpt | 2 GetImageSize() for tiff format with big-endian (aka Motorola, aka MM) ordering 6 die("skip tiff_mm file format is not available"); 17 echo "*** Testing getimagesize() : tiff_mm format ***\n"; 24 *** Testing getimagesize() : tiff_mm format ***
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | vsprintf_variation6.phpt | 5 /* Prototype : string vsprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 25 // Arrays of non float values for the format defined in $format. 26 // Each sub array contains non float values which correspond to each format in $format 59 // looping to test vsprintf() with different float formats from the above $format array
|
H A D | vfprintf_variation20.phpt | 2 Test vfprintf() function : usage variations - unexpected values for the format argument 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 11 * Test vfprintf() when different unexpected format strings are passed to 12 * the '$format' argument of the function 15 echo "*** Testing vfprintf() : with unexpected values for format argument ***\n"; 91 fprintf($fp, "\n*** Testing vprintf() with with unexpected values for format argument ***\n"); 109 *** Testing vfprintf() : with unexpected values for format argument *** 121 *** Testing vprintf() with with unexpected values for format argument ***
|
H A D | printf.phpt | 14 /* Various input arrays for different format types */ 158 echo "\n Input Strings format variation array is:\n"; 177 echo "\n Input format variation array is:\n"; 591 Input Strings format variation array is: 623 Input format variation array is: 665 *** Output for '%%%.2f' as the format parameter *** 668 *** Output for '%%' as the format parameter *** 679 *** Output for '%F' as the format parameter *** 682 *** Output for '%X' as the format parameter *** 685 *** Output with no format parameter *** [all …]
|
H A D | printf_64bit.phpt | 14 /* Various input arrays for different format types */ 158 echo "\n Input Strings format variation array is:\n"; 177 echo "\n Input format variation array is:\n"; 591 Input Strings format variation array is: 623 Input format variation array is: 665 *** Output for '%%%.2f' as the format parameter *** 668 *** Output for '%%' as the format parameter *** 679 *** Output for '%F' as the format parameter *** 682 *** Output for '%X' as the format parameter *** 685 *** Output with no format parameter *** [all …]
|
H A D | vprintf_variation6.phpt | 5 /* Prototype : string vprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 25 // Arrays of non float values for the format defined in $format. 26 // Each sub array contains non float values which correspond to each format in $format 59 // looping to test vprintf() with different float formats from the above $format array
|
H A D | vprintf_variation8.phpt | 5 /* Prototype : string vprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 27 // Arrays of non string values for the format defined in $format. 28 // Each sub array contains non string values which correspond to each format in $format 62 // looping to test vprintf() with different string formats from the above $format array
|
/PHP-5.3/ext/standard/ |
H A D | pack.c | 112 char *format; in PHP_FUNCTION() local 144 char c = format[i]; in PHP_FUNCTION() 153 while (format[i] >= '0' && format[i] <= '9' && i < formatlen) { in PHP_FUNCTION() 530 format = formatarg; in PHP_FUNCTION() 548 c = *format; in PHP_FUNCTION() 553 while (formatlen > 0 && *format >= '0' && *format <= '9') { in PHP_FUNCTION() 554 format++; in PHP_FUNCTION() 559 format++; in PHP_FUNCTION() 565 name = format; in PHP_FUNCTION() 570 format++; in PHP_FUNCTION() [all …]
|