3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = 100; ini_set('assert.exception', 1); try { assert($hundred < 50); } catch (AssertionException $e) { var_dump($e);exit; 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.0070.01118.68
8.3.50.0150.00722.05
8.3.40.0110.00418.59
8.3.30.0140.00018.61
8.3.20.0070.00020.38
8.3.10.0040.00423.66
8.3.00.0080.00019.38
8.2.180.0140.00718.54
8.2.170.0120.00322.96
8.2.160.0140.00020.44
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00020.35
8.2.120.0040.00426.35
8.2.110.0030.00621.03
8.2.100.0040.00717.93
8.2.90.0050.00319.23
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0050.00317.93
8.2.50.0030.00618.07
8.2.40.0030.00519.45
8.2.30.0000.00820.64
8.2.20.0080.00017.61
8.2.10.0000.00718.11
8.2.00.0000.00718.17
8.1.280.0110.00425.92
8.1.270.0040.01123.91
8.1.260.0080.00028.09
8.1.250.0060.00328.09
8.1.240.0060.00319.06
8.1.230.0040.00717.75
8.1.220.0000.00817.80
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0080.00017.57
8.1.180.0000.00918.10
8.1.170.0040.00418.54
8.1.160.0070.00021.91
8.1.150.0050.00218.88
8.1.140.0030.00519.45
8.1.130.0030.00317.70
8.1.120.0040.00417.45
8.1.110.0070.00017.30
8.1.100.0000.00717.38
8.1.90.0000.00717.45
8.1.80.0070.00017.41
8.1.70.0000.00717.49
8.1.60.0030.00517.48
8.1.50.0040.00417.42
8.1.40.0000.00717.53
8.1.30.0080.00017.62
8.1.20.0000.00717.60
8.1.10.0000.00717.45
8.1.00.0040.00417.47
8.0.300.0050.00318.77
8.0.290.0000.00716.75
8.0.280.0030.00318.47
8.0.270.0000.00717.25
8.0.260.0000.00817.31
8.0.250.0000.00617.03
8.0.240.0000.00616.96
8.0.230.0040.00417.00
8.0.220.0000.00716.91
8.0.210.0000.00816.90
8.0.200.0030.00317.00
8.0.190.0050.00316.91
8.0.180.0030.00616.96
8.0.170.0030.00516.95
8.0.160.0040.00416.90
8.0.150.0030.00316.80
8.0.140.0000.00716.89
8.0.130.0030.00313.38
8.0.120.0030.00516.94
8.0.110.0040.00416.92
8.0.100.0040.00417.00
8.0.90.0030.00316.94
8.0.80.0100.00716.93
8.0.70.0000.00716.86
8.0.60.0040.00416.92
8.0.50.0040.00417.01
8.0.30.0110.01017.10
8.0.20.0120.00717.40
8.0.10.0050.00217.05
8.0.00.0100.01017.05
7.4.330.0000.00516.71
7.4.320.0030.00316.55
7.4.300.0060.00316.51
7.4.290.0070.00016.58
7.4.280.0030.00616.48
7.4.270.0000.00616.52
7.4.260.0000.00716.60
7.4.250.0040.00416.39
7.4.240.0020.00616.55
7.4.230.0000.00716.60
7.4.220.0110.01116.55
7.4.210.0060.01316.46
7.4.200.0050.00316.71
7.4.160.0060.00916.28
7.4.150.0100.01017.40
7.4.140.0090.01017.86
7.4.130.0090.00716.44
7.4.120.0120.00716.49
7.4.110.0150.00816.65
7.4.100.0090.00916.59
7.4.90.0060.01216.46
7.4.80.0120.01219.39
7.4.70.0060.01116.52
7.4.60.0120.00316.49
7.4.50.0120.00316.36
7.4.40.0130.00816.61
7.4.30.0060.01116.66
7.4.00.0070.00715.10
7.3.330.0000.00513.13
7.3.320.0050.00013.06
7.3.310.0070.00016.32
7.3.300.0070.00016.36
7.3.290.0090.00616.32
7.3.280.0070.00916.30
7.3.270.0130.00317.40
7.3.260.0130.00316.36
7.3.250.0090.01316.53
7.3.240.0100.00816.52
7.3.230.0110.00616.49
7.3.210.0130.01116.39
7.3.200.0080.01216.34
7.3.190.0050.01116.28
7.3.180.0090.01216.51
7.3.170.0100.01016.40
7.3.160.0100.00716.60
7.2.330.0100.01016.28
7.2.320.0030.01316.23
7.2.310.0120.00916.69
7.2.300.0110.00616.59
7.2.290.0110.00616.64
7.2.60.0030.01316.86
7.2.00.0040.01119.29
7.1.200.0040.01115.79
7.1.100.0000.01218.17
7.1.70.0140.01017.09
7.1.60.0090.00619.36
7.1.50.0090.01216.88
7.1.00.0100.07022.57
7.0.200.0000.00716.49
7.0.60.0030.05320.03
7.0.50.0130.07317.88
7.0.40.0100.08320.21
7.0.30.0030.08720.03
7.0.20.0200.04320.30
7.0.10.0100.06020.20
7.0.00.0030.09020.30
5.6.280.0000.03321.13
5.6.210.0070.06020.69
5.6.200.0030.06318.22
5.6.190.0000.05320.57
5.6.180.0470.08020.35
5.6.170.0300.04320.62
5.6.160.0100.05320.46
5.6.150.0030.04318.07
5.6.140.0030.05318.11
5.6.130.0030.06018.15
5.6.120.0070.07721.00
5.6.110.0130.05721.00
5.6.100.0130.08021.00
5.6.90.0100.07720.98
5.6.80.0070.08020.52
5.5.350.0270.07720.37
5.5.340.0000.04317.98
5.5.330.0030.09020.43
5.5.320.0070.03320.26
5.5.310.0170.07020.30
5.5.300.0100.04717.92
5.5.290.0070.04717.92
5.5.280.0070.08720.80
5.5.270.0070.08020.89
5.5.260.0170.07020.96
5.5.250.0130.08020.54
5.5.240.0130.05720.36

preferences:
42.1 ms | 401 KiB | 5 Q