Home
last modified time | relevance | path

Searched refs:time (Results 51 – 75 of 562) sorted by relevance

12345678910>>...23

/PHP-8.2/ext/standard/tests/
H A Dbug64370_var1.phpt7 echo "time(): " . time() . "\n";
16 time(): %d
/PHP-8.2/ext/date/tests/
H A Dbug67118_2.phpt8 public function __construct($time = null) {
12 parent::__construct($time, $tz);
16 parent::__construct($time.'C', $tz);
H A Dgmstrftime_variation21.phpt2 Test gmstrftime() function : usage variation - Checking Preferred date and time representation on W…
14 'Preferred date and time representation' => "%c",
16 'Preferred time representation' => "%X",
31 --Preferred date and time representation--
47 --Preferred time representation--
H A Dstrftime_variation21.phpt2 Test strftime() function : usage variation - Checking Preferred date and time representation on Win…
14 'Preferred date and time representation' => "%c",
16 'Preferred time representation' => "%X",
31 --Preferred date and time representation--
47 --Preferred time representation--
H A DDateTime_construct_error.phpt5 //Set the default time zone
11 $time = "GMT";
15 var_dump( new DateTime($time, $timezone, $extra_arg) );
H A Dbug80963.phpt21 ["time"]=>
34 ["time"]=>
47 ["time"]=>
H A Ddate_sunrise_variation7.phpt25 $time = mktime(8, 8, 8, 8, 11, 2008);
26 …var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $v…
27 $time = mktime(8, 8, 8, 8, 12, 2008);
28 …var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $v…
H A Dtime_basic.phpt2 Test return type and value for expected input time()
9 var_dump(time());
/PHP-8.2/ext/standard/tests/dir/
H A Dclosedir_variation2.phpt17 echo "\n-- Close directory handle first time: --\n";
22 echo "\n-- Close directory handle second time: --\n";
39 -- Close directory handle first time: --
43 -- Close directory handle second time: --
H A Dclosedir_variation2-win32-mb.phpt23 echo "\n-- Close directory handle first time: --\n";
28 echo "\n-- Close directory handle second time: --\n";
45 -- Close directory handle first time: --
49 -- Close directory handle second time: --
/PHP-8.2/ext/sqlite3/tests/
H A Dsqlite3_07_prepared_stmt.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_08_udf.phpt14 define('TIMENOW', time());
17 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
20 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
21 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_06_prepared_stmt.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_11_numrows.phpt18 define('TIMENOW', time());
21 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
24 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
25 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_38_extended_error.phpt12 echo "Inserting first time which should succeed" . PHP_EOL;
16 echo "Inserting second time which should fail" . PHP_EOL;
26 Inserting first time which should succeed
28 Inserting second time which should fail
H A Dsqlite3_bound_value_at_name.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_26_reset_prepared_stmt.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_27_reset_prepared_stmt_result.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_10_bound_value_name.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_12_unfinalized_stmt_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_28_clear_bindings.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/ffi/tests/
H A Dbug77706.phpt26 time_t time(time_t*);
34 $ffi->time();
40 $ffi->time(null, null);
58 FFI\Exception: Incorrect number of arguments for C function 'time', expecting exactly 1 parameter
59 FFI\Exception: Incorrect number of arguments for C function 'time', expecting exactly 1 parameter
/PHP-8.2/Zend/tests/
H A Dconcat_003.phpt11 $time = microtime(TRUE);
27 $time = microtime(TRUE);
34 $t = microtime(TRUE) - $time;
/PHP-8.2/ext/intl/tests/
H A Dmsgfmt_format_error5.phpt2 MessageFormatter::format() invalid date/time argument
19 Warning: MessageFormatter::format(): msgfmt_format: invalid object type for date/time (only IntlCal…
21 Warning: MessageFormatter::format(): The argument for key 'foo' cannot be used as a date or time in…
/PHP-8.2/ext/standard/tests/network/
H A Dbug76755.phpt2 Bug #76755 (setcookie does not accept "double" type for expire time)
5 var_dump(setcookie('name', 'value', (float)(time() + 1296000)));

Completed in 26 milliseconds

12345678910>>...23