3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = 100; try { assert($hundred < 50); } catch (AssertionError $e) { echo $e->getMessage(); }

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.3.60.0110.00718.30
8.3.50.0070.01117.99
8.3.40.0080.00618.84
8.3.30.0090.00618.76
8.3.20.0040.00420.21
8.3.10.0040.00423.71
8.3.00.0050.00319.29
8.2.180.0150.00025.92
8.2.170.0100.00719.26
8.2.160.0130.00322.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00421.00
8.2.110.0100.00020.51
8.2.100.0070.00418.03
8.2.90.0080.00019.17
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0000.00817.91
8.2.50.0040.00418.07
8.2.40.0030.00519.23
8.2.30.0070.00020.59
8.2.20.0050.00517.79
8.2.10.0050.00218.04
8.2.00.0000.00817.98
8.1.280.0070.01025.92
8.1.270.0060.00324.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00422.24
8.1.230.0090.00319.43
8.1.220.0040.00417.89
8.1.210.0000.00918.77
8.1.200.0090.00017.38
8.1.190.0060.00317.56
8.1.180.0050.00218.10
8.1.170.0040.00418.46
8.1.160.0000.00721.99
8.1.150.0000.00718.89
8.1.140.0040.00419.44
8.1.130.0060.00317.48
8.1.120.0000.00717.35
8.1.110.0000.00717.30
8.1.100.0040.00417.47
8.1.90.0000.00817.51
8.1.80.0000.00717.40
8.1.70.0030.00317.33
8.1.60.0040.00417.48
8.1.50.0000.00917.52
8.1.40.0040.00417.54
8.1.30.0030.00617.62
8.1.20.0000.00817.55
8.1.10.0000.00717.40
8.1.00.0040.00417.56
8.0.300.0000.00718.77
8.0.290.0070.00016.88
8.0.280.0030.00318.49
8.0.270.0030.00517.25
8.0.260.0030.00316.87
8.0.250.0030.00317.04
8.0.240.0000.00816.98
8.0.230.0000.00716.97
8.0.220.0040.00416.91
8.0.210.0000.00816.94
8.0.200.0050.00316.89
8.0.190.0030.00517.07
8.0.180.0040.00416.79
8.0.170.0030.00616.95
8.0.160.0000.00717.02
8.0.150.0070.00016.82
8.0.140.0030.00516.89
8.0.130.0030.00313.35
8.0.120.0030.00516.92
8.0.110.0000.00817.01
8.0.100.0000.00716.94
8.0.90.0030.00316.86
8.0.80.0030.01316.93
8.0.70.0080.00016.80
8.0.60.0040.00416.77
8.0.50.0050.00316.83
8.0.30.0100.00917.14
8.0.20.0140.01117.40
8.0.10.0050.00316.94
8.0.00.0040.01316.78
7.4.330.0020.00216.67
7.4.320.0030.00316.62
7.4.300.0080.00016.49
7.4.290.0000.00716.41
7.4.280.0030.00516.52
7.4.270.0030.00316.57
7.4.260.0040.00416.62
7.4.250.0070.00016.54
7.4.240.0030.00316.58
7.4.230.0030.00316.70
7.4.220.0130.00716.61
7.4.210.0100.00516.40
7.4.200.0040.00416.66
7.4.160.0110.01116.36
7.4.150.0040.01417.40
7.4.140.0130.00817.86
7.4.130.0070.01016.62
7.4.120.0080.00916.53
7.4.110.0070.01016.50
7.4.100.0070.01716.30
7.4.90.0060.01316.69
7.4.80.0140.00919.39
7.4.70.0150.00416.58
7.4.60.0060.00916.38
7.4.50.0100.00616.28
7.4.40.0060.01016.52
7.4.30.0040.01216.45
7.4.00.0030.01515.10
7.3.330.0000.00513.16
7.3.320.0060.00013.09
7.3.310.0030.00316.19
7.3.300.0030.00316.32
7.3.290.0090.00916.26
7.3.280.0080.01016.26
7.3.270.0120.00617.40
7.3.260.0120.00616.27
7.3.250.0110.00616.25
7.3.240.0060.01116.39
7.3.230.0110.01116.45
7.3.210.0150.00416.58
7.3.200.0120.00916.25
7.3.190.0070.01116.38
7.3.180.0180.00016.22
7.3.170.0080.01116.32
7.3.160.0070.01016.31
7.2.330.0100.01016.71
7.2.320.0090.01316.55
7.2.310.0130.00316.51
7.2.300.0170.00016.49
7.2.290.0080.00816.59
7.2.110.0110.01416.54
7.2.60.0080.00616.88
7.2.00.0100.00319.18
7.1.200.0030.00715.71
7.1.100.0000.01218.17
7.1.70.0060.00317.11
7.1.60.0090.01519.36
7.1.50.0030.01916.55
7.1.00.0030.07722.27
7.0.200.0030.00616.75
7.0.60.0070.05720.00
7.0.50.0070.08317.82
7.0.40.0100.08320.04
7.0.30.0030.05720.02
7.0.20.0070.05020.13
7.0.10.0030.06720.10
7.0.00.0030.08720.14
5.6.280.0030.06021.09
5.6.210.0100.08020.76
5.6.200.0130.07718.12
5.6.190.0000.09020.41
5.6.180.0530.06720.36
5.6.170.0230.06020.67
5.6.160.0030.07320.39
5.6.150.0100.07018.16
5.6.140.0000.07018.17
5.6.130.0030.05018.23
5.6.120.0030.04321.14
5.6.110.0170.07721.08
5.6.100.0030.04320.88
5.6.90.0030.08321.09
5.6.80.0030.08020.43
5.5.350.0270.07320.29
5.5.340.0030.08018.03
5.5.330.0100.08020.43
5.5.320.0030.04020.41
5.5.310.0330.06320.29
5.5.300.0100.08017.98
5.5.290.0030.07017.91
5.5.280.0130.08020.96
5.5.270.0100.06020.71
5.5.260.0130.08020.67
5.5.250.0070.07720.53
5.5.240.0130.03320.15

preferences:
56.36 ms | 401 KiB | 5 Q