Home
last modified time | relevance | path

Searched refs:time (Results 26 – 50 of 563) sorted by relevance

12345678910>>...23

/PHP-8.2/ext/sqlite3/tests/
H A Dsqlite3_19_columninfo.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')"));
39 Name: time - Type: 1
41 Name: time - Type: 1
H A Dsqlite3_24_last_insert_rowid.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')"));
17 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_39_toggleExtended.phpt12 echo "Inserting first time which should succeed" . PHP_EOL;
16 echo "Inserting second time which should fail" . PHP_EOL;
20 echo "Toggling extended error codes and re-inserting a third time" . PHP_EOL;
30 Inserting first time which should succeed
32 Inserting second time which should fail
36 Toggling extended error codes and re-inserting a third time
H A Dsqlite3_13_skip_all_cleanup.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_18_changes.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_03_insert.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_23_escape_string.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 . ", '" . SQLite3::escapeString…
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
/PHP-8.2/ext/date/tests/
H A Dstrtotime-mysql.phpt15 $time = strtotime($date);
17 if (is_integer($time)) {
18 var_dump(date('r', $time));
20 var_dump($time);
H A Dstrtotime2.phpt7 $time = time();
26 echo ((strtotime(date(constant($const), $time)) === $time) ? "OK" : "FAIL") . "\n";
H A Dbug28088.phpt7 echo "The following line rightly shows the correct date time:\n";
10 echo "But the following line fails to show the correct date time:\n";
14 The following line rightly shows the correct date time:
16 But the following line fails to show the correct date time:
H A Dbug81273.phpt6 $time = '2000-01-01 00:00:00.000000';
9 $auz = new DateTime($time, $tz_aus);
10 $us = new DateTime($time, $tz_us);
H A Dgmstrftime_variation22.phpt2 Test gmstrftime() function : usage variation - Checking Preferred date and time representation othe…
24 'Preferred date and time representation' => "%c",
26 'Preferred time representation' => "%X",
40 --Preferred date and time representation--
50 --Preferred time representation--
H A Dstrftime_variation22.phpt2 Test strftime() function : usage variation - Checking Preferred date and time representation other …
24 'Preferred date and time representation' => "%c",
26 'Preferred time representation' => "%X",
40 --Preferred date and time representation--
50 --Preferred time representation--
/PHP-8.2/ext/standard/tests/general_functions/
H A Dgetrusage_basic.phpt16 echo "User time used (seconds) " . $dat["ru_utime.tv_sec"] . "\n";
17 echo "User time used (microseconds) " . $dat["ru_utime.tv_usec"] . "\n";
21 User time used (seconds) %d
22 User time used (microseconds) %d
H A Dusleep_basic.phpt14 // Test passes if sleeps for at least 98% of specified time
23 $time = ($time_end - $time_start) * 1000 * 1000;
25 $summary = "Thread slept for " . $time . " micro-seconds\n";
27 if ($time >= $sleeplow) {
/PHP-8.2/ext/zend_test/tests/
H A Dobserver_declarations_01.phpt23 if (time() > 0) {
45 <!-- init time() -->
46 <time>
47 </time>
/PHP-8.2/ext/intl/tests/
H A Dcalendar_getNow_basic.phpt12 $time = time();
14 var_dump(abs($time * 1000 - $proc_now) < 2000);
H A Dcalendar_createInstance_basic.phpt20 $time = time();
22 var_dump(abs($timeMillis - $time * 1000) < 2000);
/PHP-8.2/ext/soap/tests/schema/
H A Dschema064.phpt2 SOAP XML Schema 64: standard date/time types
19 <element name="time" type="time"/>
33 'time' => $date,
45 …xsi:type="xsd:dateTime">1976-04-05T01:02:03Z</dateTime><time xsi:type="xsd:time">01:02:03Z</time><…
49 ["time"]=>
/PHP-8.2/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_extendederror_attr.phpt14 echo "Inserting first time which should succeed" . PHP_EOL;
19 echo "Inserting second time which should fail" . PHP_EOL;
31 echo "Inserting first time which should succeed" . PHP_EOL;
36 echo "Inserting second time which should fail" . PHP_EOL;
44 Inserting first time which should succeed
46 Inserting second time which should fail
49 Inserting first time which should succeed
51 Inserting second time which should fail
/PHP-8.2/Zend/tests/
H A Dbug54043.phpt6 $time = '9999-11-33'; // obviously invalid ;-)
10 $dateTime = new DateTime($time, $timeZone);
19 string(80) "Failed to parse time string (9999-11-33) at position 9 (3): Unexpected character"
/PHP-8.2/ext/date/
H A Dphp_date.c1835 *new_obj->time = *old_obj->time; in date_object_clone_date()
1840 new_obj->time->tz_info = old_obj->time->tz_info; in date_object_clone_date()
1861 if (!o1->time || !o2->time) { in date_object_compare_date()
1866 timelib_update_ts(o1->time, o1->time->tz_info); in date_object_compare_date()
1869 timelib_update_ts(o2->time, o2->time->tz_info); in date_object_compare_date()
1872 return timelib_time_compare(o1->time, o2->time); in date_object_compare_date()
2618 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()
2639 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()
2660 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()
2681 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()
[all …]
/PHP-8.2/ext/standard/tests/dir/
H A Dopendir_variation3.phpt14 echo "\n-- Open directory first time: --\n";
17 echo "\n-- Open directory second time: --\n";
37 -- Open directory first time: --
40 -- Open directory second time: --
H A Dopendir_variation3-win32-mb.phpt20 echo "\n-- Open directory first time: --\n";
23 echo "\n-- Open directory second time: --\n";
43 -- Open directory first time: --
46 -- Open directory second time: --
/PHP-8.2/ext/soap/tests/bugs/
H A Dbug42326.phpt11 …:ns1="http://www.example.com/"><SOAP-ENV:Body><ns1:GetProductsRequest><time></time></ns1:GetProduc…
24 public $time = '';
36 public function GetProducts($time){

Completed in 87 milliseconds

12345678910>>...23