Home
last modified time | relevance | path

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

12

/PHP-5.4/ext/date/tests/
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 Dlocaltime_variation3.phpt5 /* 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";
18 echo "\n-- Testing localtime() function with 'float 12.3456789000e10' to timestamp --\n";
20 var_dump( localtime($timestamp) );
21 var_dump( localtime($timestamp, $is_associative) );
25 var_dump( localtime($timestamp) );
26 var_dump( localtime($timestamp, $is_associative) );
31 \*\*\* Testing localtime\(\) : usage variation \*\*\*
33 -- Testing localtime\(\) function with 'float 12.3456789000e10' to timestamp --
[all …]
H A Dlocaltime_error.phpt2 Test localtime() function : error conditions
5 /* Prototype : array localtime([int timestamp [, bool associative_array]])
6 * Description: Returns the results of the C system call localtime as an associative array
15 echo "*** Testing localtime() : error conditions ***\n";
17 echo "\n-- Testing localtime() function with more than expected no. of arguments --\n";
21 var_dump( localtime($timestamp, $assoc, $extra_arg) );
26 *** Testing localtime() : error conditions ***
28 -- Testing localtime() function with more than expected no. of arguments --
30 Warning: localtime() expects at most 2 parameters, 3 given in %s on line %d
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_variation1.phpt5 /* 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";
92 var_dump( localtime($value) );
93 var_dump( localtime($value, $is_associative) );
99 *** Testing localtime() : usage variation ***
229 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d
232 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d
237 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d
240 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d
[all …]
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 ***
H A Dlocaltime_variation2.phpt5 /* 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";
100 var_dump( localtime($timestamp, $value) );
106 *** Testing localtime() : usage variation ***
308 Warning: localtime() expects parameter 2 to be boolean, array given in %s on line %d
313 Warning: localtime() expects parameter 2 to be boolean, array given in %s on line %d
318 Warning: localtime() expects parameter 2 to be boolean, array given in %s on line %d
323 Warning: localtime() expects parameter 2 to be boolean, array given in %s on line %d
592 Warning: localtime() expects parameter 2 to be boolean, object given in %s on line %d
[all …]
/PHP-5.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-5.4/ext/date/
H A Dphp_date.h46 PHP_FUNCTION(localtime);
166 PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC);
171 PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC);
H A Dphp_date.c401 PHP_FE(localtime, arginfo_localtime)
1023 if (localtime) { in date_format()
1103 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1109 case 'e': if (!localtime) { in date_format()
1136 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1160 if (localtime) { in date_format()
1195 if (localtime) { in php_format_date()
1224 if (!localtime) { in php_idate()
1234 if (!localtime) { in php_idate()
1299 if (!localtime) { in php_idate()
[all …]
/PHP-5.4/ext/intl/tests/
H A Ddateformat_format_parse.phpt93 //Test format and parse with a localtime :array
96 $res_str .= "\nInput localtime is : ";
255 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
269 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '7' ,…
283 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
H A Ddateformat_format.phpt99 //Test format with input as a localtime :array
102 $res_str .= "\nInput localtime is : ";
273 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
288 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '4' ,…
303 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
/PHP-5.4/ext/fileinfo/libmagic/
H A Dprint.c99 tm1 = localtime(&now); in file_fmttime()
/PHP-5.4/ext/date/lib/
H A Dunixtime2tm.c272 int timelib_apply_localtime(timelib_time *t, unsigned int localtime) in timelib_apply_localtime() argument
274 if (localtime) { in timelib_apply_localtime()
H A Dtimelib.h90 int timelib_apply_localtime(timelib_time *t, unsigned int localtime);
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_status.c357 strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&scoreboard.start_epoch)); in fpm_status_handle_request()
439 strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&proc.start_epoch)); in fpm_status_handle_request()
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()
/PHP-5.4/ext/intl/doc/
H A Ddatefmt_api.php121 public function localtime($value, $parse_pos=0) {} function in DateFormatter
/PHP-5.4/ext/standard/tests/time/
H A Dstrptime_error.phpt2 Test localtime() function : error conditions
/PHP-5.4/main/
H A Dreentrancy.c182 tmp = localtime(timep); in php_localtime_r()
/PHP-5.4/ext/intl/dateformat/
H A Ddateformat_class.c178 PHP_NAMED_FE( localtime, ZEND_FN( datefmt_localtime ), datefmt_parse_args )
/PHP-5.4/ext/zip/lib/
H A Dzip_dirent.c385 l = localtime(&now); in _zip_dirent_torrent_normalize()
613 tm = localtime(&time); in _zip_u2d_time()
/PHP-5.4/
H A DUPGRADING.INTERNALS176 PHPAPI php_idate(char format, time_t ts, int localtime TSRMLS_DC)
177 Call: int ret = php_idate(format, ts, localtime TSRMLS_CC)
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_debug.c107 if ((tm_p= localtime((const time_t *)&tv.tv_sec))) { in MYSQLND_METHOD()
205 if ((tm_p= localtime((const time_t *)&tv.tv_sec))) { in MYSQLND_METHOD()

Completed in 61 milliseconds

12