3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = true; $foo[0];

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.0140.00718.55
8.3.50.0100.01016.21
8.3.40.0140.00718.67
8.3.30.0040.01118.89
8.3.20.0090.00022.10
8.3.10.0040.00423.52
8.3.00.0050.00319.66
8.2.180.0070.01716.32
8.2.170.0160.00322.96
8.2.160.0100.00319.07
8.2.150.0040.00424.18
8.2.140.0100.00324.66
8.2.130.0040.00419.27
8.2.120.0140.00326.35
8.2.110.0000.01020.52
8.2.100.0110.00017.91
8.2.90.0060.00319.04
8.2.80.0080.00018.03
8.2.70.0060.00617.25
8.2.60.0060.00317.93
8.2.50.0060.00318.10
8.2.40.0040.00420.66
8.2.30.0000.01019.11
8.2.20.0040.00417.93
8.2.10.0040.00418.12
8.2.00.0020.00518.05
8.1.280.0090.00625.92
8.1.270.0100.00722.13
8.1.260.0120.00626.35
8.1.250.0100.00728.09
8.1.240.0100.00020.96
8.1.230.0100.00019.10
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0050.00317.10
8.1.180.0080.00018.10
8.1.170.0040.00418.56
8.1.160.0030.00319.04
8.1.150.0000.00720.49
8.1.140.0040.00419.43
8.1.130.0030.00318.82
8.1.120.0040.00417.40
8.1.110.0000.00817.39
8.1.100.0040.00417.39
8.1.90.0000.00717.29
8.1.80.0070.00017.28
8.1.70.0030.00317.38
8.1.60.0070.00017.50
8.1.50.0030.00617.37
8.1.40.0080.00017.34
8.1.30.0000.00717.41
8.1.20.0000.00717.62
8.1.10.0040.00417.51
8.1.00.0050.00217.50
8.0.300.0060.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00718.32
8.0.270.0040.00417.09
8.0.260.0030.00316.80
8.0.250.0030.00316.93
8.0.240.0000.00716.84
8.0.230.0030.00516.98
8.0.220.0070.00016.89
8.0.210.0050.00216.87
8.0.200.0030.00316.93
8.0.190.0040.00416.96
8.0.180.0070.00016.79
8.0.170.0040.00416.80
8.0.160.0060.00316.89
8.0.150.0040.00416.83
8.0.140.0040.00416.74
8.0.130.0080.00013.35
8.0.120.0040.00416.87
8.0.110.0040.00416.91
8.0.100.0040.00416.78
8.0.90.0000.00716.83
8.0.80.0130.01016.87
8.0.70.0000.00816.95
8.0.60.0000.00716.82
8.0.50.0030.00316.71
8.0.30.0090.00917.12
8.0.20.0090.01117.40
8.0.10.0070.00016.87
8.0.00.0070.01016.92
7.4.330.0000.00615.55
7.4.320.0030.00316.45
7.4.300.0000.00716.54
7.4.290.0030.00316.53
7.4.280.0050.00316.43
7.4.270.0000.00816.35
7.4.260.0040.00416.44
7.4.250.0030.00316.48
7.4.240.0040.00416.45
7.4.230.0000.00716.43
7.4.220.0090.00916.47
7.4.210.0020.01216.52
7.4.200.0030.00316.34
7.4.160.0080.01016.51
7.4.150.0110.00817.40
7.4.140.0110.00917.86
7.4.130.0090.00916.60
7.4.120.0110.00816.44
7.4.110.0110.00716.58
7.4.100.0000.01716.52
7.4.90.0150.00316.54
7.4.80.0040.01419.39
7.4.70.0060.01016.43
7.4.60.0080.00916.48
7.4.50.0080.00416.38
7.4.40.0080.00816.47
7.4.30.0070.01016.56
7.4.00.0030.01314.92
7.3.330.0000.00513.03
7.3.320.0000.00513.10
7.3.310.0040.00416.06
7.3.300.0070.00016.24
7.3.290.0070.00016.22
7.3.280.0080.00916.21
7.3.270.0110.00617.40
7.3.260.0110.00516.22
7.3.250.0120.00816.21
7.3.240.0090.01016.38
7.3.230.0110.00816.19
7.3.210.0060.01016.21
7.3.200.0070.01016.33
7.3.190.0030.01416.33
7.3.180.0070.00916.25
7.3.170.0140.00716.32
7.3.160.0150.00616.18
7.2.330.0100.00716.21
7.2.320.0050.01116.19
7.2.310.0100.00716.25
7.2.300.0170.00016.55
7.2.290.0060.00916.54
7.2.60.0810.00714.96
7.2.00.0080.00319.33
7.1.200.0090.00315.57
7.1.100.0060.00618.33
7.1.70.0210.01215.34
7.1.60.0360.01033.21
7.1.50.0240.02132.70
7.1.40.0280.01732.35
7.1.30.0390.01632.21
7.1.20.0420.01332.68
7.1.10.0130.01314.53
7.1.00.0140.01214.60
7.0.200.0210.00914.58
7.0.190.0190.00814.77
7.0.180.0210.00414.26
7.0.170.0260.00514.05
7.0.160.0190.01314.05
7.0.150.0230.01114.54
7.0.140.0200.00714.26
7.0.130.0240.00914.41
7.0.120.0260.00914.25
7.0.110.0280.01014.09
7.0.100.0210.01614.33
7.0.90.0170.01714.21
7.0.80.0130.01514.27
7.0.70.0150.01214.36
7.0.60.0670.01014.03
7.0.50.0210.00914.63
7.0.40.0260.01314.58
7.0.30.0240.00614.47
7.0.20.0280.00614.39
7.0.10.0240.01014.48
7.0.00.0420.00914.30

preferences:
40.96 ms | 401 KiB | 5 Q