3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prizes = array ( 1 => array ( 'from' => DateTime::__set_state(array( 'date' => '2014-04-22 00:00:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'to' => DateTime::__set_state(array( 'date' => '2014-05-18 23:59:59', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'date' => DateTime::__set_state(array( 'date' => '2014-06-06 20:45:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'name' => 'Deutschland vs.<br/>Armenien', 'desc' => '06. Juni 2014<br/>In Mainz<br/>Exklusiver Einlass: 18:30 Uhr<br/>Anpfiff: 20:45 Uhr', 'img' => 'armenien.jpg', 'expired' => true, ), 2 => array ( 'from' => DateTime::__set_state(array( 'date' => '2014-04-22 00:00:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'to' => DateTime::__set_state(array( 'date' => '2014-08-21 23:59:59', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'date' => DateTime::__set_state(array( 'date' => '2014-09-07 20:45:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'name' => 'Deutschland vs.<br/>Schottland', 'desc' => '07. September 2014<br/>In Dortmund<br/>Exklusiver Einlass: 18:30 Uhr<br/>Anpfiff: 20:45 Uhr', 'img' => 'schottland.jpg', ), 3 => array ( 'from' => DateTime::__set_state(array( 'date' => '2014-04-22 00:00:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'to' => DateTime::__set_state(array( 'date' => '2014-09-24 23:59:59', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'date' => DateTime::__set_state(array( 'date' => '2014-10-14 20:45:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'name' => 'Deutschland vs.<br/>Irland', 'desc' => '14. Oktober 2014<br/>In Gelsenkirchen<br/>Exklusiver Einlass: 18:30 Uhr<br/>Anpfiff: 20:45 Uhr', 'img' => 'irland.jpg', ), 4 => array ( 'from' => DateTime::__set_state(array( 'date' => '2014-04-22 00:00:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'to' => DateTime::__set_state(array( 'date' => '2014-10-29 23:59:59', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'date' => DateTime::__set_state(array( 'date' => '2014-11-14 20:45:00', 'timezone_type' => 3, 'timezone' => 'Europe/Berlin', )), 'name' => 'Deutschland vs.<br/>Gibraltar', 'desc' => '14. November 2014<br/>In Bremen<br/>Exklusiver Einlass: 18:30 Uhr<br/>Anpfiff: 20:45 Uhr', 'img' => 'gibraltar.jpg', ), ); foreach ($prizes as $id => $prize) { if (isset($prize['expired']) && $prize['expired'] === true) { echo $prize['img']; } }

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)
8.3.70.0140.00716.88
8.3.60.0140.00416.88
8.3.50.0080.01122.05
8.3.40.0070.01519.02
8.3.30.0120.00319.27
8.3.20.0000.00720.20
8.3.10.0080.00023.48
8.3.00.0080.00020.84
8.2.180.0120.00617.00
8.2.170.0100.00722.96
8.2.160.0100.00320.31
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0050.00326.16
8.2.120.0040.00420.79
8.2.110.0070.00321.04
8.2.100.0060.00618.16
8.2.90.0080.00419.17
8.2.80.0050.00317.97
8.2.70.0000.00817.88
8.2.60.0040.00418.05
8.2.50.0000.00918.07
8.2.40.0000.00818.34
8.2.30.0070.00018.48
8.2.20.0040.00417.92
8.2.10.0000.00818.29
8.2.00.0040.00418.02
8.1.280.0090.00925.92
8.1.270.0000.00824.02
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00722.74
8.1.230.0080.00419.31
8.1.220.0040.00417.91
8.1.210.0080.00018.77
8.1.200.0060.00317.60
8.1.190.0050.00317.60
8.1.180.0040.00418.10
8.1.170.0000.00818.94
8.1.160.0040.00422.01
8.1.150.0040.00418.88
8.1.140.0000.00717.71
8.1.130.0040.00417.98
8.1.120.0030.00317.70
8.1.110.0000.00717.77
8.1.100.0070.00017.63
8.1.90.0070.00017.69
8.1.80.0000.00717.61
8.1.70.0080.00017.59
8.1.60.0030.00617.67
8.1.50.0000.00817.68
8.1.40.0040.00417.78
8.1.30.0030.00917.71
8.1.20.0040.00417.80
8.1.10.0030.00517.77
8.1.00.0000.00817.64
8.0.300.0040.00418.77
8.0.290.0000.00817.00
8.0.280.0030.00318.58
8.0.270.0000.00717.39
8.0.260.0070.00017.32
8.0.250.0030.00317.22
8.0.240.0040.00417.17
8.0.230.0070.00017.23
8.0.220.0030.00317.01
8.0.210.0040.00417.06
8.0.200.0040.00417.26
8.0.190.0040.00417.13
8.0.180.0000.00817.21
8.0.170.0040.00417.13
8.0.160.0050.00217.23
8.0.150.0040.00416.98
8.0.140.0070.00017.02
8.0.130.0040.00413.58
8.0.120.0000.00817.18
8.0.110.0070.00017.05
8.0.100.0000.00717.12
8.0.90.0040.00417.23
8.0.80.0060.01017.13
8.0.70.0030.00517.20
8.0.60.0030.00517.10
8.0.50.0050.00317.19
8.0.30.0110.01117.25
8.0.20.0100.00817.40
8.0.10.0040.00417.16
8.0.00.0060.01316.92
7.4.330.0050.00015.11
7.4.320.0030.00316.56
7.4.300.0040.00416.75
7.4.290.0000.00916.80
7.4.280.0070.00016.79
7.4.270.0070.00016.76
7.4.260.0030.00316.63
7.4.250.0040.00316.71
7.4.240.0050.00216.80
7.4.230.0030.00316.90
7.4.220.0030.01416.82
7.4.210.0080.00516.75
7.4.200.0000.00816.83
7.4.160.0030.01316.88
7.4.150.0110.01117.40
7.4.140.0090.00917.86
7.4.130.0080.01016.79
7.4.120.0080.00916.85
7.4.110.0070.01016.68
7.4.100.0100.00716.57
7.4.90.0090.00816.85
7.4.80.0100.01319.39
7.4.70.0060.01016.89
7.4.60.0150.00616.84
7.4.50.0030.00616.91
7.4.40.0030.01316.50
7.4.30.0080.01216.66
7.4.00.0070.00715.13
7.3.330.0050.00013.40
7.3.320.0070.00013.44
7.3.310.0000.00716.50
7.3.300.0030.00316.40
7.3.290.0040.01116.51
7.3.280.0120.00516.48
7.3.270.0100.01017.40
7.3.260.0130.00616.40
7.3.250.0100.00816.73
7.3.240.0140.00716.61
7.3.230.0110.00716.56
7.3.210.0110.00716.54
7.3.200.0130.01119.39
7.3.190.0110.01116.54
7.3.180.0000.01616.70
7.3.170.0120.00616.82
7.3.160.0120.00416.70
7.3.120.0040.01315.04
7.3.110.0090.00414.88
7.3.100.0030.00915.12
7.3.90.0070.00715.09
7.3.80.0070.01014.86
7.3.70.0040.00814.91
7.3.60.0030.00615.06
7.3.50.0040.01115.19
7.3.40.0060.00315.09
7.3.30.0120.00314.87
7.3.20.0040.01116.56
7.3.10.0060.00316.89
7.3.00.0040.01116.57
7.2.330.0090.01217.01
7.2.320.0070.01016.56
7.2.310.0100.00716.91
7.2.300.0090.00916.59
7.2.290.0140.00317.05
7.2.250.0060.01215.49
7.2.240.0100.01015.36
7.2.230.0060.01015.34
7.2.220.0030.01215.58
7.2.210.0000.01415.18
7.2.200.0090.00315.35
7.2.190.0060.00915.32
7.2.180.0030.01315.23
7.2.170.0070.00415.46
7.2.60.0080.00317.12
7.2.00.0060.00619.84
7.1.330.0070.01016.12
7.1.320.0110.00316.02
7.1.310.0000.01315.69
7.1.300.0070.00715.81
7.1.290.0000.01215.75
7.1.280.0060.00615.82
7.1.270.0070.00715.89
7.1.260.0000.00915.70
7.1.200.0060.00616.11
7.1.100.0040.00818.16
7.1.70.0040.00717.43
7.1.60.0170.00719.70
7.1.50.0160.00617.08
7.1.00.0030.07722.42
7.0.200.0080.00816.71
7.0.140.0030.06721.93
7.0.100.0000.08720.10
7.0.90.0030.06719.96
7.0.80.0030.07720.02
7.0.70.0230.06320.04
7.0.60.0030.07319.85
7.0.50.0100.08320.38
7.0.40.0030.05720.05
7.0.30.0070.05020.04
7.0.20.0130.08320.05
7.0.10.0100.06020.17
7.0.00.0030.08720.11
5.6.280.0070.07021.09
5.6.250.0100.07320.77
5.6.240.0070.07720.62
5.6.230.0170.06320.65
5.6.220.0070.08020.64
5.6.210.0030.05320.58
5.6.200.0170.07320.99
5.6.190.0100.08321.16
5.6.180.0230.06721.03
5.6.170.0100.05021.04
5.6.160.0000.09021.04
5.6.150.0070.08021.07
5.6.140.0170.07020.98
5.6.130.0030.09021.10
5.6.120.0030.09020.96
5.6.110.0070.05021.00
5.6.100.0070.04721.03
5.6.90.0100.07721.04
5.6.80.0100.07320.43
5.6.70.0100.05020.41
5.6.60.0200.07020.33
5.6.50.0070.08020.45
5.6.40.0130.06720.43
5.6.30.0130.08020.41
5.6.20.0100.07320.51
5.6.10.0030.07720.43
5.6.00.0130.05720.38
5.5.380.0130.07720.44
5.5.370.0100.04720.44
5.5.360.0030.08020.46
5.5.350.0130.07720.48
5.5.340.0070.06020.82
5.5.330.0100.08320.94
5.5.320.0070.08020.79
5.5.310.0100.08020.84
5.5.300.0070.07720.95
5.5.290.0070.08320.90
5.5.280.0100.08020.82
5.5.270.0000.09020.74
5.5.260.0030.08720.93
5.5.250.0100.08020.76
5.5.240.0070.08320.30
5.5.230.0200.06320.20
5.5.220.0130.07720.29
5.5.210.0070.06720.32
5.5.200.0000.08320.11
5.5.190.0030.08320.01
5.5.180.0000.09320.00
5.5.160.0230.06020.13
5.5.150.0100.04320.14
5.5.140.0100.06720.29
5.5.130.0170.06720.25
5.5.120.0100.08020.10
5.5.110.0100.06720.25
5.5.100.0000.08020.10
5.5.90.0100.06019.95
5.5.80.0170.06720.15
5.5.70.0100.07020.11
5.5.60.0030.08320.11
5.5.50.0030.06320.11
5.5.40.0070.07320.04
5.5.30.0070.06320.10
5.5.20.0100.04720.05
5.5.10.0100.04320.16
5.5.00.0030.08020.02
5.4.450.0100.08019.40
5.4.440.0070.07719.29
5.4.430.0070.04719.13
5.4.420.0100.07719.27
5.4.410.0070.07319.34
5.4.400.0070.07719.10
5.4.390.0030.07718.95
5.4.380.0070.07019.13
5.4.370.0100.06719.23
5.4.360.0130.07319.10
5.4.350.0070.07318.79
5.4.340.0100.07719.04
5.4.320.0100.05719.14
5.4.310.0100.04718.90
5.4.300.0130.05719.09
5.4.290.0030.08019.10
5.4.280.0030.06318.98
5.4.270.0100.08019.12
5.4.260.0070.07319.14
5.4.250.0170.07018.98
5.4.240.0070.07319.23
5.4.230.0130.07318.96
5.4.220.0030.07319.14
5.4.210.0030.07719.04
5.4.200.0070.07718.96
5.4.190.0100.07318.94
5.4.180.0070.06319.05
5.4.170.0130.07018.98
5.4.160.0070.05019.11
5.4.150.0130.07319.05
5.4.140.0100.07016.35
5.4.130.0170.06716.33
5.4.120.0170.06316.17
5.4.110.0170.06316.50
5.4.100.0130.06316.32
5.4.90.0100.07016.32
5.4.80.0130.06716.30
5.4.70.0070.04716.38
5.4.60.0170.05016.42
5.4.50.0100.06016.46
5.4.40.0070.07316.26
5.4.30.0030.07016.29
5.4.20.0030.07316.20
5.4.10.0030.07316.36
5.4.00.0070.07715.75
5.3.290.0100.07714.65
5.3.280.0000.08714.61
5.3.270.0100.07714.50
5.3.260.0130.07314.60
5.3.250.0130.07314.48
5.3.240.0200.06314.63
5.3.230.0100.07014.61
5.3.220.0070.07314.55
5.3.210.0030.07314.60
5.3.200.0000.08014.45
5.3.190.0070.08014.59
5.3.180.0100.07014.42
5.3.170.0200.06014.50
5.3.160.0070.08314.55
5.3.150.0030.07314.59
5.3.140.0000.05714.57
5.3.130.0100.07314.39
5.3.120.0030.08014.52
5.3.110.0070.07014.52
5.3.100.0100.07014.07
5.3.90.0030.07314.02
5.3.80.0070.07014.02
5.3.70.0170.06713.98
5.3.60.0100.07013.99
5.3.50.0000.05313.96
5.3.40.0100.06313.96
5.3.30.0100.06713.79
5.3.20.0000.05313.47
5.3.10.0000.07313.67
5.3.00.0000.07313.53
5.2.170.0030.03711.01
5.2.160.0130.05711.09
5.2.150.0030.06311.15
5.2.140.0070.06011.15
5.2.130.0030.03311.04
5.2.120.0030.06010.97
5.2.110.0170.03010.97
5.2.100.0030.06011.13
5.2.90.0030.06711.17
5.2.80.0030.07010.96
5.2.70.0000.06311.03
5.2.60.0070.05011.09
5.2.50.0070.06010.89
5.2.40.0070.05710.97
5.2.30.0000.06710.91
5.2.20.0000.06710.83
5.2.10.0100.05310.91
5.2.00.0100.05710.74
5.1.60.0130.03310.15
5.1.50.0100.05010.15
5.1.40.0030.05310.15
5.1.30.0030.03710.38
5.1.20.0100.05310.43
5.1.10.0100.05010.15
5.1.00.0070.03710.15
5.0.50.0070.03010.15
5.0.40.0100.04010.15
5.0.30.0030.06310.15
5.0.20.0030.04310.15
5.0.10.0030.04710.15
5.0.00.0130.05310.15
4.4.90.0030.03310.15
4.4.80.0030.03710.15
4.4.70.0030.03710.15
4.4.60.0070.03010.15
4.4.50.0000.04010.15
4.4.40.0030.05310.15
4.4.30.0030.03310.15
4.4.20.0070.03310.15
4.4.10.0000.02710.15
4.4.00.0000.04010.15
4.3.110.0030.03310.15
4.3.100.0030.03710.15
4.3.90.0000.03710.15
4.3.80.0070.04010.15
4.3.70.0000.03310.15
4.3.60.0030.03310.15
4.3.50.0030.03310.15
4.3.40.0030.05010.15
4.3.30.0070.02710.15
4.3.20.0030.03710.15
4.3.10.0070.02010.15
4.3.00.0000.02310.15

preferences:
58.3 ms | 401 KiB | 5 Q