3v4l.org

run code in 300+ PHP versions simultaneously
<?php // all fridays from startingdate till NOW $startingDate = strtotime('2013-01-01'); // lets test from start of 2013 $start = time(); $end = $startingDate; for($checkdate=$start;$checkdate>=$end; $checkdate -=(60 * 60 * 24)) { if ( date('N', $checkdate) == "5" ) { echo '<a href="https://www.extranet.frostyacres.com/portal_resources/1/Market Report '.date('m-d-y', $checkdate).'.pdf">Market Reports</a>'; break; } } ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.4.10.0090.00614.86
7.4.00.0070.00815.07
7.3.130.0040.01115.03
7.3.120.0080.00815.15
7.3.110.0080.00614.97
7.3.100.0050.00915.18
7.3.90.0110.00514.74
7.3.80.0050.00815.03
7.3.70.0050.00714.94
7.3.60.0060.00615.11
7.3.50.0060.00514.93
7.3.40.0080.00715.04
7.3.30.0060.00614.89
7.3.20.0050.00616.80
7.3.10.0060.00916.98
7.3.00.0090.00416.65
7.2.260.0030.01215.22
7.2.250.0110.00815.44
7.2.240.0080.01015.21
7.2.230.0040.01215.31
7.2.220.0060.00715.24
7.2.210.0050.00715.27
7.2.200.0020.01215.13
7.2.190.0050.00915.15
7.2.180.0080.00415.26
7.2.170.0020.01215.21
7.2.160.0060.00915.26
7.2.150.0080.00817.11
7.2.140.0130.00017.23
7.2.130.0130.00317.32
7.2.120.0070.00716.87
7.2.110.0030.01017.03
7.2.100.0040.01117.14
7.2.90.0100.00717.24
7.2.80.0000.01517.32
7.2.70.0070.00317.07
7.2.60.0060.00617.27
7.2.50.0040.01517.11
7.2.40.0060.01317.09
7.2.30.0140.00016.99
7.2.20.0080.00817.07
7.2.10.0060.01317.00
7.2.00.0060.00618.22
7.1.330.0070.00715.79
7.1.320.0000.01015.97
7.1.310.0030.01315.90
7.1.300.0030.00815.76
7.1.290.0030.00615.94
7.1.280.0070.00315.87
7.1.270.0080.00415.85
7.1.260.0050.00515.97
7.1.250.0070.00315.66
7.1.240.0100.00615.86
7.1.230.0000.00816.05
7.1.220.0070.00316.02
7.1.210.0130.00316.16
7.1.200.0030.00915.90
7.1.190.0040.00715.85
7.1.180.0090.00615.95
7.1.170.0070.01115.83
7.1.160.0050.00516.04
7.1.150.0030.01015.99
7.1.140.0030.01516.07
7.1.130.0140.00415.82
7.1.120.0040.00716.02
7.1.110.0040.01115.86
7.1.100.0050.00817.21
7.1.90.0130.00315.73
7.1.80.0100.00016.11
7.1.70.0020.00916.54
7.1.60.0050.00817.66
7.1.50.0060.01116.62
7.1.40.0000.01116.02
7.1.30.0080.00416.03
7.1.20.0070.01015.97
7.1.10.0000.01216.05
7.1.00.0030.02219.19
7.0.330.0030.00915.59
7.0.320.0070.00315.52
7.0.310.0030.00915.56
7.0.300.0000.01715.52
7.0.290.0030.00915.66
7.0.280.0060.00615.46
7.0.270.0030.00715.23
7.0.260.0030.00915.68
7.0.250.0060.00315.53
7.0.240.0040.00415.39
7.0.230.0060.00315.32
7.0.220.0000.01015.46
7.0.210.0030.01015.41
7.0.200.0040.00516.28
7.0.190.0000.00915.73
7.0.180.0070.00315.58
7.0.170.0040.00415.68
7.0.160.0040.00415.62
7.0.150.0060.00315.46
7.0.140.0050.04118.78
7.0.130.0030.01015.65
7.0.120.0120.03218.90
7.0.110.0100.00715.66
7.0.100.0060.00615.58
7.0.90.0120.00615.70
7.0.80.0230.04917.70
7.0.70.0080.03817.64
7.0.60.0070.04017.72
7.0.50.0170.03217.96
7.0.40.0080.04316.77
7.0.30.0100.03216.82
7.0.20.0030.02616.83
7.0.10.0030.02916.71
7.0.00.0040.04916.80
5.6.400.0030.00914.46
5.6.390.0040.00814.52
5.6.380.0040.00814.71
5.6.370.0080.00414.72
5.6.360.0060.00914.24
5.6.350.0070.00714.70
5.6.340.0000.01414.62
5.6.330.0000.01014.64
5.6.320.0000.01014.73
5.6.310.0040.00414.80
5.6.300.0000.01814.69
5.6.290.0060.00314.66
5.6.280.0070.03817.89
5.6.270.0060.00614.49
5.6.260.0100.00014.65
5.6.250.0100.00614.37
5.6.240.0130.00314.70
5.6.230.0130.04017.67
5.6.220.0030.02917.73
5.6.210.0170.03517.54
5.6.200.0070.04517.73
5.6.190.0020.03017.85
5.6.180.0130.03517.77
5.6.170.0080.03017.77
5.6.160.0060.03617.92
5.6.150.0060.04817.74
5.6.140.0050.03217.78
5.6.130.0100.02717.85
5.6.120.0120.02617.70
5.6.110.0120.02017.72
5.6.100.0030.03017.86
5.6.90.0070.04917.74
5.6.80.0080.04017.51
5.6.70.0120.04317.40
5.6.60.0070.04117.45
5.6.50.0090.04017.48
5.6.40.0030.04317.44
5.6.30.0080.04217.30
5.6.20.0030.04417.48
5.6.10.0050.02517.61
5.6.00.0040.04317.47
5.5.380.0100.00714.54
5.5.370.0050.04817.46
5.5.360.0050.04017.47
5.5.350.0100.04717.43
5.5.340.0080.04217.59
5.5.330.0030.04817.68
5.5.320.0040.02917.57
5.5.310.0080.02817.76
5.5.300.0030.04717.57
5.5.290.0050.03517.72
5.5.280.0050.02817.65
5.5.270.0100.05017.43
5.5.260.0080.02317.69
5.5.250.0020.04717.48
5.5.240.0030.04717.11
5.5.230.0060.04317.37
5.5.220.0100.03517.20
5.5.210.0100.02217.30
5.5.200.0120.04017.39
5.5.190.0070.03717.22
5.5.180.0090.03817.08
5.5.170.0030.01414.19
5.5.160.0080.04217.33
5.5.150.0070.04517.40
5.5.140.0100.02217.26
5.5.130.0110.03817.35
5.5.120.0030.03417.24
5.5.110.0070.03717.21
5.5.100.0020.04017.26
5.5.90.0050.03317.11
5.5.80.0050.02817.33
5.5.70.0100.04017.16
5.5.60.0090.04016.99
5.5.50.0100.02517.19
5.5.40.0110.03617.17
5.5.30.0080.03017.32
5.5.20.0100.03217.09
5.5.10.0050.02717.22
5.5.00.0000.03417.20
5.4.450.0040.05415.24
5.4.440.0050.02215.18
5.4.430.0030.03015.32
5.4.420.0050.02815.26
5.4.410.0120.02015.21
5.4.400.0010.03315.08
5.4.390.0050.04314.84
5.4.380.0000.02715.17
5.4.370.0030.02715.07
5.4.360.0030.03614.97
5.4.350.0100.02115.10
5.4.340.0050.04315.08
5.4.330.0100.00310.96
5.4.320.0100.04215.05
5.4.310.0070.04214.83
5.4.300.0000.02615.18
5.4.290.0080.03715.07
5.4.280.0060.03615.01
5.4.270.0080.03515.01
5.4.260.0080.03815.12
5.4.250.0080.03015.04
5.4.240.0040.04215.30
5.4.230.0050.02815.08
5.4.220.0100.03514.96
5.4.210.0020.04614.96
5.4.200.0140.02215.07
5.4.190.0070.03914.93
5.4.180.0050.04215.07
5.4.170.0030.02714.91
5.4.160.0120.03315.03
5.4.150.0020.03314.88
5.4.140.0100.03513.64
5.4.130.0070.03513.73
5.4.120.0100.01813.81
5.4.110.0090.03413.69
5.4.100.0030.02313.72
5.4.90.0030.04613.59
5.4.80.0050.03813.76
5.4.70.0070.03713.67
5.4.60.0050.02113.74
5.4.50.0070.02213.58
5.4.40.0050.03413.80
5.4.30.0030.02513.66
5.4.20.0050.03513.63
5.4.10.0020.02513.71
5.4.00.0030.02313.44
5.3.290.0050.03912.73
5.3.280.0050.04112.64
5.3.270.0040.03412.67
5.3.260.0050.04012.66
5.3.250.0030.03812.62
5.3.240.0030.03512.56
5.3.230.0050.04012.60
5.3.220.0090.02912.60
5.3.210.0040.03512.61
5.3.200.0080.02812.53
5.3.190.0030.02812.58
5.3.180.0130.03412.64
5.3.170.0050.03912.68
5.3.160.0040.04212.52
5.3.150.0050.04012.53
5.3.140.0050.02012.57
5.3.130.0100.03012.52
5.3.120.0060.03112.60
5.3.110.0110.03712.59
5.3.100.0070.03012.31
5.3.90.0020.02312.23
5.3.80.0030.03712.25
5.3.70.0050.04212.21
5.3.60.0030.03012.26
5.3.50.0060.04312.22
5.3.40.0070.03212.17
5.3.30.0050.02812.20
5.3.20.0130.02812.05
5.3.10.0050.03812.03
5.3.00.0030.02512.11
5.2.170.0030.06011.56
5.2.160.0070.04711.56
5.2.150.0100.05711.56
5.2.140.0030.07311.56
5.2.130.0000.06311.56
5.2.120.0130.05311.56
5.2.110.0000.06011.56
5.2.100.0070.06011.56
5.2.90.0000.06311.56
5.2.80.0100.05711.56
5.2.70.0100.06011.56
5.2.60.0070.06311.56
5.2.50.0000.06011.56
5.2.40.0070.05711.56
5.2.30.0000.06011.56
5.2.20.0070.06011.56
5.2.10.0030.05311.56
5.2.00.0070.03711.56
5.1.60.0030.05311.56
5.1.50.0030.05311.56
5.1.40.0000.03311.56
5.1.30.0070.05711.56
5.1.20.0000.06011.56
5.1.10.0070.04711.56
5.1.00.0030.05711.56
5.0.50.0030.04311.56
5.0.40.0100.04011.56
5.0.30.0030.05011.56
5.0.20.0000.02711.56
5.0.10.0000.04711.56
5.0.00.0030.06311.56
4.4.90.0030.03311.56
4.4.80.0070.02011.56
4.4.70.0030.03311.56
4.4.60.0070.02711.56
4.4.50.0000.04011.56
4.4.40.0000.03711.56
4.4.30.0000.02711.56
4.4.20.0030.03311.56
4.4.10.0030.03711.56
4.4.00.0000.03711.56
4.3.110.0000.02711.56
4.3.100.0000.01711.56
4.3.90.0030.03011.56
4.3.80.0030.05011.56
4.3.70.0000.02311.56
4.3.60.0030.03311.56
4.3.50.0000.03711.56
4.3.40.0000.05311.56
4.3.30.0000.02711.56
4.3.20.0000.03711.56
4.3.10.0000.03711.56
4.3.00.0000.02711.56

preferences:
28.96 ms | 401 KiB | 5 Q