3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = [1,2,3,4]; echo $test;

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.5.00.0150.00619.85
8.4.150.0020.00014.05
8.4.140.0140.00617.36
8.4.130.0060.00718.83
8.4.120.0100.01024.16
8.4.110.0030.00618.79
8.4.100.0140.00618.59
8.4.90.0050.00420.71
8.4.80.0050.00318.70
8.4.70.0030.00518.13
8.4.60.0060.00418.88
8.4.50.0130.00818.51
8.4.40.0040.01517.54
8.4.30.0100.00718.71
8.4.20.0070.01319.58
8.4.10.0090.00619.47
8.3.280.0100.01018.37
8.3.270.0100.00916.66
8.3.260.0120.00816.74
8.3.250.0120.00718.88
8.3.240.0060.00217.27
8.3.230.0070.01216.76
8.3.220.0100.00718.70
8.3.210.0110.00816.49
8.3.200.0050.00316.65
8.3.190.0100.00918.92
8.3.180.0050.01017.24
8.3.170.0090.00618.84
8.3.160.0040.01518.41
8.3.150.0130.00617.01
8.3.140.0000.00816.60
8.3.130.0080.00016.73
8.3.120.0050.00520.66
8.3.110.0060.00316.78
8.3.100.0040.00416.71
8.3.90.0000.00826.77
8.3.80.0030.00819.36
8.3.70.0130.01019.36
8.3.60.0180.00719.36
8.3.50.0080.00319.36
8.3.40.0180.00419.36
8.3.30.0210.00019.36
8.3.20.0170.00419.36
8.3.10.0230.00019.36
8.3.00.0150.00319.36
8.2.290.0110.00720.10
8.2.280.0080.01118.54
8.2.270.0070.01017.20
8.2.260.0120.00618.23
8.2.250.0040.00416.66
8.2.240.0150.00417.01
8.2.230.0080.00020.94
8.2.220.0040.00424.06
8.2.210.0140.00326.77
8.2.200.0110.01119.36
8.2.190.0140.00719.36
8.2.180.0160.00619.36
8.2.170.0240.00019.36
8.2.160.0210.00319.36
8.2.150.0180.00619.38
8.2.140.0180.00619.36
8.2.130.0160.00819.36
8.2.120.0140.01419.36
8.2.110.0250.00519.36
8.2.100.0140.00719.36
8.2.90.0220.00019.36
8.2.80.0180.00519.36
8.2.70.0180.00319.36
8.2.60.0190.00419.36
8.2.50.0210.00019.36
8.2.40.0160.00319.36
8.2.30.0190.00319.36
8.2.20.0180.00619.36
8.2.10.0160.00519.36
8.2.00.0180.00319.36
8.1.330.0110.00521.89
8.1.320.0110.00717.79
8.1.310.0000.01016.34
8.1.300.0030.00718.43
8.1.290.0060.00330.84
8.1.280.0190.00519.36
8.1.270.0170.00619.36
8.1.260.0180.00719.36
8.1.250.0210.00319.36
8.1.240.0140.00719.36
8.1.230.0140.00719.36
8.1.220.0140.00719.36
8.1.210.0110.00919.36
8.1.200.0170.00319.36
8.1.190.0180.00319.36
8.1.180.0070.01519.36
8.1.170.0170.00319.36
8.1.160.0180.00419.36
8.1.150.0150.00519.36
8.1.140.0170.00319.36
8.1.130.0160.00819.36
8.1.120.0130.00919.36
8.1.110.0100.01019.36
8.1.100.0210.00019.36
8.1.90.0210.00319.36
8.1.80.0180.00319.36
8.1.70.0170.00319.36
8.1.60.0130.01019.36
8.1.50.0180.00419.36
8.1.40.0220.00019.36
8.1.30.0310.00019.36
8.1.20.0210.00019.36
8.1.10.0210.00319.36
8.1.00.0170.00719.36
8.0.00.0080.00419.36
7.4.330.0090.00619.36
7.3.330.0070.00619.36
7.0.00.0100.00319.36
5.6.400.0100.00319.36

preferences:
76.44 ms | 403 KiB | 5 Q