/PHP-7.4/ext/intl/tests/ |
H A D | calendar_getNow_basic.phpt | 14 $time = time(); 16 var_dump(abs($time * 1000 - $proc_now) < 2000);
|
H A D | calendar_createInstance_basic.phpt | 22 $time = time(); 24 var_dump(abs($timeMillis - $time * 1000) < 2000);
|
/PHP-7.4/Zend/tests/ |
H A D | bug54043.phpt | 6 $time = '9999-11-33'; // obviously invalid ;-) 10 $dateTime = new DateTime($time, $timeZone); 19 string(105) "DateTime::__construct(): Failed to parse time string (9999-11-33) at position 9 (3): U…
|
H A D | concat_003.phpt | 11 $time = microtime(TRUE); 27 $time = microtime(TRUE); 34 $t = microtime(TRUE) - $time;
|
/PHP-7.4/ext/sqlite3/tests/ |
H A D | sqlite3_39_toggleExtended.phpt | 12 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 D | sqlite3_13_skip_all_cleanup.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_18_changes.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_03_insert.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_23_escape_string.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 . ", '" . SQLite3::escapeString… 16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
|
/PHP-7.4/ext/date/tests/ |
H A D | DateTime_construct_error.phpt | 5 /* Prototype : DateTime::__construct ([ string $time="now" [, DateTimeZone $timezone=NULL ]] ) 10 //Set the default time zone 16 $time = "GMT"; 20 var_dump( new DateTime($time, $timezone, $extra_arg) );
|
H A D | date_sunset_variation7.phpt | 5 /* Prototype : mixed date_sunset(mixed time [, int format [, float latitude [, float longitude [, … 6 * Description: Returns time of sunrise for a given day and location 30 $time = mktime(8, 8, 8, 8, 11, 2008); 31 …var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va… 32 $time = mktime(8, 8, 8, 8, 12, 2008); 33 …var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
|
H A D | bug67118_2.phpt | 8 public function __construct($time = null) { 12 parent::__construct($time, $tz); 16 parent::__construct($time.'C', $tz);
|
H A D | getdate_variation4.phpt | 2 …nction : usage variation - Verifyig by supplying year-wise sample time stamps since Unix epoch time 6 * Description: Get date/time information 13 //Set the default time zone 19 //Year wise time stamps
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | getrusage_basic.phpt | 22 echo "User time used (seconds) " . $dat["ru_utime.tv_sec"] . "\n"; 23 echo "User time used (microseconds) " . $dat["ru_utime.tv_usec"] . "\n"; 28 User time used (seconds) %d 29 User time used (microseconds) %d
|
H A D | usleep_basic.phpt | 19 // Test passes if sleeps for at least 98% of specified time 28 $time = ($time_end - $time_start) * 1000 * 1000; 30 $summary = "Thread slept for " . $time . " micro-seconds\n"; 32 if ($time >= $sleeplow) {
|
/PHP-7.4/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_extendederror_attr.phpt | 13 echo "Inserting first time which should succeed" . PHP_EOL; 18 echo "Inserting second time which should fail" . PHP_EOL; 29 echo "Inserting first time which should succeed" . PHP_EOL; 34 echo "Inserting second time which should fail" . PHP_EOL; 42 Inserting first time which should succeed 44 Inserting second time which should fail 47 Inserting first time which should succeed 49 Inserting second time which should fail
|
/PHP-7.4/Zend/tests/type_declarations/variance/ |
H A D | internal_parent.phpt | 7 public static function createFromFormat($format, $time, Wrong $timezone = null) { } 12 …ween Test::createFromFormat($format, $time, ?Wrong $timezone = NULL) and DateTime::createFromForma…
|
/PHP-7.4/ext/standard/tests/misc/ |
H A D | time_sleep_until_error1.phpt | 11 var_dump(time_sleep_until(time()-1)); 14 Warning: time_sleep_until(): Sleep until to time is less than current time in %s on line 2
|
/PHP-7.4/ext/soap/tests/bugs/ |
H A D | bug42326.phpt | 11 …:ns1="http://www.example.com/"><SOAP-ENV:Body><ns1:GetProductsRequest><time></time></ns1:GetProduc… 24 public $time = ''; 36 public function GetProducts($time){
|
/PHP-7.4/ext/standard/tests/ |
H A D | bug64370_var1.phpt | 7 echo "time(): " . time() . "\n"; 17 time(): %d
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | 005_basic.phpt | 7 Description: Returns the time the file was last accessed, or FALSE 8 in case of an error. The time is returned as a Unix timestamp. 11 Description: Returns the time the file was last modified, or FALSE 15 Description: Returns the time the file was last changed, or FALSE 16 in case of an error. The time is returned as a Unix timestamp. 18 Prototype: bool touch ( string $filename [, int $time [, int $atime]] ); 20 named in the filename parameter to the value given in time.
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 75 return time(NULL); in php_time() 2246 *new_obj->time = *old_obj->time; in date_object_clone_date() 2251 new_obj->time->tz_info = old_obj->time->tz_info; in date_object_clone_date() 2267 if (!o1->time || !o2->time) { in date_object_compare_date() 2272 timelib_update_ts(o1->time, o1->time->tz_info); in date_object_compare_date() 2275 timelib_update_ts(o2->time, o2->time->tz_info); in date_object_compare_date() 2278 return timelib_time_compare(o1->time, o2->time); in date_object_compare_date() 2940 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD() 2961 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD() 3527 timelib_unixtime2local(dateobj->time, dateobj->time->sse); in php_date_timezone_set() [all …]
|
/PHP-7.4/ext/standard/tests/dir/ |
H A D | opendir_variation3.phpt | 19 echo "\n-- Open directory first time: --\n"; 22 echo "\n-- Open directory second time: --\n"; 43 -- Open directory first time: -- 46 -- Open directory second time: --
|
/PHP-7.4/ext/standard/tests/network/ |
H A D | bug76755.phpt | 2 Bug #76755 (setcookie does not accept "double" type for expire time) 5 var_dump(setcookie('name', 'value', (float)(time() + 1296000)));
|
/PHP-7.4/ext/ffi/tests/ |
H A D | bug77706.phpt | 25 time_t time(time_t*); 33 $ffi->time(); 39 $ffi->time(null, null); 57 FFI\Exception: Incorrect number of arguments for C function 'time', expecting exactly 1 parameter 58 FFI\Exception: Incorrect number of arguments for C function 'time', expecting exactly 1 parameter
|