Home
last modified time | relevance | path

Searched refs:localtime (Results 1 – 25 of 29) sorted by relevance

12

/PHP-7.4/ext/date/tests/
H A Dlocaltime_variation3.phpt7 /* Prototype : array localtime([int timestamp [, bool associative_array]])
14 echo "*** Testing localtime() : usage variation ***\n";
22 var_dump( localtime($timestamp) );
23 var_dump( localtime($timestamp, $is_associative) );
27 var_dump( localtime($timestamp) );
28 var_dump( localtime($timestamp, $is_associative) );
33 *** Testing localtime() : usage variation ***
35 -- Testing localtime() function with 'float 12.3456789000e10' to timestamp --
37 Warning: localtime() expects parameter 1 to be int, float given in %s on line %d
40 Warning: localtime() expects parameter 1 to be int, float given in %s on line %d
[all …]
H A Dlocaltime_basic.phpt2 Test localtime() function : basic functionality
5 /* Prototype : array localtime([int timestamp [, bool associative_array]])
6 * Description: Returns the results of the C system call localtime as an associative array
12 echo "*** Testing localtime() : basic functionality ***\n";
20 // Calling localtime() with all possible arguments
21 var_dump( localtime($timestamp, $associative_array) );
23 // Calling localtime() with possible optional arguments
24 var_dump( localtime($timestamp) );
26 // Calling localtime() with mandatory arguments
27 var_dump( localtime() );
[all …]
H A D007.phpt2 localtime() tests
8 var_dump(localtime(1,1,1));
10 var_dump(localtime());
11 var_dump(localtime($t));
12 var_dump(localtime($t, true));
13 var_dump(localtime($t, false));
18 Warning: localtime() expects at most 2 parameters, 3 given in %s on line %d
H A Dlocaltime_variation4.phpt2 Test localtime() function : usage variation - Passing octal values to timestamp.
5 /* Prototype : array localtime([int timestamp [, bool associative_array]])
6 * Description: Returns the results of the C system call localtime as an associative array
12 echo "*** Testing localtime() : usage variation ***\n";
28 var_dump( localtime($value) );
29 var_dump( localtime($value, $is_associative) );
35 *** Testing localtime() : usage variation ***
H A Dlocaltime_variation5.phpt2 Test localtime() function : usage variation - Passing hexa decimal values to timestamp.
5 /* Prototype : array localtime([int timestamp [, bool associative_array]])
6 * Description: Returns the results of the C system call localtime as an associative array
12 echo "*** Testing localtime() : usage variation ***\n";
28 var_dump( localtime($value) );
29 var_dump( localtime($value, $is_associative) );
35 *** Testing localtime() : usage variation ***
/PHP-7.4/ext/calendar/tests/
H A Dunixtojd.phpt25 // -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-7.4/ext/intl/tests/
H A Dbug75378.phpt14 $localdate = $formatter->localtime("2017-10-12 00:00:00", $position1);
H A Ddateformat_format_parse.phpt94 //Test format and parse with a localtime :array
97 $res_str .= "\nInput localtime is : ";
256 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
270 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '7' ,…
284 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
H A Ddateformat_format_parse_version2.phpt94 //Test format and parse with a localtime :array
97 $res_str .= "\nInput localtime is : ";
256 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
270 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '7' ,…
284 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
H A Ddateformat_format.phpt102 //Test format with input as a localtime :array
105 $res_str .= "\nInput localtime is : ";
276 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
291 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '4' ,…
306 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
H A Ddateformat_format_variant3.phpt102 //Test format with input as a localtime :array
105 $res_str .= "\nInput localtime is : ";
276 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
291 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '4' ,…
306 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
H A Ddateformat_format_variant2.phpt102 //Test format with input as a localtime :array
105 $res_str .= "\nInput localtime is : ";
276 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
291 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '4' ,…
306 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
/PHP-7.4/ext/date/
H A Dphp_date.h43 PHP_FUNCTION(localtime);
206 PHPAPI int php_idate(char format, time_t ts, int localtime);
211 PHPAPI zend_string *php_format_date(char *format, size_t format_len, time_t ts, int localtime);
H A Dphp_date.c431 PHP_FE(localtime, arginfo_localtime)
1133 if (localtime) { in date_format()
1215 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1221 case 'e': if (!localtime) { in date_format()
1248 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1272 if (localtime) { in date_format()
1306 if (localtime) { in php_format_date()
1335 if (!localtime) { in php_idate()
1345 if (!localtime) { in php_idate()
1411 if (!localtime) { in php_idate()
[all …]
/PHP-7.4/ext/date/lib/
H A Dtimelib_private.h131 int timelib_apply_localtime(timelib_time *t, unsigned int localtime);
H A Dunixtime2tm.c255 int timelib_apply_localtime(timelib_time *t, unsigned int localtime) in timelib_apply_localtime() argument
257 if (localtime) { in timelib_apply_localtime()
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_debug.c41 time_string = asctime(localtime(&timestamp)); in zend_accel_error()
/PHP-7.4/ext/standard/tests/time/
H A Dstrptime_error.phpt2 Test localtime() function : error conditions
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_log.c391 strftime(tmp, sizeof(tmp) - 1, "%d/%b/%Y:%H:%M:%S %z", localtime(t)); in fpm_log_write()
393 strftime(tmp, sizeof(tmp) - 1, format, localtime(t)); in fpm_log_write()
H A Dfpm_status.c454 strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&scoreboard.start_epoch)); in fpm_status_handle_request()
539 strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&proc.start_epoch)); in fpm_status_handle_request()
/PHP-7.4/main/
H A Dreentrancy.c120 tmp = localtime(timep); in php_localtime_r()
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_class.c179 PHP_NAMED_FE( localtime, ZEND_FN( datefmt_localtime ), datefmt_parse_args )
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_debug.c96 if ((tm_p= localtime((const time_t *)&tv.tv_sec))) { in MYSQLND_METHOD()
193 if ((tm_p= localtime((const time_t *)&tv.tv_sec))) { in MYSQLND_METHOD()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_out.c1281 strftime(friendly, 100, "%a %b %d %H.%%04d %Y", localtime(&tt)); in phpdbg_rlog_internal()
1283 strftime(friendly, 100, "%a %b %d %T.%%04d %Y", localtime(&tt)); in phpdbg_rlog_internal()
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxml_to_soap.c516 struct tm *tm = localtime (&tt); in SOAP_to_xml_element_worker()

Completed in 82 milliseconds

12