3v4l.org

run code in 300+ PHP versions simultaneously
<?php $versions = ['7', '7.2', '8','8.2', '8.2.3', '8.3', '8.2.3.8.alpha']; while ($version1 = array_pop($versions)) { foreach ($versions as $version2) { echo $version1.' '.(version_compare($version1,$version2) < 0 ? '<' : '>=').' '.$version2."\n"; } }

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.01319.93
8.4.150.0030.00014.05
8.4.140.0140.00817.77
8.4.130.0100.01019.53
8.4.120.0130.00724.15
8.4.110.0090.01120.36
8.4.100.0140.00518.68
8.4.90.0030.00520.52
8.4.80.0110.00919.00
8.4.70.0120.01017.84
8.4.60.0100.00918.63
8.4.50.0090.01018.53
8.4.40.0070.01017.41
8.4.30.0060.01318.63
8.4.20.0090.00019.77
8.4.10.0090.00019.51
8.3.280.0120.00918.27
8.3.270.0120.00816.63
8.3.260.0110.00816.63
8.3.250.0110.00818.92
8.3.240.0070.01017.36
8.3.230.0120.00616.73
8.3.220.0110.00619.17
8.3.210.0120.00618.73
8.3.200.0050.00416.52
8.3.190.0110.00717.41
8.3.180.0100.00816.99
8.3.170.0120.00620.93
8.3.160.0090.00917.19
8.3.150.0090.00917.17
8.3.140.0040.00416.88
8.3.130.0130.00316.44
8.3.120.0040.01520.98
8.3.110.0070.00016.60
8.3.100.0030.00618.33
8.3.90.0040.00426.77
8.3.80.0100.00017.97
8.3.70.0140.00716.58
8.3.60.0360.01916.58
8.3.50.0150.01216.83
8.3.40.0300.01717.37
8.3.30.0350.00717.11
8.3.20.0260.00417.50
8.3.10.0260.00717.13
8.3.00.0270.00317.50
8.2.290.0110.00720.38
8.2.280.0130.00618.18
8.2.270.0060.00317.08
8.2.260.0090.00916.36
8.2.250.0060.00316.59
8.2.240.0040.00416.45
8.2.230.0000.00820.94
8.2.220.0090.00024.06
8.2.210.0080.00026.77
8.2.200.0090.00016.22
8.2.190.0290.00616.58
8.2.180.0260.01116.58
8.2.170.0390.00017.50
8.2.160.0370.00317.38
8.2.150.0320.00617.38
8.2.140.0270.01117.38
8.2.130.0280.01017.25
8.2.120.0340.00017.48
8.2.110.0360.00017.35
8.2.100.0300.00717.50
8.2.90.0210.01217.47
8.2.80.0320.00017.36
8.2.70.0330.00317.38
8.2.60.0340.00917.13
8.2.50.0470.01217.35
8.2.40.0390.00617.36
8.2.30.0460.00417.23
8.2.20.0380.00017.38
8.2.10.0300.01017.72
8.2.00.0360.00417.46
8.1.330.0070.00321.82
8.1.320.0060.00315.95
8.1.310.0040.00419.97
8.1.300.0090.00616.80
8.1.290.0040.00430.84
8.1.280.0260.00916.58
8.1.270.0300.02316.99
8.1.260.0420.00817.11
8.1.250.0440.00717.25
8.1.240.0300.00517.25
8.1.230.0220.00717.35
8.1.220.0200.01217.23
8.1.210.0330.00317.00
8.1.200.0320.00417.11
8.1.190.0350.00617.25
8.1.180.0330.01016.86
8.1.170.0340.00816.98
8.1.160.0290.00817.13
8.1.150.0310.00917.10
8.1.140.0300.00917.25
8.1.130.0380.00317.00
8.1.120.0330.00416.72
8.1.110.0260.00617.25
8.1.100.0220.01117.38
8.1.90.0220.00816.98
8.1.80.0350.00317.10
8.1.70.0340.00817.25
8.1.60.0420.00817.23
8.1.50.0530.00017.13
8.1.40.0330.01017.22
8.1.30.0430.00317.35
8.1.20.0350.01217.37
8.1.10.0380.00417.25
8.1.00.0440.01517.13

preferences:
31.75 ms | 403 KiB | 5 Q