3v4l.org

run code in 300+ PHP versions simultaneously
<?php $version = '8.0'; var_dump(version_compare($version, '8.0.0', '>=')); $version = '8.0.0'; var_dump(version_compare($version, '8.0.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.5.00.0090.01419.84
8.4.150.0010.00114.05
8.4.140.0140.00817.48
8.4.130.0110.01218.68
8.4.120.0120.00824.15
8.4.110.0100.01218.75
8.4.100.0120.00918.48
8.4.90.0090.01020.26
8.4.80.0120.00718.53
8.4.70.0100.00918.94
8.4.60.0150.00518.88
8.4.50.0110.00920.31
8.4.40.0030.01317.29
8.4.30.0030.01218.93
8.4.20.0100.00519.51
8.4.10.0210.00817.55
8.3.280.0130.00718.29
8.3.270.0120.00816.44
8.3.260.0130.00616.37
8.3.250.0100.00818.96
8.3.240.0090.01017.04
8.3.230.0120.00816.65
8.3.220.0100.00418.75
8.3.210.0130.00618.15
8.3.200.0040.00516.39
8.3.190.0140.00617.07
8.3.180.0100.00619.00
8.3.170.0040.00416.92
8.3.160.0130.00217.46
8.3.150.0070.00216.79
8.3.140.0200.00916.14
8.3.130.0190.00916.31
8.3.120.0190.00616.32
8.3.110.0190.00816.45
8.3.100.0240.00516.45
8.3.90.0190.00916.42
8.3.80.0210.00716.41
8.3.70.0260.00316.46
8.3.60.0230.00216.39
8.3.50.0190.00616.62
8.3.40.0150.00417.43
8.3.30.0220.00017.18
8.3.20.0160.01016.99
8.3.10.0080.01217.10
8.3.00.0090.00617.06
8.2.290.0090.01020.54
8.2.280.0120.00918.53
8.2.270.0060.00916.13
8.2.260.0200.00616.25
8.2.250.0190.00716.22
8.2.240.0190.00616.17
8.2.230.0160.01015.95
8.2.220.0170.01015.98
8.2.210.0260.00416.18
8.2.200.0200.00816.44
8.2.190.0210.00616.02
8.2.180.0230.00216.26
8.2.170.0230.00817.28
8.2.160.0220.00717.25
8.2.150.0190.00817.38
8.2.140.0250.00717.37
8.2.130.0220.00817.45
8.2.120.0230.00917.34
8.2.110.0220.00517.41
8.2.100.0250.00717.43
8.2.90.0280.00817.30
8.2.80.0210.00617.41
8.2.70.0230.00717.25
8.2.60.0180.01117.03
8.2.50.0240.00817.13
8.2.40.0170.00517.23
8.2.30.0200.00417.47
8.2.20.0210.00717.27
8.2.10.0180.00517.29
8.2.00.0160.00817.36
8.1.320.0050.00316.13
8.0.300.0150.00617.44

preferences:
55.65 ms | 403 KiB | 5 Q