/PHP-7.4/ext/standard/ |
H A D | php_rand.h | 66 #define GENERATE_SEED() (((zend_long) (time(0) * GetCurrentProcessId())) ^ ((zend_long) (1000000.0 … 68 #define GENERATE_SEED() (((zend_long) (time(0) * getpid())) ^ ((zend_long) (1000000.0 * php_combine…
|
/PHP-7.4/ext/date/tests/ |
H A D | bug55407.phpt | 9 public static function createFromFormat($format, $time, \DateTimeZone $timezone = null) { 10 return new DateTime(parent::createFromFormat($format, $time, $timezone));
|
H A D | DateTime_extends_basic1.phpt | 6 //Set the default time zone 28 echo "\n -- modify date and time --\n"; 45 -- modify date and time --
|
H A D | date-time-modify-times.phpt | 2 Test for DateTime::modify() with absolute time statements 9 'october 23:00', // October 23rd, with a broken time 18 'october 23:00', // October 23rd, with a broken time
|
H A D | gmstrftime_variation16.phpt | 2 Test gmstrftime() function : usage variation - Checking time related formats which are supported ot… 12 * Description: Format a GMT/UCT time/date according to locale settings 28 'Current time %H:%M:%S format' => "%T", 52 --Current time %H:%M:%S format--
|
H A D | gmstrftime_variation6.phpt | 2 Test gmstrftime() function : usage variation - Passing time related format strings to format argume… 6 * Description: Format a GMT/UCT time/date according to locale settings 23 'AM/PM format for a time' => "%p", 52 --AM/PM format for a time--
|
H A D | strftime_variation16.phpt | 2 Test strftime() function : usage variation - Checking time related formats which are supported othe… 12 * Description: Format a local time/date according to locale settings 28 'Current time %H:%M:%S format' => "%T", 52 --Current time %H:%M:%S format--
|
H A D | strftime_variation6.phpt | 2 Test strftime() function : usage variation - Passing time related format strings to format argument. 6 * Description: Format a local time/date according to locale settings 24 'AM/PM format for a time' => "%p", 53 --AM/PM format for a time--
|
H A D | bug52430.phpt | 2 Bug #52430 (date_parse parse 24:xx:xx as valid time) 28 string(27) "The parsed time was invalid"
|
H A D | bug50055.phpt | 2 Bug #50555 (DateTime::sub() allows 'relative' time modifications). 26 Warning: date_sub(): Only non-special relative time specifications are supported for subtraction in… 30 Warning: date_sub(): Only non-special relative time specifications are supported for subtraction in…
|
H A D | bug35425.phpt | 8 $time = mktime(1,1,1,1,1,2005); 10 var_dump(idate($v, $time));
|
/PHP-7.4/Zend/tests/ |
H A D | constant_expressions_dynamic_class_name_error.phpt | 2 Dynamic class names can't be used in compile-time constant refs 11 Fatal error: Dynamic class names are not allowed in compile-time class constant references in %s on…
|
H A D | bug74093.phpt | 2 Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log) 20 Fatal error: Maximum execution time of 1+1 seconds exceeded %s
|
/PHP-7.4/ext/intl/tests/ |
H A D | calendar_setTimeZone_error2.phpt | 2 IntlCalendar::setTimeZone(): valid time zones for DateTime but not ICU 23 Warning: IntlCalendar::setTimeZone(): intlcal_set_time_zone: time zone id 'WEST' extracted from ext… 26 Warning: IntlCalendar::setTimeZone(): intlcal_set_time_zone: object has an time zone offset that's …
|
H A D | calendar_getTime_basic.phpt | 20 $time = strtotime('2012-02-29 00:00:00 +0000'); 22 var_dump((float)$time*1000, $intlcal->getTime());
|
H A D | msgfmt_format_simple_types_numeric_strings.phpt | 21 time {g,time} 51 time %d:%d:05 PM
|
/PHP-7.4/ext/sqlite3/tests/ |
H A D | sqlite3_04_update.phpt | 9 define('TIMENOW', time()); 12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)')); 15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')")); 16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
|
H A D | sqlite3_05_delete.phpt | 9 define('TIMENOW', time()); 12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)')); 15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')")); 16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
|
/PHP-7.4/ext/standard/tests/misc/ |
H A D | time_sleep_until_basic.phpt | 14 $time = microtime(true) + 2; 15 $sleepUntil = (int) $time; 29 $now = $tmp >= (int)$time ? $tmp : $tmp + .05; 36 echo "Sleep until (before truncation): ", $time, "\n";
|
/PHP-7.4/tests/func/ |
H A D | 004.phpt | 25 echo "Calling function for the first time...\n"; 29 echo "Calling the function for the second time...\n"; 39 Calling function for the first time... 55 Calling the function for the second time...
|
/PHP-7.4/ext/sockets/tests/ |
H A D | socket_select-wrongparams-1-win32.phpt | 19 $time = -1; 20 var_dump(socket_select($sockets, $write, $except, $time));
|
H A D | socket_select-wrongparams-4.phpt | 22 $time = 0; 24 var_dump(socket_select($sockets, $write, $except, $time, $usec));
|
/PHP-7.4/ext/date/lib/ |
H A D | parse_date.c | 97 #define TIMELIB_UNHAVE_TIME() { s->time->have_time = 0; s->time->h = 0; s->time->i = 0; s->time->s … 99 #define TIMELIB_UNHAVE_DATE() { s->time->have_date = 0; s->time->d = 0; s->time->m = 0; s->time->y … 21483 s->time->h = s->time->i = s->time->s = 0; in scan() 21538 s->time->h = s->time->i = s->time->s = 0; in scan() 24963 …in.time->y = in.time->d = in.time->m = in.time->h = in.time->i = in.time->s = in.time->us = in.tim… in timelib_strtotime() 24997 if (in.time->have_time && !timelib_valid_time( in.time->h, in.time->i, in.time->s)) { in timelib_strtotime() 25001 if (in.time->have_date && !timelib_valid_date( in.time->y, in.time->m, in.time->d)) { in timelib_strtotime() 25032 time->h = time->i = time->s = 0; in timelib_time_reset_fields() 25354 s->time->h = s->time->i = s->time->s = 0; in timelib_parse_from_format_with_map() 25611 time.y, time.m, time.d, time.h, time.i, time.s, time.f, time.z, time.dst); in main() [all …]
|
/PHP-7.4/tests/lang/ |
H A D | 045.phpt | 22 Fatal error: Maximum execution time of 1 second exceeded in %s on line %d 24 Fatal error: Maximum execution time of 1 second exceeded in %s on line %d
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_constants_categories.phpt | 2 …tants exported by ext/mysqli - checking category - PHP bug not mysqli bug (check from time to time)
|