3v4l.org

run code in 300+ PHP versions simultaneously
<?php $someVar = 123; return compact('someVar');

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.4.140.0110.01017.37
8.4.130.0110.00817.65
8.4.120.0130.00720.39
8.4.110.0050.00418.64
8.4.100.0070.00317.43
8.4.90.0170.00417.85
8.4.80.0110.00517.82
8.4.70.0090.00117.66
8.4.60.0110.00617.54
8.4.50.0050.00320.71
8.4.40.0120.00617.62
8.4.30.0110.00720.65
8.4.20.0060.00323.76
8.4.10.0130.00323.85
8.3.270.0120.00816.59
8.3.260.0140.00516.61
8.3.250.0070.01018.70
8.3.240.0090.00916.43
8.3.230.0100.01016.37
8.3.220.0140.00816.55
8.3.210.0100.00816.69
8.3.200.0110.00716.45
8.3.190.0090.00517.15
8.3.180.0120.00718.68
8.3.170.0070.01117.16
8.3.160.0140.00316.57
8.3.150.0080.01216.45
8.3.140.0160.00316.56
8.3.130.0060.00318.42
8.3.120.0040.00418.82
8.3.110.0060.00320.94
8.3.100.0120.00024.06
8.3.90.0100.01026.77
8.3.80.0060.00316.75
8.3.70.0040.01118.43
8.3.60.0090.01216.62
8.3.50.0120.00616.46
8.3.40.0110.00420.22
8.3.30.0120.00618.43
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0000.00826.16
8.2.290.0110.00720.50
8.2.280.0130.00516.66
8.2.270.0170.00016.46
8.2.260.0070.00717.07
8.2.250.0040.00418.50
8.2.240.0000.00818.67
8.2.230.0050.00322.58
8.2.220.0090.00037.54
8.2.210.0080.00026.77
8.2.200.0090.00016.50
8.2.190.0180.00016.63
8.2.180.0140.00416.50
8.2.170.0000.01519.00
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0050.00326.16
8.2.110.0040.00722.32
8.2.100.0090.00317.47
8.2.90.0000.00817.63
8.2.80.0060.00318.83
8.2.70.0040.00417.50
8.2.60.0030.00517.38
8.2.50.0050.00317.55
8.2.40.0140.00317.62
8.2.30.0110.00517.62
8.2.20.0090.00917.62
8.2.10.0040.01617.62
8.2.00.0120.00417.62
8.1.330.0080.01016.54
8.1.320.0070.00118.13
8.1.310.0040.00416.51
8.1.300.0090.00016.05
8.1.290.0100.00718.88
8.1.280.0070.01425.92
8.1.270.0000.00724.66
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0060.00324.02
8.1.230.0090.00319.00
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0080.00017.23
8.1.180.0000.00918.10
8.1.170.0100.00717.62
8.1.160.0130.00317.62
8.1.150.0120.00617.62
8.1.140.0130.00417.62
8.1.130.0140.00317.62
8.1.120.0090.00917.62
8.1.110.0080.00817.62
8.1.100.0140.00317.62
8.1.90.0120.00517.62
8.1.80.0140.00317.62
8.1.70.0170.00017.62
8.1.60.0130.00417.62
8.1.50.0260.00017.62
8.1.40.0000.01717.62
8.1.30.0100.00717.62
8.1.20.0130.00417.62
8.1.10.0180.00017.62
8.1.00.0100.00717.62
8.0.300.0080.00018.77
8.0.290.0080.00016.75
8.0.280.0100.00717.62
8.0.270.0100.00717.62
8.0.260.0120.00417.62
8.0.250.0090.00617.62
8.0.240.0080.00817.62
8.0.230.0120.00517.62
8.0.220.0110.00517.62
8.0.210.0170.00017.62
8.0.200.0200.00017.62
8.0.190.0120.00617.62
8.0.180.0150.00417.62
8.0.170.0170.00017.62
8.0.160.0050.01117.62
8.0.150.0110.00617.62
8.0.140.0130.00317.62
8.0.130.0050.01117.62
8.0.120.0100.00717.62
8.0.110.0120.00417.62
8.0.100.0130.00417.62
8.0.90.0100.00517.62
8.0.80.0170.00017.62
8.0.70.0130.00317.62
8.0.60.0090.00617.62
8.0.50.0150.00017.62
8.0.30.0150.00017.62
8.0.20.0100.00517.62
8.0.10.0130.00317.62

preferences:
30.42 ms | 403 KiB | 5 Q