Home
last modified time | relevance | path

Searched refs:time (Results 76 – 100 of 563) sorted by relevance

12345678910>>...23

/PHP-8.2/ext/sqlite3/tests/
H A Dsqlite3_35_stmt_readonly.phpt16 define('TIMENOW', time());
19 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
22 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
23 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_04_update.phpt9 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 Dsqlite3_05_delete.phpt9 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-8.2/ext/intl/common/
H A Dcommon_date.cpp48 ? ((php_date_obj*)object)->time->tz_info->name in timezone_convert_datetimezone()
54 ? ((php_date_obj*)object)->time->z / 60 in timezone_convert_datetimezone()
76 ? ((php_date_obj*)object)->time->tz_abbr in timezone_convert_datetimezone()
131 *millis = U_MILLIS_PER_SECOND * (double)Z_LVAL(retval) + (datetime->time->us / 1000); in intl_datetime_decompose()
138 if (!datetime->time) { in intl_datetime_decompose()
146 if (!datetime->time->is_localtime) { in intl_datetime_decompose()
149 *tz = timezone_convert_datetimezone(datetime->time->zone_type, in intl_datetime_decompose()
/PHP-8.2/ext/xsl/tests/
H A Dxslt010.phpt43 time :
61 time :
79 time :
97 time :
115 time :
133 time :
151 time :
169 time :
187 time :
205 time :
H A Dxslt010_gt10129.phpt43 time :
61 time :
79 time :
97 time :
115 time :
133 time :
151 time :
169 time :
187 time :
205 time :
/PHP-8.2/ext/zend_test/tests/
H A Dexecute_internal.phpt14 f(time() > 0 ? [1, 2, 3] : []);
18 <!-- internal enter time() -->
/PHP-8.2/ext/intl/tests/
H A Dcalendar_setTimeZone_error2.phpt2 IntlCalendar::setTimeZone(): valid time zones for DateTime but not ICU
22 Warning: IntlCalendar::setTimeZone(): intlcal_set_time_zone: time zone id 'WEST' extracted from ext…
25 Warning: IntlCalendar::setTimeZone(): intlcal_set_time_zone: object has an time zone offset that's …
H A Dcalendar_getTime_basic.phpt18 $time = strtotime('2012-02-29 00:00:00 +0000');
20 var_dump((float)$time*1000, $intlcal->getTime());
/PHP-8.2/ext/zip/examples/
H A Dcreate.php17 $zip->addFromString("testfilephp.txt" . time(), "#1 This is a test string added as testfilephp.txt.…
18 $zip->addFromString("testfilephp2.txt" . time(), "#2 This is a test string added as testfilephp2.tx…
/PHP-8.2/ext/date/tests/
H A Ddate_sunset_variation7.phpt26 $time = mktime(8, 8, 8, 8, 11, 2008);
27 …var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
28 $time = mktime(8, 8, 8, 8, 12, 2008);
29 …var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
H A Dgetdate_variation4.phpt2 …nction : usage variation - Verifyig by supplying year-wise sample time stamps since Unix epoch time
7 //Set the default time zone
13 //Year wise time stamps
H A DDateTime_extends_basic1.phpt6 //Set the default time zone
28 echo "\n -- modify date and time --\n";
44 -- modify date and time --
H A Ddate-time-modify-times.phpt2 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 Dbug77243-001.phpt9 $time=-62167046400; // 0000-01-03 0-01-1
13 echo date('Y-m-d o-W-N', $time + ($i * 86400)), "\n";
H A Dbug55407.phpt9 …public static function createFromFormat($format, $time, \DateTimeZone $timezone = null): DateTime|…
10 return new DateTime(parent::createFromFormat($format, $time, $timezone));
H A Dbug50055.phpt2 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 Dbug52430.phpt2 Bug #52430 (date_parse parse 24:xx:xx as valid time)
28 string(27) "The parsed time was invalid"
/PHP-8.2/Zend/tests/
H A Dconstant_expressions_dynamic_class_name_error.phpt2 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…
/PHP-8.2/ext/standard/tests/misc/
H A Dtime_sleep_until_basic.phpt14 $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-8.2/ext/date/lib/
H A Dparse_date.c99 #define TIMELIB_UNHAVE_TIME() { s->time->have_time = 0; s->time->h = 0; s->time->i = 0; s->time->s …
101 #define TIMELIB_UNHAVE_DATE() { s->time->have_date = 0; s->time->d = 0; s->time->m = 0; s->time->y …
4139 s->time->h = s->time->i = s->time->s = 0; in scan()
7806 s->time->h = s->time->i = s->time->s = 0; in scan()
24878 …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()
24912 if (in.time->have_time && !timelib_valid_time( in.time->h, in.time->i, in.time->s)) { in timelib_strtotime()
24916 if (in.time->have_date && !timelib_valid_date( in.time->y, in.time->m, in.time->d)) { in timelib_strtotime()
24947 time->h = time->i = time->s = 0; in timelib_time_reset_fields()
25511 !timelib_valid_time( s->time->h, s->time->i, s->time->s)) { in timelib_parse_from_format_with_map()
25597 time.y, time.m, time.d, time.h, time.i, time.s, time.f, time.z, time.dst); in main()
[all …]
/PHP-8.2/ext/sockets/tests/
H A Dsocket_select-wrongparams-2.phpt10 $time = 0;
13 socket_select($sockets, $write, $except, $time);
H A Dsocket_select-wrongparams-4.phpt19 $time = 0;
21 var_dump(socket_select($sockets, $write, $except, $time, $usec));
H A Dsocket_select-wrongparams-1-win32.phpt18 $time = -1;
19 var_dump(socket_select($sockets, $write, $except, $time));
/PHP-8.2/tests/func/
H A D004.phpt25 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...

Completed in 82 milliseconds

12345678910>>...23