3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function() { throw new Exception(); }); class A { public function method($test = UNKNOWN_CONSTANT) { } } $class = new ReflectionClass('A'); echo $class;

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.0000.01516.38
8.3.50.0100.01018.33
8.3.40.0180.00318.88
8.3.30.0110.00318.71
8.3.20.0080.00021.77
8.3.10.0080.00021.46
8.3.00.0040.00419.29
8.2.180.0040.01418.29
8.2.170.0110.00322.96
8.2.160.0140.00319.33
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00422.26
8.2.120.0050.00326.35
8.2.110.0100.00020.49
8.2.100.0040.00818.03
8.2.90.0040.00417.78
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0080.00017.38
8.2.50.0000.00918.10
8.2.40.0000.00720.57
8.2.30.0070.00019.14
8.2.20.0000.00818.06
8.2.10.0050.00318.02
8.2.00.0040.00417.98
8.1.280.0060.00825.92
8.1.270.0090.00622.19
8.1.260.0080.00026.35
8.1.250.0020.00528.09
8.1.240.0060.00322.47
8.1.230.0080.00320.84
8.1.220.0090.00017.74
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0050.00317.13
8.1.180.0030.00618.10
8.1.170.0050.00318.59
8.1.160.0050.00318.89
8.1.150.0080.00018.81
8.1.140.0060.00319.63
8.1.130.0030.00318.89
8.1.120.0000.00717.40
8.1.110.0050.00317.45
8.1.100.0000.00817.43
8.1.90.0000.00717.36
8.1.80.0000.00717.41
8.1.70.0040.00417.39
8.1.60.0000.00717.61
8.1.50.0030.00517.58
8.1.40.0040.00417.52
8.1.30.0050.00317.70
8.1.20.0080.00017.66
8.1.10.0070.00017.51
8.1.00.0050.00317.53
8.0.300.0040.00420.04
8.0.290.0070.00316.75
8.0.280.0070.00018.44
8.0.270.0000.00716.92
8.0.260.0040.00417.17
8.0.250.0070.00017.07
8.0.240.0000.00717.03
8.0.230.0000.00716.94
8.0.220.0040.00416.90
8.0.210.0080.00016.89
8.0.200.0030.00316.96
8.0.190.0000.00816.91
8.0.180.0040.00416.97
8.0.170.0030.00516.81
8.0.160.0000.00717.00
8.0.150.0040.00416.91
8.0.140.0090.00016.87
8.0.130.0030.00313.43
8.0.120.0080.00016.95
8.0.110.0050.00317.01
8.0.100.0020.00516.99
8.0.90.0000.00817.00
8.0.80.0060.01016.90
8.0.70.0000.00716.96
8.0.60.0000.00716.91
8.0.50.0040.00416.86
8.0.30.0070.01016.98
8.0.20.0100.01317.40
8.0.10.0000.00816.94
8.0.00.0150.00416.79
7.4.330.0000.00515.55
7.4.320.0000.00716.51
7.4.300.0030.00316.42
7.4.290.0030.00316.49
7.4.280.0040.00416.60
7.4.270.0070.00016.60
7.4.260.0050.00216.63
7.4.250.0000.00816.55
7.4.240.0040.00416.51
7.4.230.0000.00716.53
7.4.220.0100.01016.54
7.4.210.0110.00516.57
7.4.200.0000.00716.53
7.4.160.0170.00616.59
7.4.150.0100.00717.40
7.4.140.0090.00817.86
7.4.130.0100.01616.37
7.4.120.0100.01216.60
7.4.110.0000.01816.58
7.4.100.0090.01616.73
7.4.90.0090.00916.42
7.4.80.0130.00619.39
7.4.70.0100.01316.58
7.4.60.0090.00916.40
7.4.50.0040.01516.46
7.4.40.0120.00916.62
7.4.30.0120.00416.48
7.4.00.0030.01114.81
7.3.330.0050.00013.33
7.3.320.0050.00013.18
7.3.310.0000.00716.45
7.3.300.0040.00416.38
7.3.290.0030.00316.23
7.3.280.0070.00816.32
7.3.270.0070.01017.40
7.3.260.0040.01316.44
7.3.250.0120.00716.52
7.3.240.0080.01216.40
7.3.230.0100.00716.48
7.3.210.0100.01316.59
7.3.200.0090.00616.59
7.3.190.0130.00916.39
7.3.180.0030.01316.28
7.3.170.0090.01216.35
7.3.160.0100.00616.43
7.3.120.0130.00615.00
7.3.110.0090.00714.78
7.3.100.0060.01314.80
7.3.90.0100.00314.86
7.3.80.0060.00615.01
7.3.70.0070.01014.67
7.3.60.0040.00714.83
7.3.50.0000.01614.94
7.3.40.0030.00514.88
7.3.30.0060.00614.70
7.3.20.0030.01016.59
7.3.10.0060.00916.72
7.3.00.0080.00616.78
7.2.330.0040.01316.65
7.2.320.0100.01016.89
7.2.310.0130.00316.65
7.2.300.0090.01216.77
7.2.290.0100.00716.75
7.2.250.0110.00715.02
7.2.240.0080.01215.32
7.2.230.0070.01115.18
7.2.220.0030.00915.31
7.2.210.0090.00314.87
7.2.200.0000.01014.72
7.2.190.0080.00414.78
7.2.180.0070.00415.27
7.2.170.0030.00615.11
7.2.160.0000.01115.16
7.2.150.0070.00716.88
7.2.140.0000.01216.91
7.2.130.0090.00616.85
7.2.120.0080.00416.81
7.2.110.0060.00517.02
7.2.100.0080.00316.96
7.2.90.0060.00816.78
7.2.80.0060.00517.03
7.2.70.0050.00716.96
7.2.60.0100.00416.89
7.2.50.0070.00717.04
7.2.40.0050.00917.00
7.2.30.0060.01116.93
7.2.20.0060.00716.86
7.2.10.0020.00916.98
7.2.00.0010.01417.62
7.1.330.0040.01415.86
7.1.320.0070.00715.48
7.1.310.0060.00315.89
7.1.300.0030.00515.95
7.1.290.0000.01215.71
7.1.280.0000.01415.55
7.1.270.0030.00615.87
7.1.260.0040.00715.78
7.1.250.0030.00815.83
7.1.240.0040.00415.76
7.1.230.0050.00515.81
7.1.220.0000.01015.74
7.1.210.0100.00715.80
7.1.200.0070.00515.72
7.1.190.0000.00815.92
7.1.180.0060.00615.64
7.1.170.0110.00315.59
7.1.160.0070.00715.73
7.1.150.0070.00715.84
7.1.140.0100.00015.86
7.1.130.0000.01015.87
7.1.120.0030.01315.53
7.1.110.0110.00715.95
7.1.100.0080.01115.98
7.1.90.0030.01316.01
7.1.80.0070.01015.71
7.1.70.0060.00616.50
7.1.60.0070.00520.59
7.1.50.0480.00927.33
7.1.40.0260.01424.09
7.1.30.0370.00924.33
7.1.20.0390.00924.13
7.1.10.0200.00815.06
7.1.00.0310.01114.97
7.0.330.0000.01015.13
7.0.320.0130.00015.37
7.0.310.0040.00415.59
7.0.300.0000.01315.39
7.0.290.0060.00615.49
7.0.280.0060.00315.59
7.0.270.0020.00515.09
7.0.260.0090.00915.39
7.0.250.0030.01615.22
7.0.240.0120.00615.15
7.0.230.0000.01315.55
7.0.220.0080.00415.38
7.0.210.0060.00615.33
7.0.200.0060.00920.00
7.0.190.0460.00615.06
7.0.180.0280.00914.88
7.0.170.0450.00814.84
7.0.160.0290.00714.89
7.0.150.0270.00914.90
7.0.140.0250.00714.97
7.0.130.0260.00715.10
7.0.120.0310.00714.97
7.0.110.0200.01014.94
7.0.100.0220.00814.76
7.0.90.0280.00814.78
7.0.80.0330.00514.96
7.0.70.0420.00514.83
7.0.60.0280.00714.71
7.0.50.0200.01514.76
7.0.40.0270.00513.96
7.0.30.0250.00314.11
7.0.20.0170.01213.97
7.0.10.0290.00713.96
7.0.00.0280.01013.90
5.6.400.0000.00814.00
5.6.390.0060.00614.33
5.6.380.0040.00414.52
5.6.370.0040.00414.35
5.6.360.0000.00914.19
5.6.350.0070.00314.56
5.6.340.0060.00614.28
5.6.330.0070.00414.28
5.6.320.0030.01314.29
5.6.310.0030.00714.52
5.6.300.0060.00914.28
5.6.290.0000.00914.57
5.6.280.0030.00714.54
5.6.270.0080.00014.21
5.6.260.0060.00614.59
5.6.250.0130.00014.20
5.6.240.0090.00314.55
5.6.230.0090.00314.03
5.6.220.0090.00314.52
5.6.210.0070.00314.27
5.6.200.0030.00514.18
5.6.190.0000.01114.60
5.6.180.0030.00714.36
5.6.170.0130.00014.34
5.6.160.0030.00614.18
5.6.150.0090.00614.30
5.6.140.0100.00314.04
5.6.130.0070.00714.48
5.6.120.0000.01014.33
5.6.110.0070.00714.19
5.6.100.0090.00614.12
5.6.90.0060.00614.37
5.6.80.0070.00714.33
5.6.70.0090.00614.12
5.6.60.0120.00013.99
5.6.50.0040.01114.23
5.6.40.0070.00714.25
5.6.30.0070.00414.27
5.6.20.0060.00914.38
5.6.10.0060.00914.20
5.6.00.0080.00614.34

preferences:
70.1 ms | 401 KiB | 5 Q