3v4l.org - online PHP & HHVM shell, execute code in 100+ different versions!

<?php // all fridays from startingdate till NOW $display_only_the_most_recent_friday = false; // all fridays or most recent only $startingDate = strtotime('2013-01-01'); // lets test from start of 2013 $start = time(); // now $end = $startingDate; // our loop will $start from now and scan back till the $end // we will check every day from $start to $end // in every loop we are going one day back -=(60 * 60 * 24) for($checkdate=$start;$checkdate>=$end; $checkdate -=(60 * 60 * 24)) { if ( date('N', $checkdate) == "5" ) // and if this day is the fifth day we echo { echo '<a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report '.date('m-d-y', $checkdate).'.pdf">Market Reports</a>'; if($display_only_the_most_recent_friday) break; } } ?>

Abusive script

This script was stopped while abusing our resources

Output for hhvm-3.0.1
Strict Warning: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /in/6mZ6e on line 5 #0 strtotime(), called at [/in/6mZ6e:5] #0 strtotime(), called at [/in/6mZ6e:5] Strict Warning: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /in/6mZ6e on line 5 #0 strtotime(), called at [/in/6mZ6e:5] #0 strtotime(), called at [/in/6mZ6e:5] Strict Warning: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /in/6mZ6e on line 14 #0 at [/in/6mZ6e:14] Strict Warning: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /in/6mZ6e on line 14 #0 at [/in/6mZ6e:14] Strict Warning: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /in/6mZ6e on line 16 #0 at [/in/6mZ6e:16] <a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 06-06-14.pdf">Market Reports</a> Strict Warning: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /in/6mZ6e on line 14 #0 at [/in/6mZ6e:14] Strict Warning: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /in/6mZ6e on line 14 #0 at [/in/6mZ6e:14] <a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-30-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-23-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-16-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-09-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-02-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-25-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-18-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-11-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-04-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-28-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-21-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-14-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-07-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-28-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-21-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-14-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-07-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-31-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-24-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-17-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-10-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-03-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 12-27-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 12-20-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 12-13-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 12-06-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 11-29-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 11-22-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 11-15-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 11-08-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 11-01-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 10-25-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 10-18-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 10-11-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 10-04-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 09-27-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 09-20-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 09-13-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 09-06-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 08-30-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 08-23-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 08-16-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 08-09-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 08-02-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 07-26-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 07-19-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 07-12-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 07-05-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 06-28-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 06-21-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 06-14-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 06-07-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-31-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-24-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-17-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-10-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-03-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-26-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-19-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-12-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-05-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-29-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-22-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-15-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-08-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-01-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-22-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-15-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-08-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-01-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-25-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-18-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-11-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-04-13.pdf">Market Reports</a>
Output for 5.1.0 - 5.5.13, php7@20140507 - 20140521
<a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 06-06-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-30-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-23-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-16-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-09-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-02-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-25-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-18-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-11-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-04-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-28-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-21-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-14-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-07-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-28-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-21-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-14-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-07-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-31-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-24-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-17-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-10-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-03-14.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 12-27-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 12-20-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 12-13-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 12-06-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 11-29-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 11-22-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 11-15-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 11-08-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 11-01-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 10-25-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 10-18-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 10-11-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 10-04-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 09-27-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 09-20-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 09-13-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 09-06-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 08-30-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 08-23-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 08-16-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 08-09-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 08-02-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 07-26-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 07-19-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 07-12-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 07-05-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 06-28-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 06-21-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 06-14-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 06-07-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-31-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-24-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-17-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-10-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 05-03-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-26-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-19-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-12-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 04-05-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-29-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-22-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-15-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-08-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 03-01-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-22-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-15-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-08-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 02-01-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-25-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-18-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-11-13.pdf">Market Reports</a><a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report 01-04-13.pdf">Market Reports</a>
Output for 4.3.0 - 5.0.5