/PHP-5.5/ext/standard/ |
H A D | pack.c | 111 char *format; in PHP_FUNCTION() local 143 char c = format[i]; in PHP_FUNCTION() 152 while (format[i] >= '0' && format[i] <= '9' && i < formatlen) { in PHP_FUNCTION() 540 format = formatarg; in PHP_FUNCTION() 558 c = *format; in PHP_FUNCTION() 563 while (formatlen > 0 && *format >= '0' && *format <= '9') { in PHP_FUNCTION() 564 format++; in PHP_FUNCTION() 569 format++; in PHP_FUNCTION() 575 name = format; in PHP_FUNCTION() 580 format++; in PHP_FUNCTION() [all …]
|
H A D | datetime.c | 81 char *strptime(const char *s, const char *format, struct tm *tm); 90 char *format; in PHP_FUNCTION() local 95 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &ts, &ts_length, &format, &format_lengt… in PHP_FUNCTION() 101 unparsed_part = strptime(ts, format, &parsed_time); in PHP_FUNCTION()
|
/PHP-5.5/ext/date/tests/ |
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 | examine_diff.inc | 21 * @param string|DateTime $end_date the end date in YYYY-MM-DD format 23 * @param string|DateTime $start_date the start date in YYYY-MM-DD format 41 $start_date = $start->format('Y-m-d H:i:s T'); 48 $end_date = $end->format('Y-m-d H:i:s T'); 57 $result_spec = $result_interval->format('P%R%yY%mM%dDT%hH%iM%sS'); 63 $result_days = $result_interval->format('%a'); 69 $result_end_date = $start->format('Y-m-d H:i:s T'); 75 $result_start_date = $end->format('Y-m-d H:i:s T');
|
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 | bug48476.phpt | 13 var_dump($o->format("d")); 16 var_dump($x->format("d")); 24 Warning: DateTime::format(): The DateTime object has not been correctly initialized by its construc… 27 Warning: DateTime::format(): The DateTime object has not been correctly initialized by its construc…
|
H A D | bug50055.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
|
H A D | gmdate_variation14.phpt | 5 /* Prototype : string gmdate(string format [, long timestamp]) 14 $format = DATE_ISO8601; 18 var_dump( gmdate($format, $timestamp) ); 22 var_dump( gmdate($format, $timestamp) );
|
H A D | idate_variation3.phpt | 5 /* Prototype : int idate(string format [, int timestamp]) 14 $format = 'Y'; 19 var_dump( idate($format, $timestamp) ); 23 var_dump( idate($format, $timestamp) );
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | vfprintf_variation6.phpt | 5 /* Prototype : int vfprintf ( resource $handle , 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 64 // looping to test vfprintf() with different float formats from the above $format array
|
H A D | vprintf_variation16_64bit.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * are passed to the '$format' and '$args' arguments of the function 29 // Arrays of signed and other type of values for the format defined in $format. 30 // Each sub array contains signed values which correspond to each format in $format 63 // looping to test vprintf() with different unsigned formats from the above $format array
|
H A D | vsprintf_variation12.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 70 // looping to test vsprintf() with different octal formats from the above $format array
|
H A D | vsprintf_variation16.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * are passed to the '$format' and '$args' arguments of the function 29 // Arrays of signed and other type of values for the format defined in $format. 30 // Each sub array contains signed values which correspond to each format in $format 63 // looping to test vsprintf() with different unsigned formats from the above $format array
|
H A D | vsprintf_variation16_64bit.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * are passed to the '$format' and '$args' arguments of the function 29 // Arrays of signed and other type of values for the format defined in $format. 30 // Each sub array contains signed values which correspond to each format in $format 63 // looping to test vsprintf() with different unsigned formats from the above $format array
|
H A D | vsprintf_variation4.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non int values for the format defined in $format. 30 // Each sub array contains non int values which correspond to each format in $format 63 // looping to test vsprintf() with different int formats from the above $format array
|
H A D | vsprintf_variation4_64bit.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non int values for the format defined in $format. 30 // Each sub array contains non int values which correspond to each format in $format 63 // looping to test vsprintf() with different int formats from the above $format array
|
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 | vprintf_variation12.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 70 // looping to test vprintf() with different octal formats from the above $format array
|
H A D | vprintf_variation12_64bit.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 70 // looping to test vprintf() with different octal formats from the above $format array
|
H A D | vprintf_variation16.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * are passed to the '$format' and '$args' arguments of the function 29 // Arrays of signed and other type of values for the format defined in $format. 30 // Each sub array contains signed values which correspond to each format in $format 63 // looping to test vprintf() with different unsigned formats from the above $format array
|
H A D | vprintf_variation4.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non int values for the format defined in $format. 30 // Each sub array contains non int values which correspond to each format in $format 63 // looping to test vprintf() with different int formats from the above $format array
|
H A D | vprintf_variation4_64bit.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non int values for the format defined in $format. 30 // Each sub array contains non int values which correspond to each format in $format 63 // looping to test vprintf() with different int formats from the above $format array
|
H A D | vsprintf_variation12_64bit.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 70 // looping to test vsprintf() with different octal formats from the above $format array
|
/PHP-5.5/ext/intl/tests/ |
H A D | msgfmt_setPattern_cache.phpt | 15 var_dump($mf->format(array(1.3, 1.3))); 16 var_dump($mf->format(array(1.3, 1.3))); 18 var_dump($mf->format(array(1.3, 1.3)));
|
H A D | msgfmt_format_mixed_params.phpt | 2 MessageFormatter::format(): mixed named and numeric parameters 17 var_dump($mf->format(array(2.3, "foo" => 1.3))); 18 var_dump($mf->format(array("foo" => 1.3, 0 => 2.3)));
|