3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = 100; try { assert(50 > $hundred); } catch (AssertionError $e) { var_dump($e);exit; echo "Hello {get_class($e)}: {$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.0100.01016.75
8.3.50.0130.01022.05
8.3.40.0040.01118.84
8.3.30.0110.00318.67
8.3.20.0040.00420.16
8.3.10.0070.00023.56
8.3.00.0040.00419.26
8.2.180.0000.01518.39
8.2.170.0100.00722.96
8.2.160.0090.00620.30
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0060.00320.38
8.2.120.0000.00826.35
8.2.110.0090.00022.27
8.2.100.0040.00817.80
8.2.90.0060.00318.94
8.2.80.0080.00017.97
8.2.70.0050.00317.63
8.2.60.0040.00417.93
8.2.50.0030.00518.07
8.2.40.0000.00819.37
8.2.30.0000.00720.63
8.2.20.0080.00017.74
8.2.10.0000.00718.12
8.2.00.0050.00318.02
8.1.280.0030.01025.92
8.1.270.0120.00624.01
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0030.00620.66
8.1.230.0120.00017.43
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0000.00717.61
8.1.180.0040.00418.10
8.1.170.0030.00618.52
8.1.160.0000.00722.01
8.1.150.0020.00518.79
8.1.140.0000.00819.62
8.1.130.0000.00717.57
8.1.120.0050.00317.36
8.1.110.0070.00017.45
8.1.100.0000.00817.41
8.1.90.0030.00517.47
8.1.80.0000.00717.32
8.1.70.0040.00417.33
8.1.60.0050.00217.57
8.1.50.0000.00817.42
8.1.40.0040.00417.46
8.1.30.0000.00817.55
8.1.20.0050.00317.56
8.1.10.0060.00317.58
8.1.00.0050.00217.57
8.0.300.0050.00318.77
8.0.290.0000.00716.75
8.0.280.0030.00318.36
8.0.270.0000.00717.18
8.0.260.0030.00317.24
8.0.250.0030.00517.01
8.0.240.0030.00517.05
8.0.230.0000.00717.02
8.0.220.0000.00716.85
8.0.210.0000.00716.90
8.0.200.0060.00017.00
8.0.190.0040.00417.03
8.0.180.0040.00416.98
8.0.170.0080.00016.97
8.0.160.0040.00416.93
8.0.150.0000.00716.74
8.0.140.0000.00716.90
8.0.130.0050.00013.36
8.0.120.0070.00016.84
8.0.110.0040.00416.98
8.0.100.0000.00717.06
8.0.90.0000.00816.84
8.0.80.0030.01316.92
8.0.70.0040.00416.73
8.0.60.0000.00717.00
8.0.50.0000.00816.79
8.0.30.0080.01117.15
8.0.20.0170.01817.40
8.0.10.0040.00417.05
8.0.00.0080.00916.66
7.4.330.0020.00216.84
7.4.320.0060.00016.42
7.4.300.0060.00016.59
7.4.290.0070.00016.64
7.4.280.0000.00816.50
7.4.270.0070.00016.40
7.4.260.0070.00016.39
7.4.250.0040.00416.57
7.4.240.0030.00416.50
7.4.230.0040.00416.43
7.4.220.0100.01016.59
7.4.210.0100.00716.63
7.4.200.0000.00816.60
7.4.160.0050.01016.37
7.4.150.0140.00317.40
7.4.140.0080.01017.86
7.4.130.0140.00616.49
7.4.120.0090.00816.45
7.4.110.0090.00916.43
7.4.100.0090.00916.48
7.4.90.0060.01016.62
7.4.80.0070.01119.39
7.4.70.0120.00616.58
7.4.60.0110.00616.48
7.4.50.0070.01016.32
7.4.40.0060.01116.58
7.4.30.0060.01016.39
7.4.10.0070.01314.70
7.4.00.0090.00715.06
7.3.330.0080.00013.16
7.3.320.0050.00013.11
7.3.310.0000.00716.11
7.3.300.0000.00616.27
7.3.290.0140.00016.22
7.3.280.0110.00816.26
7.3.270.0080.00917.40
7.3.260.0180.00716.48
7.3.250.0160.00416.25
7.3.240.0110.00816.39
7.3.230.0130.00616.45
7.3.210.0120.00416.15
7.3.200.0130.00616.35
7.3.190.0110.00616.28
7.3.180.0070.01516.32
7.3.170.0070.01716.27
7.3.160.0100.00716.26
7.3.130.0040.01514.75
7.3.120.0160.00314.81
7.3.110.0120.00614.95
7.3.100.0060.00614.79
7.3.90.0100.00314.81
7.3.80.0080.00414.73
7.3.70.0070.00714.77
7.3.60.0030.01114.80
7.3.50.0070.00314.63
7.3.40.0000.01414.70
7.3.30.0040.00714.83
7.3.20.0100.00316.68
7.3.10.0000.00916.79
7.3.00.0070.00716.64
7.2.330.0090.01516.30
7.2.320.0080.00816.62
7.2.310.0160.00016.61
7.2.300.0070.01016.67
7.2.290.0050.01116.43
7.2.260.0040.01514.77
7.2.250.0080.00314.89
7.2.240.0030.01315.02
7.2.230.0110.00314.96
7.2.220.0070.01014.86
7.2.210.0040.01114.51
7.2.200.0120.00315.12
7.2.190.0030.01314.59
7.2.180.0110.00314.98
7.2.170.0080.00814.86
7.2.160.0100.00714.95
7.2.150.0000.01416.57
7.2.140.0000.01016.57
7.2.130.0060.01016.77
7.2.120.0000.01616.81
7.2.110.0110.00017.01
7.2.100.0030.01516.80
7.2.90.0090.00917.03
7.2.80.0030.00916.64
7.2.70.0070.00417.02
7.2.60.0090.00716.86
7.2.50.0030.01017.03
7.2.40.0090.00617.05
7.2.30.0070.00716.67
7.2.20.0000.01616.69
7.2.10.0030.00916.78
7.2.00.0080.00617.82
7.1.330.0030.01215.81
7.1.320.0060.00615.36
7.1.310.0120.00315.69
7.1.300.0070.00815.79
7.1.290.0080.00515.57
7.1.280.0030.01315.50
7.1.270.0000.01515.93
7.1.260.0100.00315.79
7.1.250.0000.01215.93
7.1.240.0070.01115.95
7.1.230.0070.01015.80
7.1.220.0100.00315.77
7.1.210.0150.00015.62
7.1.200.0050.00615.70
7.1.190.0030.01315.79
7.1.180.0080.00415.86
7.1.170.0100.00315.72
7.1.160.0040.00715.52
7.1.150.0000.01115.55
7.1.140.0070.00715.82
7.1.130.0090.00915.51
7.1.120.0030.00615.51
7.1.110.0070.00715.84
7.1.100.0080.00116.99
7.1.90.0070.00715.42
7.1.80.0110.00315.92
7.1.70.0020.00816.28
7.1.60.0020.01117.51
7.1.50.0070.01216.31
7.1.40.0090.00015.86
7.1.30.0030.01015.88
7.1.20.0050.00515.74
7.1.10.0040.00815.86
7.1.00.0030.04319.21
7.0.330.0100.00615.36
7.0.320.0040.00415.39
7.0.310.0000.01315.56
7.0.300.0070.00715.36
7.0.290.0110.00015.23
7.0.280.0000.01215.47
7.0.270.0070.00715.13
7.0.260.0000.01515.05
7.0.250.0030.00915.46
7.0.240.0030.01015.32
7.0.230.0070.00715.46
7.0.220.0060.00615.47
7.0.210.0070.00715.52
7.0.200.0050.00516.21
7.0.190.0110.00415.40
7.0.180.0000.01315.38
7.0.170.0030.00615.48
7.0.160.0000.00815.37
7.0.150.0040.01115.41
7.0.140.0060.00615.43
7.0.130.0000.01215.24
7.0.120.0080.00315.00
7.0.110.0000.01115.38
7.0.100.0120.00015.18
7.0.90.0070.00415.42
7.0.80.0070.00715.52
7.0.70.0070.00715.40
7.0.60.0080.02817.55
7.0.50.0060.04416.69
7.0.40.0080.02316.79
7.0.30.0060.04316.83
7.0.20.0130.02116.89
7.0.10.0050.05216.92
7.0.00.0080.04316.91
5.6.400.0130.00314.04
5.6.390.0060.00914.44
5.6.380.0090.00314.20
5.6.370.0080.00414.19
5.6.360.0070.00713.72
5.6.350.0070.01114.32
5.6.340.0030.01014.48
5.6.330.0100.00614.14
5.6.320.0040.00714.32
5.6.310.0090.00414.15
5.6.300.0040.00814.15
5.6.290.0080.00513.92
5.6.280.0000.04417.53
5.6.270.0080.00414.14
5.6.260.0090.00314.27
5.6.250.0100.00314.18
5.6.240.0000.01414.24
5.6.230.0030.00714.27
5.6.220.0060.00913.97
5.6.210.0070.04017.34
5.6.200.0060.04516.18
5.6.190.0050.02617.46
5.6.180.0370.03317.21
5.6.170.0260.03417.20
5.6.160.0030.02717.41
5.6.150.0080.04016.35
5.6.140.0080.04316.25
5.6.130.0050.03016.18
5.6.120.0110.03517.64
5.6.110.0030.05017.79
5.6.100.0120.04217.63
5.6.90.0080.04317.62
5.6.80.0060.03217.26
5.6.70.0080.00414.05
5.6.60.0000.01314.20
5.6.50.0070.00313.85
5.6.40.0030.00614.06
5.6.30.0000.00914.01
5.6.20.0060.00914.16
5.6.10.0040.00414.41
5.6.00.0090.00014.34
5.5.380.0040.01114.06
5.5.370.0040.00714.08
5.5.360.0000.01414.13
5.5.350.0120.04617.37
5.5.340.0050.04316.01
5.5.330.0030.03917.01
5.5.320.0030.02217.01
5.5.310.0190.03217.29
5.5.300.0030.04515.92
5.5.290.0030.02315.89
5.5.280.0070.04017.39
5.5.270.0080.04717.43
5.5.260.0120.03317.50
5.5.250.0050.04017.31
5.5.240.0090.02517.13
5.5.230.0000.01113.98
5.5.220.0080.00814.09
5.5.210.0060.00314.01
5.5.200.0080.00614.08
5.5.190.0110.00014.11
5.5.180.0000.01314.02
5.5.170.0130.00013.92
5.5.160.0070.00314.03
5.5.150.0040.00713.93
5.5.140.0030.00614.07
5.5.130.0060.00313.99
5.5.120.0000.01413.88
5.5.110.0030.00714.07
5.5.100.0030.01014.08
5.5.90.0070.00313.81
5.5.80.0000.00913.95
5.5.70.0070.00414.02
5.5.60.0040.00413.79
5.5.50.0120.00314.00
5.5.40.0110.00313.65
5.5.30.0030.01114.18
5.5.20.0040.00714.16
5.5.10.0030.00514.03
5.5.00.0090.00014.09

preferences:
61.39 ms | 401 KiB | 5 Q