3v4l.org

run code in 300+ PHP versions simultaneously
<?php [$major, $minor] = explode('.', '11.0-dev'); echo $minor + 1; echo $major + 1;

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.10.0000.00923.95
8.3.140.0040.00416.52
8.3.130.0050.00318.39
8.3.120.0100.00720.78
8.3.110.0040.01120.94
8.3.100.0000.00924.06
8.3.90.0080.00026.77
8.3.80.0090.00018.55
8.3.70.0190.00316.63
8.3.60.0090.00618.55
8.3.50.0100.01016.60
8.3.40.0070.00722.09
8.3.30.0120.00320.09
8.3.20.0000.00824.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.250.0040.01216.78
8.2.240.0040.00417.05
8.2.230.0100.00022.58
8.2.220.0030.00737.54
8.2.210.0140.00326.77
8.2.200.0090.00018.17
8.2.190.0140.00716.62
8.2.180.0110.00416.63
8.2.170.0070.00722.96
8.2.160.0040.01122.96
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0040.00419.54
8.2.110.0090.00020.97
8.2.100.0060.00619.64
8.2.90.0040.00420.66
8.2.80.0080.00020.50
8.2.70.0050.00517.93
8.2.60.0140.00317.09
8.2.50.0110.00817.38
8.2.40.0050.01117.25
8.2.30.0130.00317.63
8.2.20.0020.00717.75
8.2.10.0170.00017.38
8.2.00.0060.01017.50
8.1.300.0030.00615.95
8.1.290.0080.00330.84
8.1.280.0100.00325.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0080.00022.14
8.1.230.0080.00320.83
8.1.220.0000.00817.74
8.1.210.0040.00418.80
8.1.200.0080.00017.35
8.1.190.0140.00416.75
8.1.180.0140.00416.75
8.1.170.0160.00317.00
8.1.160.0140.00317.13
8.1.150.0140.00417.21
8.1.140.0060.00317.22
8.1.130.0110.00717.00
8.1.120.0170.00016.88
8.1.110.0060.01217.13
8.1.100.0080.00817.25
8.1.90.0120.00616.88
8.1.80.0090.00916.88
8.1.70.0150.00417.24
8.1.60.0140.00517.50
8.1.50.0110.00817.13
8.1.40.0090.00917.24
8.1.30.0140.00517.24
8.1.20.0150.00417.25
8.1.10.0060.01217.23
8.1.00.0140.00317.23
8.0.300.0040.00420.03
8.0.290.0000.00817.18
8.0.280.0100.00716.63
8.0.270.0080.00816.63
8.0.260.0120.00516.38
8.0.250.0170.00016.63
8.0.240.0100.00516.50
8.0.230.0160.00316.49
8.0.220.0050.01116.75
8.0.210.0120.00616.36
8.0.200.0150.00216.35
8.0.190.0130.00416.38
8.0.180.0140.00316.23
8.0.170.0070.01016.47
8.0.160.0140.00316.23
8.0.150.0120.00416.25
8.0.140.0130.00516.38
8.0.130.0170.00016.63
8.0.120.0090.00916.63
8.0.110.0090.00916.50
8.0.100.0130.00316.61
8.0.90.0130.00316.38
8.0.80.0150.00016.63
8.0.70.0090.00916.25
8.0.60.0120.00616.25
8.0.50.0130.00316.38
8.0.30.0090.00716.25
8.0.20.0100.00616.63
8.0.10.0070.01016.50

preferences:
49.81 ms | 403 KiB | 5 Q