/php-src/ext/date/tests/ |
H A D | localtime_basic.phpt | 2 Test localtime() function : basic functionality 5 echo "*** Testing localtime() : basic functionality ***\n"; 13 // Calling localtime() with all possible arguments 14 var_dump( localtime($timestamp, $associative_array) ); 16 // Calling localtime() with possible optional arguments 17 var_dump( localtime($timestamp) ); 19 // Calling localtime() with mandatory arguments 20 var_dump( localtime() ); 24 *** Testing localtime() : basic functionality ***
|
H A D | 007.phpt | 2 localtime() tests 9 var_dump(localtime()); 10 var_dump(localtime($t)); 11 var_dump(localtime($t, true)); 12 var_dump(localtime($t, false));
|
H A D | localtime_variation4.phpt | 2 Test localtime() function : usage variation - Passing octal values to timestamp. 5 echo "*** Testing localtime() : usage variation ***\n"; 21 var_dump( localtime($value) ); 22 var_dump( localtime($value, $is_associative) ); 27 *** Testing localtime() : usage variation ***
|
H A D | localtime_variation5.phpt | 2 Test localtime() function : usage variation - Passing hexa decimal values to timestamp. 5 echo "*** Testing localtime() : usage variation ***\n"; 21 var_dump( localtime($value) ); 22 var_dump( localtime($value, $is_associative) ); 27 *** Testing localtime() : usage variation ***
|
/php-src/ext/calendar/tests/ |
H A D | unixtojd.phpt | 25 // -easter_date() calls mktime() and localtime() 26 // -whereas unixtojd(1000000000) calls localtime(1000000000) 30 // -this incorrect localtime is passed to the julian date conversion (GregorianToSDN) function whi…
|
/php-src/ext/intl/tests/ |
H A D | bug75378.phpt | 12 $localdate = $formatter->localtime("2017-10-12 00:00:00", $position1);
|
H A D | dateformat_format_parse_version_icu72-1.phpt | 95 //Test format and parse with a localtime :array 98 $res_str .= "\nInput localtime is : "; 257 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,… 271 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '7' ,… 285 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
|
H A D | dateformat_format_parse_version2.phpt | 95 //Test format and parse with a localtime :array 98 $res_str .= "\nInput localtime is : "; 257 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,… 271 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '7' ,… 285 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
|
H A D | dateformat_format_variant3.phpt | 103 //Test format with input as a localtime :array 106 $res_str .= "\nInput localtime is : "; 277 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,… 292 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '4' ,… 307 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
|
H A D | ut_common.inc | 402 …return $GLOBALS['oo-mode'] ? $fmt->localtime( $value , $parse_pos ) : datefmt_localtime( $fmt , …
|
/php-src/ext/date/ |
H A D | php_date.h | 137 PHPAPI int php_idate(char format, time_t ts, bool localtime); 142 …API zend_string *php_format_date(const char *format, size_t format_len, time_t ts, bool localtime);
|
H A D | php_date.c | 691 if (localtime) { in date_format() 784 localtime ? abs(offset->offset / 3600) : 0, in date_format() 790 case 'e': if (!localtime) { in date_format() 817 localtime ? abs(offset->offset / 3600) : 0, in date_format() 826 localtime ? abs(offset->offset / 3600) : 0, in date_format() 841 if (localtime) { in date_format() 885 if (localtime) { in php_format_date() 913 if (!localtime) { in php_idate() 923 if (!localtime) { in php_idate() 991 if (!localtime) { in php_idate() [all …]
|
H A D | php_date.stub.php | 142 function localtime(?int $timestamp = null, bool $associative = false): array {} function
|
H A D | php_date_arginfo.h | 529 ZEND_FUNCTION(localtime); 630 ZEND_FE(localtime, arginfo_localtime)
|
/php-src/ext/standard/tests/time/ |
H A D | strptime_error.phpt | 2 Test localtime() function : error conditions
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_debug.c | 40 time_string = asctime(localtime(×tamp)); in zend_accel_error_va_args()
|
/php-src/ext/date/lib/ |
H A D | timelib_private.h | 168 int timelib_apply_localtime(timelib_time *t, unsigned int localtime);
|
H A D | unixtime2tm.c | 218 int timelib_apply_localtime(timelib_time *t, unsigned int localtime) in timelib_apply_localtime() argument 220 if (localtime) { in timelib_apply_localtime()
|
/php-src/ext/intl/dateformat/ |
H A D | dateformat.stub.php | 173 public function localtime(string $string, &$offset = null): array|false {} function in IntlDateFormatter
|
/php-src/main/ |
H A D | reentrancy.c | 116 tmp = localtime(timep); in php_localtime_r()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_log.c | 408 strftime(tmp, sizeof(tmp) - 1, "%d/%b/%Y:%H:%M:%S %z", localtime(t)); in fpm_log_write() 410 strftime(tmp, sizeof(tmp) - 1, format, localtime(t)); in fpm_log_write()
|
H A D | fpm_status.c | 495 …strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&scoreboard_p->start_epoch)); in fpm_status_handle_request() 604 strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&proc->start_epoch)); in fpm_status_handle_request()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 83 if ((tm_p = localtime((const time_t *)&sec))) { in MYSQLND_METHOD() 170 if ((tm_p = localtime((const time_t *)&sec))) { in MYSQLND_METHOD()
|
/php-src/ext/com_dotnet/ |
H A D | com_variant.c | 985 tmv = localtime(&ttstamp); in PHP_FUNCTION()
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 1575 strftime( time_buf, 30, "%d/%b/%Y:%H:%M:%S", localtime( &tv_req_end.tv_sec ) ); in main()
|