3v4l.org

run code in 300+ PHP versions simultaneously
<?php (function () { echo 'hello world'; })();

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.1.20.0080.00017.47
8.1.10.0030.00517.40
8.1.00.0040.00417.42
8.0.150.0040.00416.80
8.0.140.0000.00716.85
8.0.130.0000.00513.29
8.0.120.0000.00816.82
8.0.110.0040.00416.80
8.0.100.0030.00416.75
8.0.90.0030.00516.80
8.0.80.0000.01216.83
8.0.70.0040.00416.71
8.0.60.0000.00716.80
8.0.50.0010.00616.77
8.0.30.0070.00916.98
8.0.20.0090.00717.27
8.0.10.0050.00316.97
8.0.00.0080.01216.73
7.4.270.0070.00016.64
7.4.260.0100.00016.55
7.4.250.0070.00016.47
7.4.240.0040.00316.63
7.4.230.0020.00516.54
7.4.220.0040.00916.45
7.4.210.0060.00916.57
7.4.200.0020.00516.40
7.4.190.0050.00316.36
7.4.180.0040.00416.73
7.4.160.0050.00816.51
7.4.150.0070.00616.88
7.4.140.0090.00617.30
7.4.130.0070.00816.38
7.4.120.0070.00716.55
7.4.110.0050.00716.39
7.4.100.0050.00816.48
7.4.90.0060.00816.45
7.4.80.0110.00417.84
7.4.70.0030.00916.37
7.4.60.0080.00416.46
7.4.50.0070.00416.43
7.4.40.0030.00916.49
7.4.30.0040.00816.41
7.4.20.0040.00416.22
7.4.10.0030.00516.46
7.4.00.0070.00415.88
7.3.330.0060.00013.30
7.3.320.0030.00313.18
7.3.310.0040.00416.08
7.3.300.0040.00416.19
7.3.290.0060.00816.18
7.3.280.0060.01016.23
7.3.270.0050.00716.75
7.3.260.0080.00616.37
7.3.250.0050.01116.36
7.3.240.0090.00616.28
7.3.230.0080.00716.39
7.3.220.0070.00016.07
7.3.210.0080.00516.16
7.3.200.0130.00217.79
7.3.190.0040.00816.15
7.3.180.0050.00916.23
7.3.170.0100.00316.28
7.3.160.0060.00616.21
7.3.150.0000.00816.20
7.3.140.0070.00015.96
7.3.130.0030.00516.18
7.3.120.0000.00716.01
7.3.110.0040.00416.02
7.3.100.0070.00016.02
7.3.90.0020.00516.30
7.3.80.0030.00515.98
7.3.70.0040.00416.22
7.3.60.0040.00216.34
7.3.50.0080.00016.34
7.3.40.0050.00316.31
7.3.30.0040.00416.35
7.3.20.0040.00416.22
7.3.10.0040.00616.45
7.3.00.0010.00816.47
7.2.340.0130.00016.10
7.2.330.0090.01016.38
7.2.320.0080.00716.42
7.2.310.0110.00416.43
7.2.300.0090.00716.37
7.2.290.0140.00216.33
7.2.280.0120.00316.33
7.2.270.0100.00516.19
7.2.260.0070.00716.16
7.2.250.0110.00416.23
7.2.240.0080.00616.33
7.2.230.0100.00416.13
7.2.220.0060.00816.30
7.2.210.0090.00716.32
7.2.200.0000.01616.33
7.2.190.0100.00516.30
7.2.180.0120.00216.34
7.2.170.0100.00316.50
7.2.160.0090.00616.34
7.2.150.0060.00916.38
7.2.140.0050.00916.47
7.2.130.0070.00716.63
7.2.120.0070.00816.67
7.2.110.0100.00316.71
7.2.100.0070.00716.57
7.2.90.0070.00616.73
7.2.80.0080.00516.73
7.2.70.0610.00816.00
7.2.60.0380.00716.24
7.2.50.0570.00516.02
7.2.40.0590.00316.02
7.2.30.0630.00816.11
7.2.20.0620.00716.11
7.2.10.0300.00716.58
7.2.00.0270.00916.97
7.1.330.0070.00715.56
7.1.320.0110.00415.30
7.1.310.0120.00215.43
7.1.300.0150.00015.24
7.1.290.0090.00415.35
7.1.280.0090.00415.50
7.1.270.0110.00315.48
7.1.260.0120.00215.40
7.1.250.0070.00415.54
7.1.240.0110.00215.26
7.1.230.0130.00015.31
7.1.220.0050.00815.46
7.1.210.0090.00415.38
7.1.200.0090.00515.39
7.1.190.0160.00015.42
7.1.180.0180.00315.39
7.1.170.0550.00814.41
7.1.160.0940.00614.35
7.1.150.0620.00714.46
7.1.140.0580.00614.62
7.1.130.0660.00514.49
7.1.120.0480.00815.30
7.1.110.0460.00715.11
7.1.100.0390.00615.75
7.1.90.0470.01114.87
7.1.80.0340.01014.92
7.1.70.0260.00715.16
7.1.60.0420.01224.82
7.1.50.0460.01024.02
7.1.40.1130.01326.42
7.1.30.0330.00926.47
7.1.20.0450.00726.52
7.1.10.0230.01014.59
7.1.00.0190.02416.46
7.0.330.0130.00015.00
7.0.320.0070.00815.05
7.0.310.0170.00015.05
7.0.300.0840.00814.27
7.0.290.0580.00614.23
7.0.280.0100.00315.12
7.0.270.0740.00514.28
7.0.260.0410.00514.79
7.0.250.0560.00314.75
7.0.240.0400.01014.80
7.0.230.0350.01114.81
7.0.220.0430.00614.68
7.0.210.0350.00314.32
7.0.200.0320.00414.53
7.0.190.0460.00614.46
7.0.180.0330.00414.29
7.0.170.0280.00614.24
7.0.160.0300.00514.25
7.0.150.0210.00714.28
7.0.140.0240.00914.40
7.0.130.0230.00714.40
7.0.120.0190.01014.38
7.0.110.0200.00814.24
7.0.100.0300.00914.44
7.0.90.0160.00614.31
7.0.80.0160.00914.40
7.0.70.0210.00415.06
7.0.60.0230.02316.06
7.0.50.0150.02616.18
7.0.40.0160.02016.15
7.0.30.0150.01716.28
7.0.20.0140.02416.19
7.0.10.0210.02015.71
7.0.00.0520.01615.71
5.6.400.0060.00815.74
5.6.390.0060.00615.37
5.6.380.0100.00315.51
5.6.370.0120.00015.55
5.6.360.0120.00015.56
5.6.350.0080.00415.52
5.6.340.0090.00315.50
5.6.330.0070.00715.74
5.6.320.0070.00715.76
5.6.310.0050.00815.43
5.6.300.0130.02116.80
5.6.290.0110.02316.85
5.6.280.0120.03417.78
5.6.270.0110.02316.78
5.6.260.0160.02316.82
5.6.250.0070.02616.92
5.6.240.0140.01916.82
5.6.230.0100.02816.74
5.6.220.0120.02016.85
5.6.210.0110.03517.70
5.6.200.0130.03417.97
5.6.190.0140.03317.84
5.6.180.0120.03117.84
5.6.170.0110.04017.88
5.6.160.0100.03417.90
5.6.150.0120.03717.87
5.6.140.0080.04717.92
5.6.130.0140.03217.89
5.6.120.0110.04017.90
5.6.110.0100.03817.84
5.6.100.0100.04017.85
5.6.90.0110.03717.81
5.6.80.0130.03417.60
5.6.70.0100.03517.48
5.6.60.0100.03817.54
5.6.50.0100.03917.49
5.6.40.0120.03317.57
5.6.30.0080.03317.47
5.6.20.0120.03417.60
5.6.10.0080.02817.44
5.6.00.0120.03317.53
5.5.380.0100.02114.63
5.5.370.0100.02114.74
5.5.360.0080.02214.57
5.5.350.0070.02915.99
5.5.340.0100.02616.23
5.5.330.0100.03416.25
5.5.320.0100.03516.29
5.5.310.0110.03016.25
5.5.300.0120.03316.14
5.5.290.0100.03716.28
5.5.280.0110.03716.31
5.5.270.0080.03916.26
5.5.260.0100.03516.17
5.5.250.0080.03516.12
5.5.240.0100.03716.00
5.5.230.0100.03415.95
5.5.220.0070.03215.99
5.5.210.0130.02815.99
5.5.200.0100.03415.88
5.5.190.0110.03015.99
5.5.180.0120.03215.79
5.5.170.0090.00315.44
5.5.160.0120.03315.96
5.5.150.0100.03315.92
5.5.140.0090.03515.84
5.5.130.0080.03715.92
5.5.120.0100.03115.85
5.5.110.0090.03315.92
5.5.100.0090.03515.95
5.5.90.0130.02815.90
5.5.80.0120.03216.01
5.5.70.0090.03615.96
5.5.60.0080.02815.82
5.5.50.0090.03515.76
5.5.40.0090.03415.88
5.5.30.0130.03115.85
5.5.20.0110.03615.91
5.5.10.0100.03315.89
5.5.00.0090.03415.74

preferences:
54.12 ms | 455 KiB | 5 Q