3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_story = [ 'some-video.mp4', 'some-image.jpg' ]; foreach ($_story as $story) { $check = '/mp4/m'; preg_match_all($check, $story, $matches, PREG_SET_ORDER, 0); if (empty($matches)) { echo "<a href=$story&dl=1><img src=$story></a>\n"; } else { echo '<video width="320" height="240" controls>'."\n"; echo '<source src="' . $story . '" type="video/mp4">'."\n"; echo '</video>'."\n"; echo "<a href=$story&dl=1>Download</a>"."\n"; } }

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.60.0090.00616.63
8.3.50.0150.00018.51
8.3.40.0090.00619.01
8.3.30.0040.01218.97
8.3.20.0000.00822.52
8.3.10.0110.00021.75
8.3.00.0080.00020.77
8.2.180.0070.01418.29
8.2.170.0120.00322.96
8.2.160.0070.00722.30
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00419.61
8.2.110.0070.00321.06
8.2.100.0040.00818.03
8.2.90.0000.00818.16
8.2.80.0050.00320.54
8.2.70.0040.00417.91
8.2.60.0040.00418.16
8.2.50.0040.00418.10
8.2.40.0040.00421.14
8.2.30.0040.00419.15
8.2.20.0000.00718.14
8.2.10.0080.00018.94
8.2.00.0080.00019.25
8.1.280.0080.00825.92
8.1.270.0080.00022.47
8.1.260.0080.00026.35
8.1.250.0110.00428.09
8.1.240.0060.00322.05
8.1.230.0070.00722.67
8.1.220.0060.00317.74
8.1.210.0060.00318.85
8.1.200.0040.00417.48
8.1.190.0050.00317.36
8.1.180.0090.00018.10
8.1.170.0030.00618.78
8.1.160.0050.00320.20
8.1.150.0050.00218.83
8.1.140.0040.00418.98
8.1.130.0030.00620.07
8.1.120.0070.00017.65
8.1.110.0020.00517.62
8.1.100.0040.00417.50
8.1.90.0000.00917.53
8.1.80.0040.00417.51
8.1.70.0000.00717.49
8.1.60.0050.00517.71
8.1.50.0000.00817.57
8.1.40.0000.00817.68
8.1.30.0040.00417.75
8.1.20.0060.00317.83
8.1.10.0090.00317.68
8.1.00.0000.00817.66
8.0.300.0000.00820.07
8.0.290.0050.00316.74
8.0.280.0070.00018.50
8.0.270.0000.00817.33
8.0.260.0030.00320.09
8.0.250.0070.00017.10
8.0.240.0070.00017.13
8.0.230.0030.00317.09
8.0.220.0040.00416.94
8.0.210.0050.00316.93
8.0.200.0000.00717.02
8.0.190.0000.00717.11
8.0.180.0030.00517.02
8.0.170.0000.00816.99
8.0.160.0080.00017.11
8.0.150.0000.00816.96
8.0.140.0040.00716.84
8.0.130.0030.00313.51
8.0.120.0040.00417.02
8.0.110.0000.00716.91
8.0.100.0070.00016.87
8.0.90.0030.00616.95
8.0.80.0060.01216.97
8.0.70.0000.00717.02
8.0.60.0040.00416.87
8.0.50.0080.00017.00
8.0.30.0070.01717.41
8.0.20.0120.00817.34
8.0.10.0000.00716.98
8.0.00.0090.00917.12
7.4.330.0060.00015.55
7.4.320.0030.00316.71
7.4.300.0030.00316.66
7.4.290.0030.00516.84
7.4.280.0040.00416.80
7.4.270.0000.00816.88
7.4.260.0030.00313.41
7.4.250.0030.00316.68
7.4.240.0010.00616.76
7.4.230.0070.00016.77
7.4.220.0020.00516.79
7.4.210.0070.01116.81
7.4.200.0000.00816.86
7.4.130.0100.01316.65
7.4.120.0030.01816.64
7.4.110.0110.00616.58
7.4.100.0160.00316.56
7.4.90.0100.00716.69
7.4.80.0100.00919.39
7.4.70.0080.00816.67
7.4.60.0220.00316.55
7.4.50.0040.01416.41
7.4.40.0060.01016.41
7.4.00.0090.00615.41
7.3.330.0000.00816.63
7.3.320.0000.00513.25
7.3.310.0000.00716.44
7.3.300.0030.00316.50
7.3.290.0070.00916.44
7.3.280.0030.01316.58
7.3.260.0030.01416.88
7.3.240.0090.01116.59
7.3.230.0100.01016.49
7.3.210.0090.00616.54
7.3.200.0100.00616.82
7.3.190.0060.01116.67
7.3.180.0120.00416.36
7.3.170.0080.00816.52
7.3.160.0060.00916.33
7.3.120.0100.00514.96
7.3.110.0100.00615.32
7.3.100.0060.00814.79
7.3.90.0100.00315.07
7.3.80.0100.00815.15
7.3.70.0030.01014.99
7.3.60.0090.00314.83
7.3.50.0070.00715.00
7.3.40.0080.00815.00
7.3.30.0030.01214.76
7.3.20.0100.00615.00
7.3.10.0080.00815.00
7.3.00.0080.00614.91
7.2.330.0090.01216.75
7.2.320.0030.01316.76
7.2.310.0130.01016.78
7.2.300.0140.00916.75
7.2.290.0200.00316.83
7.2.240.0050.00914.95
7.2.230.0080.00615.19
7.2.220.0130.00515.25
7.2.210.0070.00815.12
7.2.200.0050.01115.12
7.2.190.0090.00615.11
7.2.180.0120.00315.20
7.2.170.0050.00915.16
7.2.160.0040.01115.20
7.2.150.0040.01015.19
7.2.140.0070.01015.12
7.2.130.0100.00315.35
7.2.120.0050.01315.22
7.2.110.0060.01414.92
7.2.100.0100.00715.23
7.2.90.0080.00515.11
7.2.80.0050.00915.18
7.2.70.0050.01015.16
7.2.60.0040.01115.16
7.2.50.0110.00615.31
7.2.40.0130.00714.98
7.2.30.0110.00415.16
7.2.20.0070.00715.22
7.2.10.0050.01015.32
7.2.00.0090.00615.26
7.1.330.0060.01214.01
7.1.320.0140.00314.04
7.1.310.0290.00614.25
7.1.300.0090.00513.85
7.1.290.0040.00814.07
7.1.280.0080.00414.15
7.1.270.0040.00914.15
7.1.260.0060.01213.94
7.1.250.0090.00914.25

preferences:
69.44 ms | 401 KiB | 5 Q