3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $class = new stdClass(); echo $class['foo']; } catch (Exception $e) { } catch (Throwable $e) { echo 'Oops: '.$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.0120.00318.15
8.3.50.0030.01017.77
8.3.40.0040.01218.64
8.3.30.0110.00318.89
8.3.20.0080.00019.01
8.3.10.0000.00821.78
8.3.00.0080.00023.73
8.2.180.0110.00716.50
8.2.170.0110.00422.96
8.2.160.0110.00319.21
8.2.150.0050.00224.18
8.2.140.0070.00024.66
8.2.130.0050.00226.16
8.2.120.0040.00420.92
8.2.110.0100.00020.78
8.2.100.0110.00018.03
8.2.90.0060.00317.97
8.2.80.0050.00317.97
8.2.70.0040.00417.93
8.2.60.0040.00417.93
8.2.50.0000.00718.10
8.2.40.0080.00021.06
8.2.30.0040.00419.26
8.2.20.0080.00018.02
8.2.10.0030.00518.01
8.2.00.0050.00219.30
8.1.280.0090.00625.92
8.1.270.0040.00422.10
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00322.47
8.1.230.0110.00021.02
8.1.220.0080.00017.79
8.1.210.0040.00418.82
8.1.200.0050.00517.35
8.1.190.0060.00317.23
8.1.180.0080.00018.10
8.1.170.0040.00418.64
8.1.160.0040.00418.69
8.1.150.0050.00218.73
8.1.140.0040.00417.63
8.1.130.0000.00618.96
8.1.120.0040.00417.44
8.1.110.0040.00417.43
8.1.100.0000.00717.44
8.1.90.0040.00417.45
8.1.80.0040.00417.31
8.1.70.0000.00717.41
8.1.60.0000.00817.43
8.1.50.0030.00617.52
8.1.40.0080.00017.44
8.1.30.0000.00817.58
8.1.20.0000.00917.61
8.1.10.0080.00017.48
8.1.00.0080.00017.40
8.0.300.0040.00419.86
8.0.290.0000.00916.75
8.0.280.0070.00018.54
8.0.270.0030.00317.16
8.0.260.0040.00417.25
8.0.250.0040.00416.93
8.0.240.0070.00017.06
8.0.230.0070.00317.02
8.0.220.0070.00016.89
8.0.210.0040.00416.95
8.0.200.0000.00616.91
8.0.190.0000.00717.01
8.0.180.0040.00416.85
8.0.170.0000.00816.96
8.0.160.0040.00417.04
8.0.150.0030.00316.78
8.0.140.0070.00016.82
8.0.130.0000.00613.39
8.0.120.0030.00516.93
8.0.110.0030.00516.90
8.0.100.0070.00016.91
8.0.90.0070.00016.76
8.0.80.0030.01216.88
8.0.70.0000.00716.88
8.0.60.0080.00016.92
8.0.50.0070.00016.84
8.0.30.0100.00916.93
8.0.20.0190.02217.40
8.0.10.0040.00417.04
8.0.00.0110.01016.75
7.4.330.0030.00315.55
7.4.320.0030.00316.50
7.4.300.0030.00316.35
7.4.290.0030.00316.40
7.4.280.0060.00316.40
7.4.270.0000.00816.51
7.4.260.0030.00316.47
7.4.250.0070.00016.47
7.4.240.0040.00416.53
7.4.230.0070.00016.71
7.4.220.0040.00416.34
7.4.210.0080.00916.57
7.4.200.0000.00716.67
7.4.160.0090.00716.58
7.4.140.0100.01017.86
7.4.130.0110.00716.52
7.4.120.0060.01116.45
7.4.110.0060.01216.49
7.4.100.0100.00616.44
7.4.90.0140.00316.52
7.4.80.0150.00319.39
7.4.70.0060.01016.59
7.4.60.0060.01116.52
7.4.50.0120.00316.38
7.4.40.0130.01016.41
7.4.00.0040.01314.97
7.3.330.0000.00513.21
7.3.320.0060.00013.24
7.3.310.0000.00716.39
7.3.300.0000.00716.21
7.3.290.0030.00316.30
7.3.280.0090.01216.31
7.3.260.0100.00916.26
7.3.240.0100.00816.44
7.3.230.0090.00916.31
7.3.210.0140.00716.58
7.3.200.0120.00616.37
7.3.190.0150.00016.51
7.3.180.0090.00616.15
7.3.170.0090.00616.30
7.3.160.0070.01016.30
7.3.120.0070.01014.88
7.3.110.0040.01414.52
7.3.100.0060.00914.78
7.3.90.0070.01014.82
7.3.80.0000.01114.46
7.3.70.0030.00914.68
7.3.60.0090.00614.86
7.3.50.0070.00714.69
7.3.40.0030.00814.84
7.3.30.0080.00414.81
7.3.20.0100.00316.52
7.3.10.0060.00716.83
7.3.00.0120.00616.68
7.2.330.0140.00316.82
7.2.320.0030.01316.75
7.2.310.0090.00916.84
7.2.300.0140.00716.79
7.2.290.0060.01316.83
7.2.250.0130.00315.27
7.2.240.0060.01314.61
7.2.230.0000.00915.25
7.2.220.0090.00914.95
7.2.210.0100.00315.18
7.2.200.0070.00315.16
7.2.190.0000.01115.25
7.2.180.0060.00615.10
7.2.170.0000.01315.28
7.2.70.0230.01215.10
7.2.60.0270.00815.27
7.2.50.0370.00714.97
7.2.40.0230.00715.01
7.2.30.0260.00615.07
7.2.20.0200.01114.99
7.2.10.0200.00614.59
7.2.00.0580.01415.00
7.1.330.0000.01115.64
7.1.320.0030.00715.91
7.1.310.0000.01515.79
7.1.300.0060.00615.63
7.1.290.0030.01015.68
7.1.280.0080.00615.78
7.1.270.0030.00915.64
7.1.260.0040.00415.76
7.1.200.0070.00715.49
7.1.170.0250.00413.66
7.1.160.0330.01613.92
7.1.150.0150.01513.67
7.1.140.0200.00813.83
7.1.130.0180.00713.77
7.1.120.0200.01113.76
7.1.110.0270.00013.80
7.1.100.0240.00813.68
7.1.90.0240.01214.00
7.1.80.0240.00913.91
7.1.70.0250.00613.88
7.1.60.0470.01131.88
7.1.50.0580.00331.80
7.1.40.0370.02031.69
7.1.30.0440.01931.92
7.1.20.0520.01031.76
7.1.10.0260.01113.86
7.1.00.0170.01013.84

preferences:
36.8 ms | 400 KiB | 5 Q