3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exception= new \Exception(); var_dymp(!$exception instanceof \Exception);

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.40.0100.01018.82
8.3.30.0110.00418.54
8.3.20.0000.00820.07
8.3.10.0050.00323.66
8.3.00.0070.00023.66
8.2.170.0120.00622.96
8.2.160.0070.00720.21
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.70
8.2.120.0040.00426.35
8.2.110.0070.00719.20
8.2.100.0040.00817.93
8.2.90.0050.00319.17
8.2.80.0040.00418.04
8.2.70.0040.00417.75
8.2.60.0030.00617.68
8.2.50.0000.00918.07
8.2.40.0050.00322.03
8.2.30.0000.00719.30
8.2.20.0090.00017.67
8.2.10.0070.00017.89
8.2.00.0000.00718.04
8.1.270.0150.00423.97
8.1.260.0000.00828.09
8.1.250.0080.00028.09
8.1.240.0110.00021.96
8.1.230.0100.00019.04
8.1.220.0000.00717.74
8.1.210.0080.00018.77
8.1.200.0030.00617.13
8.1.190.0000.00917.23
8.1.180.0000.00918.10
8.1.170.0050.00318.52
8.1.160.0000.00820.70
8.1.150.0060.00318.81
8.1.140.0040.00419.43
8.1.130.0080.00017.62
8.1.120.0070.00017.38
8.1.110.0030.00317.29
8.1.100.0000.00817.36
8.1.90.0040.00417.33
8.1.80.0030.00317.28
8.1.70.0030.00317.37
8.1.60.0000.00817.46
8.1.50.0060.00617.53
8.1.40.0080.00017.57
8.1.30.0060.00317.66
8.1.20.0040.00417.70
8.1.10.0040.00417.56
8.1.00.0080.00017.41
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.30
8.0.270.0040.00417.09
8.0.260.0030.00317.17
8.0.250.0040.00416.94
8.0.240.0030.00517.01
8.0.230.0050.00316.98
8.0.220.0000.00716.88
8.0.210.0040.00416.87
8.0.200.0050.00516.83
8.0.190.0040.00416.93
8.0.180.0050.00216.81
8.0.170.0030.00616.86
8.0.160.0030.00516.79
8.0.150.0040.00416.87
8.0.140.0040.00416.83
8.0.130.0030.00313.26
8.0.120.0050.00316.87
8.0.110.0040.00416.84
8.0.100.0040.00416.69
8.0.90.0040.00416.93
8.0.80.0040.01116.84
8.0.70.0040.00416.75
8.0.60.0040.00416.83
8.0.50.0000.00816.99
8.0.30.0090.01117.14
8.0.20.0120.00617.40
8.0.10.0080.00016.80
8.0.00.0110.00716.63
7.4.330.0000.00616.71
7.4.320.0070.00016.43
7.4.300.0070.00016.48
7.4.290.0070.00016.59
7.4.280.0060.00316.43
7.4.270.0040.00416.50
7.4.260.0030.00416.60
7.4.250.0000.00816.36
7.4.240.0030.00316.43
7.4.230.0030.00316.68
7.4.220.0060.00916.59
7.4.210.0020.01216.54
7.4.200.0000.00616.59
7.4.160.0200.00316.61
7.4.150.0110.01117.40
7.4.140.0100.01317.86
7.4.130.0160.00616.46
7.4.120.0030.01516.52
7.4.110.0140.01016.54
7.4.100.0120.01016.66
7.4.90.0210.00016.58
7.4.80.0120.00619.39
7.4.70.0070.01016.52
7.4.60.0070.01116.67
7.4.50.0080.00816.11
7.4.40.0090.00916.54
7.4.30.0160.00316.59
7.4.10.0120.00615.19
7.4.00.0050.01115.10
7.3.330.0060.00013.13
7.3.320.0060.00013.16
7.3.310.0070.00016.10
7.3.300.0000.00716.11
7.3.290.0030.00316.25
7.3.280.0080.00916.24
7.3.270.0140.00317.40
7.3.260.0000.01616.36
7.3.250.0120.00516.26
7.3.240.0080.01316.50
7.3.230.0100.01316.49
7.3.210.0070.01016.28
7.3.200.0090.01519.39
7.3.190.0110.00616.29
7.3.180.0060.00916.24
7.3.170.0060.00916.71
7.3.160.0100.00716.30
7.3.130.0110.00714.97
7.3.120.0090.00914.93
7.3.110.0090.01014.72
7.3.100.0040.00814.70
7.3.90.0070.00914.66
7.3.80.0040.01014.90
7.3.70.0030.00614.82
7.3.60.0070.00714.74
7.3.50.0050.00714.71
7.3.40.0030.01314.86
7.3.30.0020.01214.72
7.3.20.0050.01016.57
7.3.10.0050.00916.33
7.3.00.0080.00716.47
7.2.330.0190.00016.64
7.2.320.0030.01316.32
7.2.310.0070.01116.59
7.2.300.0110.00716.63
7.2.290.0060.01216.53
7.2.260.0090.00915.06
7.2.250.0070.00914.96
7.2.240.0070.01114.97
7.2.230.0060.00614.85
7.2.220.0020.01214.86
7.2.210.0080.00815.03
7.2.200.0040.01214.68
7.2.190.0050.00814.93
7.2.180.0020.01214.82
7.2.170.0110.00514.84
7.2.160.0070.00414.83
7.2.150.0060.01216.61
7.2.140.0060.00916.87
7.2.130.0050.00816.67
7.2.120.0110.00816.81
7.2.110.0060.00816.74
7.2.100.0070.00516.83
7.2.90.0080.00816.89
7.2.80.0060.00716.71
7.2.70.0080.00616.86
7.2.60.0080.00616.86
7.2.50.0080.00316.81
7.2.40.0110.00416.76
7.2.30.0060.00616.81
7.2.20.0040.00816.81
7.2.10.0080.00616.96
7.2.00.0040.01017.74
7.1.330.0120.00515.33
7.1.320.0110.00215.72
7.1.310.0030.00915.66
7.1.300.0050.00515.66
7.1.290.0090.00715.57
7.1.280.0090.00215.53
7.1.270.0050.00815.72
7.1.260.0070.00715.54
7.1.250.0070.00715.65
7.1.240.0100.01015.76
7.1.230.0100.00315.67
7.1.220.0060.00715.62
7.1.210.0060.00915.80
7.1.200.0040.01115.64
7.1.190.0100.00315.55
7.1.180.0030.01015.46
7.1.170.0100.00715.47
7.1.160.0060.00615.55
7.1.150.0030.00615.65
7.1.140.0030.01015.73
7.1.130.0070.00715.39
7.1.120.0030.00615.75
7.1.110.0040.00715.45
7.1.100.0060.00816.77
7.1.90.0000.01715.58
7.1.80.0050.00515.60
7.1.70.0020.00816.39
7.1.60.0070.01217.46
7.1.50.0030.01116.37
7.1.40.0030.00915.75
7.1.30.0090.00915.54
7.1.20.0030.00815.66
7.1.10.0000.01415.57
7.1.00.0070.03818.87
7.0.330.0100.00315.20
7.0.320.0060.00915.00
7.0.310.0080.00415.29
7.0.300.0060.00915.14
7.0.290.0000.00915.23
7.0.280.0050.00515.18
7.0.270.0030.01015.35
7.0.260.0030.01015.46
7.0.250.0030.01015.22
7.0.240.0100.00315.16
7.0.230.0060.00915.07
7.0.220.0040.00815.29
7.0.210.0060.00615.31
7.0.200.0070.00315.97
7.0.190.0070.00715.37
7.0.180.0090.00315.23
7.0.170.0000.01215.53
7.0.160.0090.00815.45
7.0.150.0070.01015.21
7.0.140.0140.00015.25
7.0.130.0030.01015.08
7.0.120.0090.00615.14
7.0.110.0100.00715.28
7.0.100.0060.01015.43
7.0.90.0030.00915.41
7.0.80.0090.00615.26
7.0.70.0000.00915.28
7.0.60.0150.04018.62
7.0.50.0100.03016.63
7.0.40.0070.04616.68
7.0.30.0210.03616.72
7.0.20.0160.02716.65
7.0.10.0070.04116.84
7.0.00.0060.02516.65
5.6.400.0080.00414.73
5.6.390.0110.00414.55
5.6.380.0030.01314.03
5.6.370.0000.01614.57
5.6.360.0090.00614.64
5.6.350.0030.00914.05
5.6.340.0070.00714.55
5.6.330.0000.01214.14
5.6.320.0030.00914.13
5.6.310.0030.00914.23
5.6.300.0030.01014.35
5.6.290.0030.01014.57
5.6.280.0030.02017.54
5.6.270.0100.00714.20
5.6.260.0040.01214.14
5.6.250.0060.00614.52
5.6.240.0120.00014.41
5.6.230.0000.01714.15
5.6.220.0030.00714.33
5.6.210.0000.03517.49
5.6.200.0130.03816.32
5.6.190.0050.04317.46
5.6.180.0360.03517.31
5.6.170.0060.02717.46
5.6.160.0100.04017.34
5.6.150.0070.02616.22
5.6.140.0080.04316.24
5.6.130.0050.03016.40
5.6.120.0120.03717.60
5.6.110.0150.03817.59
5.6.100.0080.04417.61
5.6.90.0050.02317.56
5.6.80.0170.03317.32
5.6.70.0090.00614.18
5.6.60.0000.01414.28
5.6.50.0030.00614.25
5.6.40.0080.00414.05
5.6.30.0060.00314.16
5.6.20.0080.00314.22
5.6.10.0070.01014.29
5.6.00.0070.00314.18
5.5.380.0030.00913.86
5.5.370.0030.01014.26
5.5.360.0030.00914.04
5.5.350.0100.03017.43
5.5.340.0060.04015.95
5.5.330.0030.02917.16
5.5.320.0200.04717.13
5.5.310.0180.03717.13
5.5.300.0050.03216.20
5.5.290.0070.02916.03
5.5.280.0080.04617.52
5.5.270.0100.04217.56
5.5.260.0100.04417.41
5.5.250.0070.04717.40
5.5.240.0070.04717.13
5.5.230.0040.01114.13
5.5.220.0060.00314.24
5.5.210.0090.00414.04
5.5.200.0040.01113.95
5.5.190.0030.01013.99
5.5.180.0110.00313.95
5.5.170.0100.00714.19
5.5.160.0040.01114.13
5.5.150.0030.00714.30
5.5.140.0070.00714.06
5.5.130.0070.01014.22
5.5.120.0040.00713.91
5.5.110.0040.01113.93
5.5.100.0040.01114.30
5.5.90.0040.00713.69
5.5.80.0060.00613.95
5.5.70.0000.01214.11
5.5.60.0040.00413.89
5.5.50.0000.01413.94
5.5.40.0040.01114.09
5.5.30.0070.01014.04
5.5.20.0070.00714.16
5.5.10.0100.00313.64
5.5.00.0070.00713.88

preferences:
37.36 ms | 400 KiB | 5 Q