/php-src/ext/date/ |
H A D | php_date.c | 1327 …while ((real_len = strftime(ZSTR_VAL(buf), buf_len, ZSTR_VAL(format), &ta)) == buf_len || real_len… in php_strftime() 1357 PHP_FUNCTION(strftime) in PHP_FUNCTION() argument
|
H A D | php_date.stub.php | 125 function strftime(string $format, ?int $timestamp = null): string|false {} function
|
H A D | php_date_arginfo.h | 526 ZEND_FUNCTION(strftime);
|
/php-src/sapi/fpm/fpm/ |
H A D | zlog.c | 82 len = strftime(timebuf, timebuf_len, "[%d-%b-%Y %H:%M:%S", in zlog_print_time()
|
H A D | fpm_status.c | 484 …strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&scoreboard_p->start_epoch)); in fpm_status_handle_request() 591 strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&proc->start_epoch)); in fpm_status_handle_request()
|
H A D | fpm_log.c | 412 strftime(tmp, sizeof(tmp) - 1, "%d/%b/%Y:%H:%M:%S %z", localtime(t)); in fpm_log_write() 414 strftime(tmp, sizeof(tmp) - 1, format, localtime(t)); in fpm_log_write()
|
/php-src/ext/fileinfo/libmagic/ |
H A D | print.c | 323 if (strftime(buf, bsize, "%a, %b %d %Y", &tm) == 0) in file_fmtdate() 342 if (strftime(buf, bsize, "%T", &tm) == 0) in file_fmttime()
|
/php-src/ext/pdo_firebird/ |
H A D | firebird_statement.c | 494 size_t len = strftime(buf, sizeof(buf), fmt, &t); in pdo_firebird_stmt_get_col()
|
/php-src/ext/soap/ |
H A D | php_encoding.c | 2876 while ((real_len = strftime(buf, buf_len, format, ta)) == buf_len || real_len == 0) { in to_xml_datetime_ex()
|
/php-src/sapi/fpm/ |
H A D | www.conf.in | 342 ; it can accept a strftime(3) format: 344 ; The strftime(3) format must be encapsulated in a %{<strftime_format>}t tag 347 ; it can accept a strftime(3) format: 349 ; The strftime(3) format must be encapsulated in a %{<strftime_format>}t tag
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 1579 strftime( time_buf, 30, "%d/%b/%Y:%H:%M:%S", localtime( &tv_req_end.tv_sec ) ); in main()
|
/php-src/ext/standard/tests/time/ |
H A D | strptime_basic.phpt | 11 if (!@strftime('%Z')) die('skip strftime does not support %Z'); 23 $str = strftime("%r %B%e %Y %Z", $tstamp); 26 $str = strftime("%T %D", $tstamp); 29 $str = strftime("%A %B %e %R", $tstamp); 37 Deprecated: Function strftime() is deprecated in %s on line %d 61 Deprecated: Function strftime() is deprecated in %s on line %d 85 Deprecated: Function strftime() is deprecated in %s on line %d
|
H A D | strptime_parts.phpt | 8 if (!@strftime('%Z')) die('skip strftime does not support %Z'); 21 $str = strftime("%r %B%e %Y %Z", $tstamp); 30 $str = strftime("%T %D", $tstamp); 39 $str = strftime("%A %B %e %R", $tstamp); 53 Deprecated: Function strftime() is deprecated in %s on line %d 63 Deprecated: Function strftime() is deprecated in %s on line %d 73 Deprecated: Function strftime() is deprecated in %s on line %d
|
/php-src/ext/standard/tests/strings/ |
H A D | bug65230.phpt | 25 printf("date: %s\n", strftime('%x', mktime(0, 0, 0, 12, 5, 2014)));
|
/php-src/ext/date/tests/ |
H A D | strftime_basic.phpt | 2 Test strftime() function : basic functionality 5 echo "*** Testing strftime() : basic functionality ***\n"; 12 // Calling strftime() with all possible arguments 13 var_dump( strftime($format, $timestamp) ); 15 // Calling strftime() with mandatory arguments 16 var_dump( strftime($format) ); 20 *** Testing strftime() : basic functionality *** 22 Deprecated: Function strftime() is deprecated in %s on line %d 25 Deprecated: Function strftime() is deprecated in %s on line %d
|
H A D | strftime_variation10.phpt | 2 Test strftime() function : usage variation - Checking week related formats which are supported othe… 11 echo "*** Testing strftime() : usage variation ***\n"; 28 var_dump( strftime($value) ); 29 var_dump( strftime($value, $timestamp) ); 34 *** Testing strftime() : usage variation *** 38 Deprecated: Function strftime() is deprecated in %s on line %d 41 Deprecated: Function strftime() is deprecated in %s on line %d 46 Deprecated: Function strftime() is deprecated in %s on line %d 49 Deprecated: Function strftime() is deprecated in %s on line %d
|
H A D | strftime_variation11.phpt | 2 Test strftime() function : usage variation - Checking month related formats which was not supported… 5 echo "*** Testing strftime() : usage variation ***\n"; 12 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n"; 14 var_dump( strftime($format) ); 15 var_dump( strftime($format, $timestamp) ); 19 *** Testing strftime() : usage variation *** 21 -- Testing strftime() function with Abbreviated month name format %h -- 23 Deprecated: Function strftime() is deprecated in %s on line %d 26 Deprecated: Function strftime() is deprecated in %s on line %d
|
H A D | strftime_variation12.phpt | 2 Test strftime() function : usage variation - Checking month related formats which are supported oth… 11 echo "*** Testing strftime() : usage variation ***\n"; 18 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n"; 20 var_dump( strftime($format) ); 21 var_dump( strftime($format, $timestamp) ); 25 *** Testing strftime() : usage variation *** 27 -- Testing strftime() function with Abbreviated month name format %h -- 29 Deprecated: Function strftime() is deprecated in %s on line %d 32 Deprecated: Function strftime() is deprecated in %s on line %d
|
H A D | strftime_variation13.phpt | 5 echo "*** Testing strftime() : usage variation ***\n"; 24 var_dump( strftime($value) ); 25 var_dump( strftime($value, $timestamp) ); 30 *** Testing strftime() : usage variation *** 34 Deprecated: Function strftime() is deprecated in %s on line %d 37 Deprecated: Function strftime() is deprecated in %s on line %d 42 Deprecated: Function strftime() is deprecated in %s on line %d 45 Deprecated: Function strftime() is deprecated in %s on line %d 50 Deprecated: Function strftime() is deprecated in %s on line %d 53 Deprecated: Function strftime() is deprecated in %s on line %d [all …]
|
H A D | strftime_variation14.phpt | 11 echo "*** Testing strftime() : usage variation ***\n"; 30 var_dump( strftime($value) ); 31 var_dump( strftime($value, $timestamp) ); 36 *** Testing strftime() : usage variation *** 40 Deprecated: Function strftime() is deprecated in %s on line %d 43 Deprecated: Function strftime() is deprecated in %s on line %d 48 Deprecated: Function strftime() is deprecated in %s on line %d 51 Deprecated: Function strftime() is deprecated in %s on line %d 56 Deprecated: Function strftime() is deprecated in %s on line %d 59 Deprecated: Function strftime() is deprecated in %s on line %d [all …]
|
H A D | strftime_variation15.phpt | 2 Test strftime() function : usage variation - Checking time related formats which was not supported … 5 echo "*** Testing strftime() : usage variation ***\n"; 23 var_dump( strftime($value) ); 24 var_dump( strftime($value, $timestamp) ); 29 *** Testing strftime() : usage variation *** 33 Deprecated: Function strftime() is deprecated in %s on line %d 36 Deprecated: Function strftime() is deprecated in %s on line %d 41 Deprecated: Function strftime() is deprecated in %s on line %d 44 Deprecated: Function strftime() is deprecated in %s on line %d 49 Deprecated: Function strftime() is deprecated in %s on line %d [all …]
|
H A D | strftime_variation16.phpt | 2 Test strftime() function : usage variation - Checking time related formats which are supported othe… 11 echo "*** Testing strftime() : usage variation ***\n"; 29 var_dump( strftime($value) ); 30 var_dump( strftime($value, $timestamp) ); 35 *** Testing strftime() : usage variation *** 39 Deprecated: Function strftime() is deprecated in %s on line %d 42 Deprecated: Function strftime() is deprecated in %s on line %d 47 Deprecated: Function strftime() is deprecated in %s on line %d 50 Deprecated: Function strftime() is deprecated in %s on line %d 55 Deprecated: Function strftime() is deprecated in %s on line %d [all …]
|
H A D | strftime_variation17.phpt | 2 Test strftime() function : usage variation - Checking day related formats which was not supported o… 5 echo "*** Testing strftime() : usage variation ***\n"; 12 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n"; 14 var_dump( strftime($format) ); 15 var_dump( strftime($format, $timestamp) ); 18 *** Testing strftime() : usage variation *** 20 -- Testing strftime() function with Day of the month as decimal single digit format -- 22 Deprecated: Function strftime() is deprecated in %s on line %d 25 Deprecated: Function strftime() is deprecated in %s on line %d
|
H A D | strftime_variation18.phpt | 2 Test strftime() function : usage variation - Checking day related formats which are supported other… 11 echo "*** Testing strftime() : usage variation ***\n"; 18 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n"; 20 var_dump( strftime($format) ); 21 var_dump( strftime($format, $timestamp) ); 24 *** Testing strftime() : usage variation *** 26 -- Testing strftime() function with Day of the month as decimal single digit format -- 28 Deprecated: Function strftime() is deprecated in %s on line %d 31 Deprecated: Function strftime() is deprecated in %s on line %d
|
H A D | strftime_variation19.phpt | 2 Test strftime() function : usage variation - Checking newline and tab formats which was not support… 5 echo "*** Testing strftime() : usage variation ***\n"; 22 var_dump( strftime($value) ); 23 var_dump( strftime($value, $timestamp) ); 28 *** Testing strftime() : usage variation *** 32 Deprecated: Function strftime() is deprecated in %s on line %d 36 Deprecated: Function strftime() is deprecated in %s on line %d 42 Deprecated: Function strftime() is deprecated in %s on line %d 45 Deprecated: Function strftime() is deprecated in %s on line %d
|