3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A extends stdClass {} $r = new ReflectionClass('A'); try { $r->newInstanceWithoutConstructor(); echo 'Succeeded'; } catch (Throwable $e) { echo 'Failed with throwable'; } catch (Exception $e) { echo 'Failed with 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.0140.00418.57
8.3.30.0120.00318.71
8.3.20.0080.00020.35
8.3.10.0040.00421.53
8.3.00.0040.00419.84
8.2.170.0110.00422.96
8.2.160.0030.01019.29
8.2.150.0060.00324.18
8.2.140.0000.00724.66
8.2.130.0030.00522.08
8.2.120.0000.00726.35
8.2.110.0030.00622.19
8.2.100.0090.00317.91
8.2.90.0000.00817.90
8.2.80.0030.00518.05
8.2.70.0030.00617.50
8.2.60.0030.00517.93
8.2.50.0050.00318.10
8.2.40.0040.00420.43
8.2.30.0040.00421.03
8.2.20.0000.00717.60
8.2.10.0020.00517.90
8.2.00.0050.00317.87
8.1.270.0040.00423.79
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0030.00622.37
8.1.230.0080.00320.85
8.1.220.0070.00017.74
8.1.210.0100.00018.77
8.1.200.0080.00317.23
8.1.190.0050.00317.11
8.1.180.0000.00818.10
8.1.170.0030.00618.62
8.1.160.0030.00322.13
8.1.150.0040.00418.74
8.1.140.0040.00419.56
8.1.130.0030.00717.62
8.1.120.0070.00017.31
8.1.110.0060.00317.27
8.1.100.0000.00717.29
8.1.90.0060.00317.29
8.1.80.0000.00717.28
8.1.70.0000.00717.40
8.1.60.0040.00417.58
8.1.50.0060.00317.34
8.1.40.0060.00617.47
8.1.30.0030.00617.60
8.1.20.0040.00417.61
8.1.10.0040.00417.46
8.1.00.0000.00817.54
8.0.300.0040.00420.09
8.0.290.0000.00816.75
8.0.280.0030.00318.29
8.0.270.0050.00317.25
8.0.260.0040.00417.36
8.0.250.0030.00316.96
8.0.240.0030.00316.90
8.0.230.0000.00716.93
8.0.220.0000.00816.84
8.0.210.0030.00316.71
8.0.200.0060.00316.84
8.0.190.0090.00316.91
8.0.180.0040.00416.74
8.0.170.0040.00416.74
8.0.160.0030.00316.86
8.0.150.0040.00416.79
8.0.140.0040.00416.68
8.0.130.0090.00013.34
8.0.120.0000.00716.62
8.0.110.0080.00016.88
8.0.100.0040.00416.89
8.0.90.0040.00416.79
8.0.80.0100.01016.79
8.0.70.0040.00416.78
8.0.60.0000.00816.79
8.0.50.0060.00316.85
8.0.30.0130.00317.01
8.0.20.0110.00817.40
8.0.10.0000.00816.95
8.0.00.0080.01116.54
7.4.330.0020.00215.08
7.4.320.0070.00016.45
7.4.300.0030.00316.45
7.4.290.0050.00216.54
7.4.280.0000.00716.52
7.4.270.0000.00716.51
7.4.260.0030.00316.48
7.4.250.0070.00016.41
7.4.240.0070.00016.49
7.4.230.0030.00316.54
7.4.220.0110.00516.54
7.4.210.0120.00916.62
7.4.200.0000.00716.54
7.4.160.0080.00816.40
7.4.150.0160.00417.40
7.4.140.0030.01417.86
7.4.130.0080.00916.53
7.4.120.0110.00516.47
7.4.110.0060.01516.36
7.4.100.0110.01116.39
7.4.90.0100.00616.63
7.4.80.0070.01419.39
7.4.70.0100.00716.45
7.4.60.0100.00616.46
7.4.50.0060.00916.32
7.4.40.0150.00716.65
7.4.30.0130.00316.42
7.4.00.0070.00815.09
7.3.330.0030.00313.01
7.3.320.0000.00513.04
7.3.310.0030.00316.15
7.3.300.0070.00016.21
7.3.290.0090.00616.18
7.3.280.0090.00816.16
7.3.270.0030.01417.40
7.3.260.0160.00816.31
7.3.250.0100.00816.30
7.3.240.0070.01016.34
7.3.230.0090.01216.39
7.3.210.0140.00316.05
7.3.200.0070.00716.43
7.3.190.0030.01316.22
7.3.180.0080.00816.27
7.3.170.0150.00616.10
7.3.160.0180.00316.30
7.3.120.0080.01114.68
7.3.110.0070.01114.80
7.3.100.0110.00414.61
7.3.90.0070.00714.27
7.3.80.0000.01014.39
7.3.70.0030.00914.67
7.3.60.0030.01414.75
7.3.50.0060.00914.68
7.3.40.0030.01214.52
7.3.30.0090.00014.66
7.3.20.0030.01016.66
7.3.10.0070.00316.60
7.3.00.0110.00716.20
7.2.330.0070.01016.70
7.2.320.0100.00616.65
7.2.310.0050.01116.67
7.2.300.0110.00816.65
7.2.290.0090.00916.58
7.2.250.0030.01514.80
7.2.240.0070.01015.19
7.2.230.0100.00614.61
7.2.220.0030.01214.86
7.2.210.0040.00714.85
7.2.200.0040.00814.99
7.2.190.0120.00315.11
7.2.180.0000.01714.85
7.2.170.0000.01014.98
7.2.160.0000.01714.75
7.2.150.0060.00816.68
7.2.140.0000.01816.83
7.2.130.0040.01416.40
7.2.120.0030.01016.68
7.2.110.0080.00816.64
7.2.100.0040.01116.82
7.2.90.0060.01016.70
7.2.80.0090.00616.82
7.2.70.0070.00716.80
7.2.60.0020.01116.92
7.2.50.0070.00416.90
7.2.40.0120.00316.86
7.2.30.0000.01217.04
7.2.20.0060.00616.77
7.2.10.0040.00716.77
7.2.00.0050.00518.00
7.1.330.0060.01215.67
7.1.320.0070.00715.46
7.1.310.0100.00715.46
7.1.300.0090.00315.60
7.1.290.0090.00615.66
7.1.280.0030.00915.60
7.1.270.0070.00415.19
7.1.260.0030.01115.51
7.1.250.0080.00815.84
7.1.240.0040.00815.60
7.1.230.0030.01115.75
7.1.220.0090.00615.60
7.1.210.0000.01215.42
7.1.200.0080.00315.71
7.1.190.0040.00415.66
7.1.180.0030.01015.69
7.1.170.0090.00315.82
7.1.160.0030.00715.35
7.1.150.0070.00715.70
7.1.140.0040.01215.54
7.1.130.0070.00415.60
7.1.120.0030.00915.63
7.1.110.0070.00715.82
7.1.100.0000.01515.76
7.1.90.0040.00415.43
7.1.80.0090.00315.30
7.1.70.0020.00916.33
7.1.60.0060.00517.64
7.1.50.0000.01315.49
7.1.40.0070.00715.66
7.1.30.0070.00315.50
7.1.20.0060.00915.20
7.1.10.0040.00715.53
7.1.00.0040.04119.07
7.0.330.0060.00915.07
7.0.320.0070.00715.25
7.0.310.0100.00414.99
7.0.300.0040.00415.35
7.0.290.0060.00615.20
7.0.280.0000.00815.20
7.0.270.0040.00415.14
7.0.260.0070.00315.37
7.0.250.0000.01415.45
7.0.240.0030.00915.21
7.0.230.0000.01215.34
7.0.220.0060.00915.35
7.0.210.0060.00615.34
7.0.200.0030.00715.87
7.0.190.0000.00815.40
7.0.180.0060.00615.28
7.0.170.0040.01115.11
7.0.160.0110.00415.46
7.0.150.0060.00615.35
7.0.140.0040.00715.45
7.0.130.0080.00615.34
7.0.120.0140.00015.21
7.0.110.0110.00415.34
7.0.100.0060.00615.52
7.0.90.0510.03817.54
7.0.80.0080.03817.62
7.0.70.0320.03517.63
7.0.60.0330.03317.66
7.0.50.0530.03017.77
7.0.40.0380.03516.88
7.0.30.0370.03116.89
7.0.20.0400.03016.78
7.0.10.0350.03216.93
7.0.00.0380.03116.82
5.6.400.0060.01214.29
5.6.390.0000.01514.56
5.6.380.0070.00714.50
5.6.370.0030.00814.22
5.6.360.0070.00714.64
5.6.350.0030.00514.50
5.6.340.0030.00614.05
5.6.330.0030.00614.36
5.6.320.0070.00314.20
5.6.310.0000.01314.48
5.6.300.0030.01014.64
5.6.290.0030.00814.46
5.6.280.0060.00614.33
5.6.270.0030.00714.43
5.6.260.0070.01114.51
5.6.250.0100.00414.10
5.6.240.0030.01014.38
5.6.230.0110.03017.61
5.6.220.0080.03317.56
5.6.210.0100.02917.46
5.6.200.0070.03617.74
5.6.190.0090.03517.69
5.6.180.0080.03417.70
5.6.170.0110.03317.66
5.6.160.0070.03517.68
5.6.150.0070.03717.60
5.6.140.0060.03517.51
5.6.130.0110.03117.71
5.6.120.0120.03017.76
5.6.110.0080.03617.63
5.6.100.0080.03817.67
5.6.90.0100.03517.88
5.6.80.0030.03517.32
5.6.70.0080.03317.27
5.6.60.0100.03017.31
5.6.50.0170.02517.27
5.6.40.0050.03517.25
5.6.30.0110.02817.33
5.6.20.0070.03417.30
5.6.10.0150.02817.44
5.6.00.0050.03617.39
5.5.370.0170.05720.60
5.5.360.0170.05320.59
5.5.350.0270.05020.56
5.5.340.0030.07020.85
5.5.330.0100.07020.95
5.5.320.0070.06720.85
5.5.310.0130.06720.96
5.5.300.0130.06320.85
5.5.290.0100.06020.88
5.5.280.0170.05720.82
5.5.270.0100.06020.93
5.5.260.0200.05720.96
5.5.250.0130.05720.58
5.5.240.0170.05020.09
5.5.230.0130.05720.22
5.5.220.0100.05720.22
5.5.210.0130.05320.34
5.5.200.0270.05320.18
5.5.190.0170.05320.18
5.5.180.0270.04720.29
5.5.160.0130.05720.26
5.5.150.0070.06020.02
5.5.140.0100.05720.11
5.5.130.0100.05720.31
5.5.120.0200.05020.17
5.5.110.0130.05720.07
5.5.100.0070.06320.23
5.5.90.0130.05320.16
5.5.80.0070.06020.01
5.5.70.0170.05320.20
5.5.60.0170.06720.21
5.5.50.0200.04720.13
5.5.40.0100.05320.16
5.5.30.0200.05319.99
5.5.20.0070.06320.11
5.5.10.0130.05720.19
5.5.00.0170.05320.14
5.4.450.0100.05719.42
5.4.440.0070.06319.59
5.4.430.0170.05019.49
5.4.420.0070.07319.46
5.4.410.0170.05319.19
5.4.400.0070.05719.17
5.4.390.0100.06318.90
5.4.380.0100.05319.19
5.4.370.0130.05019.19
5.4.360.0030.06319.07
5.4.350.0130.05319.20
5.4.340.0100.06019.15
5.4.320.0070.06719.04
5.4.310.0100.06319.27
5.4.300.0200.06318.92
5.4.290.0200.04019.19
5.4.280.0100.06019.03
5.4.270.0100.05318.89
5.4.260.0100.05319.02
5.4.250.0170.05319.08
5.4.240.0100.05319.07
5.4.230.0200.04319.18
5.4.220.0130.06319.15
5.4.210.0130.05019.02
5.4.200.0130.04719.13
5.4.190.0130.05319.23
5.4.180.0030.06019.13
5.4.170.0170.05019.16
5.4.160.0070.05719.00
5.4.150.0200.04719.25
5.4.140.0100.05716.34
5.4.130.0070.05316.63
5.4.120.0130.04316.36
5.4.110.0070.05716.57
5.4.100.0100.05716.46
5.4.90.0130.04316.55
5.4.80.0130.05316.49
5.4.70.0100.05016.32
5.4.60.0130.04716.32
5.4.50.0100.06016.30
5.4.40.0130.04716.45
5.4.30.0070.05716.46
5.4.20.0230.04016.54
5.4.10.0170.04316.53
5.4.00.0100.05315.98
5.3.290.0230.04314.64
5.3.280.0130.04714.60
5.3.270.0070.06014.64
5.3.260.0100.05314.53
5.3.250.0130.05014.57
5.3.240.0070.05314.59
5.3.230.0170.04314.59
5.3.220.0100.05014.56
5.3.210.0070.06014.66
5.3.200.0170.05314.56
5.3.190.0100.05014.66
5.3.180.0130.04714.56
5.3.170.0130.04714.53
5.3.160.0130.04714.42
5.3.150.0100.05314.53
5.3.140.0070.05314.52
5.3.130.0100.05314.64
5.3.120.0030.06014.54
5.3.110.0170.05014.51
5.3.100.0100.06014.04
5.3.90.0130.05314.02
5.3.80.0030.06014.00
5.3.70.0070.05313.99
5.3.60.0070.05313.99
5.3.50.0130.04713.80
5.3.40.0130.04714.05
5.3.30.0100.05013.91
5.3.20.0130.05013.70
5.3.10.0200.06013.55
5.3.00.0130.06013.75
5.2.170.0130.03711.15
5.2.160.0030.04311.17
5.2.150.0030.04711.02
5.2.140.0030.04711.07
5.2.130.0030.04711.12
5.2.120.0200.04011.04
5.2.110.0100.05711.08
5.2.100.0100.04711.09
5.2.90.0100.05011.08
5.2.80.0070.05711.13
5.2.70.0170.05011.08
5.2.60.0230.03310.95
5.2.50.0100.05011.01
5.2.40.0170.04011.11
5.2.30.0030.05310.98
5.2.20.0130.04310.88
5.2.10.0070.04010.76
5.2.00.0030.04310.71
5.1.60.0070.03310.08
5.1.50.0100.03310.07
5.1.40.0030.03710.05
5.1.30.0100.04310.20
5.1.20.0100.04310.37
5.1.10.0100.03310.14
5.1.00.0200.03310.10
5.0.50.0070.0308.65
5.0.40.0070.0408.41
5.0.30.0100.0408.28
5.0.20.0100.0378.27
5.0.10.0070.0308.19
5.0.00.0130.0438.16
4.4.90.0000.0305.79
4.4.80.0070.0275.79
4.4.70.0030.0275.80
4.4.60.0070.0205.83
4.4.50.0070.0275.83
4.4.40.0070.0335.82
4.4.30.0000.0335.84
4.4.20.0070.0235.89
4.4.10.0100.0305.86
4.4.00.0030.0435.83
4.3.110.0100.0205.85
4.3.100.0070.0305.80
4.3.90.0000.0375.71
4.3.80.0130.0305.69
4.3.70.0000.0235.74
4.3.60.0030.0275.75
4.3.50.0070.0235.73
4.3.40.0030.0435.71
4.3.30.0070.0274.48
4.3.20.0170.0174.52
4.3.10.0030.0234.52
4.3.00.0000.0274.52

preferences:
72.01 ms | 400 KiB | 5 Q