Home
last modified time | relevance | path

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

12345678910>>...23

/php-src/ext/date/tests/
H A Dstrtotime2.phpt7 $time = time();
28 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--
/php-src/ext/intl/tests/
H A Dmsgfmt_format_intlcalendar_variant2.phpt15 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
20 '{1, select, date {{0,date,full}} other {{0,time,h:m:s a V}}}');
22 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
23 $msgf->format(array($time, 'time')), "\n";
H A Dmsgfmt_format_intlcalendar_variant3.phpt16 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
21 '{1, select, date {{0,date,full}} other {{0,time,h:m:s a V}}}');
23 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
24 $msgf->format(array($time, 'time')), "\n";
H A Dmsgfmt_format_intlcalendar_variant4.phpt20 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
25 '{1, select, date {{0,date,full}} other {{0,time,h:m:s a V}}}');
27 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
28 $msgf->format(array($time, 'time')), "\n";
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-src/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-src/ext/zend_test/tests/
H A Dobserver_declarations_01.phpt23 if (time() > 0) {
45 <!-- init time() -->
46 <time>
47 </time>
/php-src/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-src/ext/sqlite3/tests/
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-src/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-src/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-src/ext/date/
H A Dphp_date.c1870 *new_obj->time = *old_obj->time; in date_object_clone_date()
1875 new_obj->time->tz_info = old_obj->time->tz_info; in date_object_clone_date()
1896 if (!o1->time || !o2->time) { in date_object_compare_date()
1901 timelib_update_ts(o1->time, o1->time->tz_info); in date_object_compare_date()
1904 timelib_update_ts(o2->time, o2->time->tz_info); in date_object_compare_date()
1907 return timelib_time_compare(o1->time, o2->time); in date_object_compare_date()
2704 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()
2725 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()
2779 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()
4896 if (time->have_date || time->have_time || time->have_zone) { in PHP_FUNCTION()
[all …]
/php-src/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){
/php-src/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: --

Completed in 38 milliseconds

12345678910>>...23