/php-src/ext/date/tests/ |
H A D | bug54316.phpt | 4 date.timezone=UTC 15 ["date"]=> 23 ["date"]=>
|
H A D | date-parse-by-format001.phpt | 5 $date = "06/08/04"; 6 print_r( date_parse_from_format( '!m/d/y', $date ) ); 7 print_r( date_parse_from_format( '!m*d*y', $date ) );
|
H A D | date_time_fractions_create_from_format.phpt | 4 date.timezone=UTC 15 ["date"]=> 23 ["date"]=>
|
H A D | date_time_fractions_serialize.phpt | 4 date.timezone=UTC 17 O:8:"DateTime":3:{s:4:"date";s:26:"2016-10-03 12:47:18.819313";s:13:"timezone_type";i:3;s:8:"timezo… 19 ["date"]=>
|
H A D | strtotime-mysql-64bit.phpt | 14 foreach($d as $date) { 15 $time = strtotime($date); 18 var_dump(date('r', $time));
|
H A D | bug73239.phpt | 4 date.timezone=UTC 7 ini_set('date.timezone', 'dummy'); 15 Warning: ini_set(): Invalid date.timezone value 'dummy', using 'UTC' instead in %sbug73239.php on l…
|
H A D | bug45682.phpt | 4 date.timezone=UTC 8 $date = new DateTime("28-July-2008"); 11 $diff = date_diff($date, $other);
|
H A D | bug-gh11368.phpt | 4 date.timezone=UTC 19 ["date"]=> 27 ["date"]=>
|
H A D | gmstrftime_variation22.phpt | 2 Test gmstrftime() function : usage variation - Checking Preferred date and time representation othe… 24 'Preferred date and time representation' => "%c", 25 'Preferred date representation' => "%x", 40 --Preferred date and time representation-- 45 --Preferred date representation--
|
H A D | bug26320.phpt | 4 date.timezone=GMT0 13 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19T12:30:42")); 14 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19T12:30:42Z"));
|
H A D | bug54851.phpt | 4 date.timezone=UTC 7 $date = new DateTime("2011-05-17T22:14:12"); 8 $date2 = DateTime::createFromFormat("D H i s", $date->format("D"). ' 0 00 00'); 9 echo $date->format("r"), "\n"; 11 var_dump($date->format("D") == $date2->format("D")); 28 // - when the day is not the same as the day on the original date: 35 // - when the day *is* the same as the day on the original date:
|
H A D | gh10747-error.phpt | 20 $s = 'O:1:"I":7:{s:4:"date";s:26:"2023-03-09 17:03:11.123456";s:13:"timezone_type";i:3;s:8:"timezon… 25 $s = 'O:1:"I":7:{s:4:"date";s:26:"2023-03-09 17:03:11.123456";s:13:"timezone_type";i:3;s:8:"timezon… 31 string(179) "O:1:"I":7:{s:4:"date";s:26:"2023-03-09 17:03:11.123456";s:13:"timezone_type";i:3;s:8:"… 41 ["date"]=> 48 string(179) "O:1:"I":7:{s:4:"date";s:26:"2023-03-09 17:03:11.123456";s:13:"timezone_type";i:3;s:8:"… 58 ["date"]=>
|
H A D | strftime_variation22.phpt | 2 Test strftime() function : usage variation - Checking Preferred date and time representation other … 24 'Preferred date and time representation' => "%c", 25 'Preferred date representation' => "%x", 40 --Preferred date and time representation-- 45 --Preferred date representation--
|
H A D | strtotime-mysql.phpt | 14 foreach($d as $date) { 15 $time = strtotime($date); 18 var_dump(date('r', $time));
|
H A D | gh10747-4.phpt | 4 date.timezone=UTC 32 ["date"]=> 43 ["date"]=> 88 …date";s:26:"2023-03-03 16:24:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:7:"cu… 92 ["date"]=> 103 ["date"]=>
|
H A D | gmdate_variation11.phpt | 11 echo "\n-- Testing gmdate() function with ISO 8601 date format --\n"; 15 echo "\n-- Testing gmdate() function with RFC 2822 date format --\n"; 27 -- Testing gmdate() function with ISO 8601 date format -- 31 -- Testing gmdate() function with RFC 2822 date format --
|
H A D | bug33562.phpt | 2 Bug #33562 (date("") crashes) 6 echo "[", date(""), "]\n";
|
H A D | gmstrftime_variation21.phpt | 2 Test gmstrftime() function : usage variation - Checking Preferred date and time representation on W… 14 'Preferred date and time representation' => "%c", 15 'Preferred date representation' => "%x", 31 --Preferred date and time representation-- 39 --Preferred date representation--
|
H A D | strftime_variation21.phpt | 2 Test strftime() function : usage variation - Checking Preferred date and time representation on Win… 14 'Preferred date and time representation' => "%c", 15 'Preferred date representation' => "%x", 31 --Preferred date and time representation-- 39 --Preferred date representation--
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_fetch_array_oo.phpt | 187 $date = @date('Y-m-d'); 188 func_mysqli_fetch_array($mysqli, $engine, "DATE",$date, $date, 410); 189 func_mysqli_fetch_array($mysqli, $engine, "DATE NOT NULL",$date, $date, 420); 192 $date = @date('Y-m-d H:i:s'); 193 func_mysqli_fetch_array($mysqli, $engine, "DATETIME", $date, $date, 440); 194 func_mysqli_fetch_array($mysqli, $engine, "DATETIME NOT NULL", $date, $date, 450); 196 func_mysqli_fetch_array($mysqli, $engine, "TIMESTAMP", $date, $date, 470); 197 $date = @date('H:i:s'); 198 func_mysqli_fetch_array($mysqli, $engine, "TIME", $date, $date, 480); 199 func_mysqli_fetch_array($mysqli, $engine, "TIME NOT NULL", $date, $date, 490); [all …]
|
H A D | mysqli_fetch_array.phpt | 198 $date = @date('Y-m-d'); 199 func_mysqli_fetch_array($link, $engine, "DATE",$date, $date, 410); 200 func_mysqli_fetch_array($link, $engine, "DATE NOT NULL",$date, $date, 420); 203 $date = @date('Y-m-d H:i:s'); 204 func_mysqli_fetch_array($link, $engine, "DATETIME", $date, $date, 440); 205 func_mysqli_fetch_array($link, $engine, "DATETIME NOT NULL", $date, $date, 450); 207 func_mysqli_fetch_array($link, $engine, "TIMESTAMP", $date, $date, 470); 209 $date = @date('H:i:s'); 210 func_mysqli_fetch_array($link, $engine, "TIME", $date, $date, 480); 211 func_mysqli_fetch_array($link, $engine, "TIME NOT NULL", $date, $date, 490); [all …]
|
/php-src/ext/standard/tests/network/ |
H A D | setcookie.phpt | 4 date.timezone=UTC 24 'Set-Cookie: name=deleted; expires='.date('D, d M Y H:i:s', 1).' GMT; Max-Age=0', 25 'Set-Cookie: name=deleted; expires='.date('D, d M Y H:i:s', 1).' GMT; Max-Age=0', 29 'Set-Cookie: name=value; expires='.date('D, d M Y H:i:s', $tsp).' GMT; Max-Age=5', 30 'Set-Cookie: name=value; expires='.date('D, d M Y H:i:s', $tsn).' GMT; Max-Age=0', 31 'Set-Cookie: name=value; expires='.date('D, d M Y H:i:s', $tsc).' GMT; Max-Age=0', 36 'Set-Cookie: name=value; expires='.date('D, d M Y H:i:s', $tsp).' GMT; Max-Age=5', 37 …'Set-Cookie: name=value; expires='.date('D, d M Y H:i:s', $tsn).' GMT; Max-Age=0; path=/path/; dom…
|
/php-src/ext/pcre/tests/ |
H A D | 003.phpt | 8 (?P<date> 28 ["date"]=> 98 ["date"]=> 121 ["date"]=>
|
/php-src/ext/phar/tests/ |
H A D | gh12532.phpt | 13 echo date('Y-m-d H:i:s', $phar->getMTime()), "\n"; 14 echo date('Y-m-d H:i:s', $phar->getCTime()), "\n"; 15 echo date('Y-m-d H:i:s', $phar->getATime()), "\n";
|
/php-src/ext/odbc/tests/ |
H A D | bug68087.phpt | 2 odbc_exec(): Getting accurate date data from query 26 $date = odbc_result($res, "DATE_COL"); 29 if ($date != $id_1_date) { 35 if ($date != $id_2_date) {
|