/php-src/ext/date/tests/ |
H A D | bug29585.phpt | 2 Bug #29585 (Support week numbers in strtotime()) 6 echo gmdate("Y-m-d H:i:s", strtotime("2004W30"));
|
H A D | bug37747.phpt | 2 Bug #37747 (strtotime segfaults when given "nextyear") 6 var_dump(strtotime("nextyear"));
|
H A D | bug35630.phpt | 2 Bug #35630 (strtotime() crashes on non-separated relative modifiers) 7 echo date(DATE_ISO8601, strtotime('5 january 2006+3day+1day')) . "\n";
|
H A D | bug35705.phpt | 2 Bug #35705 (strtotime() fails to parse soap date format without TZ) 7 echo date(DATE_ISO8601, strtotime('2000-10-10T10:12:30.000')) . "\n";
|
H A D | bug36599.phpt | 7 echo date( DATE_ATOM, strtotime( "2006-03-03 08:47:55" ) ), "\n"; 8 echo date( DATE_W3C, strtotime( "2006-03-03 08:47:55" ) ), "\n";
|
H A D | bug21399.phpt | 2 Bug #21399 (strtotime() request for "YYYYMMDDhhmmss [ZZZ]") 7 echo gmdate("Y-m-d H:i:s", strtotime("20050620091407 GMT"));
|
H A D | bug28599.phpt | 2 Bug #28599 (strtotime fails with zero base time) 6 print gmdate("d-m-Y H:i:s", strtotime("+30 minutes", 1100535573));
|
H A D | bug33452.phpt | 6 echo date('Y-W', strtotime('2005-1-1')), "\n"; 7 echo date('o-W', strtotime('2005-1-1')), "\n";
|
H A D | bug26694.phpt | 2 Bug #26694 (strtotime() request for "Sun, 21 Dec 2003 20:38:33 +0000 GMT") 7 echo gmdate("Y-m-d H:i:s", strtotime("Sun, 21 Dec 2003 20:38:33 +0000 GMT"));
|
H A D | strtotime_basic2.phpt | 2 strtotime() with return false 10 var_dump(strtotime('mayy 2 2009')); // misspelled month name
|
H A D | 002.phpt | 2 strtotime() function 37 echo date ("Y-m-d H:i:s\n", strtotime ($date)); 48 echo date ("Y-m-d H:i:s\n", strtotime ($date));
|
H A D | bug41523.phpt | 2 Bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30) (32 bit) 10 var_dump( strtotime('0000-00-00 00:00:00') ); 47 Warning: strtotime(): Epoch doesn't fit in a PHP integer in %s on line %d
|
H A D | bug36224.phpt | 7 echo date(DATE_ATOM, strtotime('2006-01-31T19:23:56Z')) . "\n"; 8 echo date(DATE_ATOM, strtotime('2006-01-31T19:23:56')) . "\n";
|
H A D | bug43960.phpt | 2 Bug #43960 (strtotime() returns timestamp in the future when given a bogus string) 6 var_dump(strtotime('i like to eat slices at work'));
|
H A D | bug33414-1.phpt | 11 $strtotime_tstamp = strtotime("next Sunday", $tStamp); 19 $strtotime_tstamp = strtotime("next Sunday", $tStamp); 27 $strtotime_tstamp = strtotime("next Sunday", $tStamp); 35 $strtotime_tstamp = strtotime("next Tuesday", $tStamp); 44 $strtotime_tstamp = strtotime("next Thursday", $tStamp); 52 $strtotime_tstamp = strtotime("second Monday", $tStamp); 60 $strtotime_tstamp = strtotime("next Friday", $tStamp); 92 $strtotime_tstamp = strtotime("next Friday", $tStamp); 116 $strtotime_tstamp = strtotime("next Sunday", $tStamp); 148 $strtotime_tstamp = strtotime("next Monday", $tStamp); [all …]
|
H A D | bug34304.phpt | 6 echo date('o\-\WW\-N', strtotime('2 January 2005')), "\n"; 7 echo date('o\-\WW\-N', strtotime('9 January 2005')), "\n";
|
H A D | format-negative-timestamp.phpt | 2 strtotime() - Format: @timestamps 16 if (strtotime("@$new_tm") != $new_tm) {
|
H A D | bug35885.phpt | 2 Bug #35885 (strtotime("NOW") no longer works) 8 $ts = date(DATE_ISO8601, strtotime('NOW', $time));
|
H A D | bug53502.phpt | 2 Bug #53502 (strtotime with timezone memory leak) 8 strtotime('Monday 00:00 Europe/Paris'); // Memory leak
|
H A D | bug35499.phpt | 2 Bug #35499 (strtotime() does not handle whitespace around the date string) 7 echo date(DATE_ISO8601, strtotime("11/20/2005 8:00 AM \r\n")) . "\n"; 8 echo date(DATE_ISO8601, strtotime(" 11/20/2005 8:00 AM \r\n")) . "\n";
|
H A D | bug33414-2.phpt | 9 $strtotime_tstamp = strtotime("next Tuesday", $tStamp); 17 $strtotime_tstamp = strtotime("next Tuesday", $tStamp); 25 $strtotime_tstamp = strtotime("next Monday", $tStamp); 33 $strtotime_tstamp = strtotime("next Monday", $tStamp); 41 $strtotime_tstamp = strtotime("next Monday", $tStamp); 49 $strtotime_tstamp = strtotime("next Tuesday", $tStamp); 57 $strtotime_tstamp = strtotime("next Wednesday", $tStamp); 65 $strtotime_tstamp = strtotime("next Saturday", $tStamp); 73 $strtotime_tstamp = strtotime("next Friday", $tStamp);
|
H A D | bug81504.phpt | 9 foreach ($tz->getTransitions(strtotime("1996-01-01"), strtotime("1997-12-31")) as $tr) {
|
/php-src/ext/intl/tests/ |
H A D | calendar_fromDateTime_basic.phpt | 14 strtotime('2012-01-01 00:00:00 Europe/Rome') * 1000., 23 strtotime('2012-01-01 00:00:00 PST') * 1000., 33 strtotime('2012-01-01 00:00:00 +03:40') * 1000.,
|
H A D | calendar_set_date_time.phpt | 13 var_dump($intlcal->getTime(), strtotime('2012-02-29 23:58:00 +0000') * 1000.); 16 var_dump($intlcal->getTime(), strtotime('2012-02-29 23:58:31 +0000') * 1000.);
|
H A D | calendar_inDaylightTime_basic.phpt | 13 $intlcal->setTime(strtotime('2012-01-01') * 1000); 15 $intlcal->setTime(strtotime('2012-04-01') * 1000);
|