3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = ''; $i = 0; $result = 'good'; while ( stristr( $url, 'http' ) !== $url ) { $url = substr( $url, 1 ); $i++; if ( $i > 256 ) { $result = 'bad'; } } var_dump( $result );

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.140.0101.99416.90
8.3.130.0071.99518.23
8.3.120.0031.99918.63
8.3.110.0171.98516.47
8.3.100.0071.99724.06
8.3.90.0031.99926.77
8.3.80.0071.99619.36
8.3.70.0071.99716.58
8.3.60.0101.99218.18
8.3.50.0071.99516.42
8.3.40.0131.98818.63
8.3.30.0131.98918.57
8.3.20.0002.00224.18
8.3.10.0002.00224.66
8.3.00.0031.99926.16
8.2.260.0032.00016.41
8.2.250.0231.97816.67
8.2.240.0031.99916.96
8.2.230.0101.99220.94
8.2.220.0032.00037.54
8.2.210.0002.00326.77
8.2.200.0071.99718.88
8.2.190.0101.99116.63
8.2.180.0071.99625.92
8.2.170.0101.99618.97
8.2.160.0072.00022.96
8.2.150.0031.99925.66
8.2.140.0031.99924.66
8.2.130.0071.99426.16
8.2.120.0071.99420.90
8.2.110.0071.99821.18
8.2.100.0101.99217.72
8.2.90.0031.99817.84
8.2.80.0031.99917.97
8.2.70.0002.00317.80
8.2.60.0071.99118.16
8.2.50.0071.99718.10
8.2.40.0031.99920.90
8.2.30.0002.00319.25
8.2.20.0071.99918.04
8.2.10.0071.99319.32
8.2.00.0031.99419.32
8.1.300.0071.99419.96
8.1.290.0032.00630.84
8.1.280.0032.00025.92
8.1.270.0002.00224.04
8.1.260.0131.98726.35
8.1.250.0032.00028.09
8.1.240.0002.00322.05
8.1.230.0031.99822.66
8.1.220.0002.00317.78
8.1.210.0002.00220.05
8.1.200.0071.99617.22
8.1.190.0002.00117.22
8.1.180.0071.99118.10
8.1.170.0032.00018.58
8.1.160.0071.99820.68
8.1.150.0002.00418.89
8.1.140.0032.00218.90
8.1.130.0002.00020.17
8.1.120.0131.98917.48
8.1.110.0071.99717.50
8.1.100.0032.00017.38
8.1.90.0022.00017.40
8.1.80.0101.99217.38
8.1.70.0131.98917.40
8.1.60.0151.98617.45
8.1.50.0121.98917.47
8.1.40.0081.99317.47
8.1.30.0101.99417.64
8.1.20.0081.99517.50
8.1.10.0131.98817.52
8.1.00.0081.99417.52
8.0.300.0072.00021.88
8.0.290.0002.00116.58
8.0.280.0002.00218.31
8.0.270.0071.99516.66
8.0.260.0031.99818.31
8.0.250.0032.00116.78
8.0.240.0002.00216.72
8.0.230.0071.99416.72
8.0.220.0121.98716.70
8.0.210.0071.99516.77
8.0.200.0052.00016.67
8.0.190.0071.99616.81
8.0.180.0081.99316.74
8.0.170.0022.00516.73
8.0.160.0051.99916.76
8.0.150.0121.99216.64
8.0.140.0081.99216.63
8.0.130.0101.99615.03
8.0.120.0032.00116.70
8.0.110.0101.99216.62
8.0.100.0081.99316.75
8.0.90.0031.99716.68
8.0.80.0041.99816.64
8.0.70.0051.99616.63
8.0.60.0071.99516.61
8.0.50.0052.00116.59
8.0.30.0131.98516.68
8.0.20.0111.99016.78
8.0.10.0151.98516.82
8.0.00.0211.97616.81
7.4.330.0060.00015.55
7.4.320.0000.00716.50
7.4.300.0050.00316.53
7.4.290.0100.00216.46
7.4.280.0100.00316.43
7.4.270.0070.00416.54
7.4.260.0090.00214.86
7.4.250.0080.00416.59
7.4.240.0090.00216.49
7.4.230.0090.00316.55
7.4.220.0050.00416.59
7.4.210.0080.00616.48
7.4.200.0020.00916.35
7.4.190.0110.00316.61
7.4.180.0110.00416.43
7.4.160.0090.00916.65
7.4.150.0070.01016.47
7.4.140.0120.00616.52
7.4.130.0100.00916.45
7.4.120.0100.00716.47
7.4.110.0110.00816.37
7.4.100.0130.00716.47
7.4.90.0100.00716.40
7.4.80.0090.00716.48
7.4.70.0110.00816.40
7.4.60.0100.00716.45
7.4.50.0110.00616.33
7.4.40.0080.00816.33
7.4.30.0120.00516.39
7.4.20.0090.00716.36
7.4.10.0070.01016.37
7.4.00.0090.00916.37
7.3.330.0070.00416.30
7.3.320.0070.00414.64
7.3.310.0030.00816.33
7.3.300.0080.00316.20
7.3.290.0100.00616.42
7.3.280.0110.00716.37
7.3.270.0120.00716.38
7.3.260.0270.01016.36
7.3.250.0120.00516.30
7.3.240.0100.00816.25
7.3.230.0150.00516.29
7.3.220.0130.00716.30
7.3.210.0090.00816.29
7.3.200.0090.00816.26
7.3.190.0140.00616.30
7.3.180.0100.00716.29
7.3.170.0110.00616.25
7.3.160.0100.00716.21
7.3.150.0120.00516.29
7.3.140.0100.00816.24
7.3.130.0080.00916.27
7.3.120.0120.00816.26
7.3.110.0110.00616.17
7.3.100.0070.00816.19
7.3.90.0120.00516.47
7.3.80.0090.00616.30
7.3.70.0070.00716.29
7.3.60.0070.00816.34
7.3.50.0110.00716.35
7.3.40.0080.00816.32
7.3.30.0110.00716.35
7.3.20.0150.00616.89
7.3.10.0110.00716.85
7.3.00.0140.00616.86

preferences:
50.6 ms | 403 KiB | 5 Q