/PHP-7.2/ext/date/tests/ |
H A D | localtime_variation3.phpt | 7 /* 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 integer, float given in %s on line %d 40 Warning: localtime() expects parameter 1 to be integer, float given in %s on line %d [all …]
|
H A D | localtime_basic.phpt | 2 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 D | localtime_error.phpt | 2 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 D | 007.phpt | 2 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 D | localtime_variation1.phpt | 2 Test localtime() function : usage variation - Passing unexpected values to first argument 'timestam… 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"; 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 integer, array given in %s on line %d 232 Warning: localtime() expects parameter 1 to be integer, array given in %s on line %d 237 Warning: localtime() expects parameter 1 to be integer, array given in %s on line %d [all …]
|
H A D | localtime_variation4.phpt | 2 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 D | localtime_variation5.phpt | 2 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 D | localtime_variation2.phpt | 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"; 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-7.2/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-7.2/ext/intl/tests/ |
H A D | bug75378.phpt | 14 $localdate = $formatter->localtime("2017-10-12 00:00:00", $position1);
|
H A D | dateformat_format_parse.phpt | 94 //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 D | dateformat_format_parse_version2.phpt | 94 //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 D | dateformat_format.phpt | 102 //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 D | dateformat_format_variant2.phpt | 102 //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 D | dateformat_format_variant3.phpt | 102 //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.2/ext/date/ |
H A D | php_date.h | 49 PHP_FUNCTION(localtime); 213 PHPAPI int php_idate(char format, time_t ts, int localtime); 218 PHPAPI zend_string *php_format_date(char *format, size_t format_len, time_t ts, int localtime);
|
H A D | php_date.c | 428 PHP_FE(localtime, arginfo_localtime) 1126 if (localtime) { in date_format() 1208 localtime ? abs(offset->offset / 3600) : 0, in date_format() 1214 case 'e': if (!localtime) { in date_format() 1241 localtime ? abs(offset->offset / 3600) : 0, in date_format() 1265 if (localtime) { in date_format() 1299 if (localtime) { in php_format_date() 1328 if (!localtime) { in php_idate() 1338 if (!localtime) { in php_idate() 1404 if (!localtime) { in php_idate() [all …]
|
/PHP-7.2/ext/date/lib/ |
H A D | timelib_private.h | 140 int timelib_apply_localtime(timelib_time *t, unsigned int localtime);
|
H A D | unixtime2tm.c | 255 int timelib_apply_localtime(timelib_time *t, unsigned int localtime) in timelib_apply_localtime() argument 257 if (localtime) { in timelib_apply_localtime()
|
/PHP-7.2/ext/opcache/ |
H A D | zend_accelerator_debug.c | 41 time_string = asctime(localtime(×tamp)); in zend_accel_error()
|
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | print.c | 104 tm1 = localtime(&now); in file_fmttime()
|
/PHP-7.2/ext/intl/doc/ |
H A D | datefmt_api.php | 121 public function localtime($value, $parse_pos=0) {} function in DateFormatter
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_status.c | 358 strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&scoreboard.start_epoch)); in fpm_status_handle_request() 443 strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&proc.start_epoch)); in fpm_status_handle_request()
|
H A D | fpm_log.c | 392 strftime(tmp, sizeof(tmp) - 1, "%d/%b/%Y:%H:%M:%S %z", localtime(t)); in fpm_log_write() 394 strftime(tmp, sizeof(tmp) - 1, format, localtime(t)); in fpm_log_write()
|
/PHP-7.2/ext/standard/tests/time/ |
H A D | strptime_error.phpt | 2 Test localtime() function : error conditions
|