3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { static function foo() {} } class Y extends X {} fb_intercept("X::foo", function($name) { var_dump(eval("return get_called_class();"), $name, debug_backtrace()); }); Y::foo();

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.0140.00716.75
8.3.50.0230.00821.99
8.3.40.0070.00718.79
8.3.30.0100.01019.12
8.3.20.0000.00820.30
8.3.10.0040.00423.39
8.3.00.0050.00318.04
8.2.180.0090.00616.63
8.2.170.0070.00722.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0050.00221.15
8.2.110.0060.00322.16
8.2.100.0080.00417.72
8.2.90.0080.00018.09
8.2.80.0070.00317.97
8.2.70.0050.00317.75
8.2.60.0040.00417.90
8.2.50.0030.00718.10
8.2.40.0040.00418.02
8.2.30.0050.00318.00
8.2.20.0050.00317.68
8.2.10.0000.00817.94
8.2.00.0060.00317.55
8.1.280.0070.01025.92
8.1.270.0080.00023.69
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0170.00324.02
8.1.230.0110.00022.80
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0040.00417.00
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0000.00818.51
8.1.160.0040.00421.86
8.1.150.0050.00218.79
8.1.140.0040.00717.33
8.1.130.0030.00317.67
8.1.120.0040.00417.40
8.1.110.0050.00317.27
8.1.100.0030.00317.36
8.1.90.0040.00417.30
8.1.80.0070.00017.32
8.1.70.0030.00317.29
8.1.60.0000.00817.38
8.1.50.0040.00417.49
8.1.40.0000.00817.43
8.1.30.0000.00817.54
8.1.20.0000.00817.46
8.1.10.0000.00717.52
8.1.00.0000.00717.51
8.0.300.0060.00321.96
8.0.290.0090.00016.63
8.0.280.0020.00518.30
8.0.270.0000.00717.20
8.0.260.0030.00317.11
8.0.250.0000.00616.90
8.0.240.0030.00516.96
8.0.230.0030.00316.98
8.0.220.0040.00416.89
8.0.210.0000.00716.77
8.0.200.0000.00716.84
8.0.190.0070.00016.94
8.0.180.0040.00416.87
8.0.170.0040.00416.89
8.0.160.0070.00016.79
8.0.150.0030.00316.81
8.0.140.0040.00416.87
8.0.130.0000.00613.38
8.0.120.0000.00716.89
8.0.110.0030.00516.90
8.0.100.0000.00716.76
8.0.90.0000.00716.86
8.0.80.0040.01216.87
8.0.70.0070.00016.93
8.0.60.0040.00416.71
8.0.50.0030.00516.94
8.0.30.0110.00817.01
8.0.20.0090.01017.40
8.0.10.0040.00416.95
8.0.00.0090.00816.66
7.4.330.0050.00015.00
7.4.320.0030.00316.40
7.4.300.0060.00016.44
7.4.290.0030.00316.52
7.4.280.0040.00416.39
7.4.270.0070.00016.47
7.4.260.0000.00716.50
7.4.250.0000.00716.50
7.4.240.0040.00416.46
7.4.230.0000.00616.65
7.4.220.0000.01816.46
7.4.210.0070.00716.62
7.4.200.0070.00016.64
7.4.160.0090.00616.35
7.4.150.0060.01317.40
7.4.140.0090.00917.86
7.4.130.0070.01716.43
7.4.120.0100.01116.60
7.4.110.0160.00616.46
7.4.100.0150.00616.50
7.4.90.0100.00716.46
7.4.80.0100.01119.39
7.4.70.0160.00316.43
7.4.60.0140.00316.65
7.4.50.0040.00416.59
7.4.40.0070.01716.42
7.4.30.0100.00716.36
7.4.00.0100.00314.88
7.3.330.0030.00313.14
7.3.320.0000.00513.38
7.3.310.0030.00316.20
7.3.300.0030.00316.18
7.3.290.0030.01216.25
7.3.280.0060.01216.32
7.3.270.0090.01517.40
7.3.260.0150.00316.48
7.3.240.0130.00616.51
7.3.230.0100.00616.56
7.3.210.0100.00616.25
7.3.200.0120.01219.39
7.3.190.0070.00916.38
7.3.180.0140.00316.30
7.3.170.0120.00916.49
7.3.160.0070.01116.38
7.3.120.0140.00314.99
7.3.10.0100.00716.21
7.3.00.0140.00916.46
7.2.330.0030.01516.27
7.2.320.0030.01416.60
7.2.310.0150.00016.26
7.2.300.0060.01016.18
7.2.290.0060.00916.35
7.2.130.0110.00816.46
7.2.120.0110.00616.37
7.2.110.0080.00816.55
7.2.100.0100.00616.35
7.2.90.0050.01016.64
7.2.80.0090.00616.44
7.2.70.0090.00916.63
7.2.60.0110.00516.68
7.2.50.0120.00716.64
7.2.40.0090.00716.58
7.2.30.0130.00616.54
7.2.20.0050.01116.53
7.2.10.0080.01416.40
7.2.00.0060.00917.50
7.1.250.0070.00815.57
7.1.240.0060.01215.66
7.1.230.0000.00915.53
7.1.220.0060.00615.73
7.1.210.0080.00315.57
7.1.200.0050.00515.56
7.1.190.0100.00315.47
7.1.180.0050.00815.56
7.1.170.0000.01415.24
7.1.160.0030.00915.57
7.1.150.0030.00615.72
7.1.140.0150.00315.55
7.1.130.0110.00415.61
7.1.120.0160.00315.63
7.1.110.0030.01015.50
7.1.100.0100.01016.78
7.1.90.0040.01115.82
7.1.80.0110.00715.68
7.1.70.0010.01016.35
7.1.60.0030.01517.46
7.1.50.0080.00916.16
7.1.40.0060.00315.50
7.1.30.0030.01015.55
7.1.20.0000.01315.51
7.1.10.0070.00715.73
7.1.00.0030.04318.92
7.0.330.0070.00715.45
7.0.320.0030.00715.33
7.0.310.0060.00615.25
7.0.300.0080.00315.00
7.0.290.0060.00615.26
7.0.280.0140.00014.80
7.0.270.0070.00415.14
7.0.260.0090.00014.99
7.0.250.0140.00314.84
7.0.240.0060.01015.46
7.0.230.0070.00715.19
7.0.220.0060.00315.06
7.0.210.0100.00715.21
7.0.200.0030.00615.96
7.0.190.0040.01215.26
7.0.180.0070.01015.24
7.0.170.0080.00315.28
7.0.160.0040.00715.35
7.0.150.0070.00714.98
7.0.140.0100.03618.69
7.0.130.0030.00915.09
7.0.120.0060.00315.29
7.0.110.0040.00715.23
7.0.100.0040.00714.98
7.0.90.0040.00814.95
7.0.80.0090.00615.21
7.0.70.0000.00715.21
7.0.60.0070.03117.64
7.0.50.0050.04416.56
7.0.40.0090.02916.66
7.0.30.0300.04216.84
7.0.20.0130.02316.59
7.0.10.0030.03316.79
7.0.00.0050.03716.84
5.6.380.0080.00014.43
5.6.370.0030.00714.31
5.6.360.0060.00614.07
5.6.350.0100.00313.88
5.6.340.0000.01113.60
5.6.330.0100.00714.18
5.6.320.0030.00613.86
5.6.310.0030.01014.16
5.6.300.0030.01013.88
5.6.290.0030.00614.02
5.6.280.0080.03717.34
5.6.270.0000.00914.37
5.6.260.0030.00714.23
5.6.250.0040.00413.96
5.6.240.0000.00814.37
5.6.230.0050.00314.05
5.6.220.0070.00714.14
5.6.210.0050.04017.44
5.6.200.0030.04716.15
5.6.190.0060.04017.20
5.6.180.0190.04017.41
5.6.170.0130.02717.23
5.6.160.0070.02117.35
5.6.150.0030.02616.03
5.6.140.0020.02316.09
5.6.130.0080.03216.19
5.6.120.0050.03217.52
5.6.110.0000.04317.60
5.6.100.0070.03717.52
5.6.90.0070.04617.52
5.6.80.0070.02417.15
5.6.70.0100.00714.23
5.6.60.0030.01114.07
5.6.50.0000.01513.98
5.6.40.0070.00714.09
5.6.30.0080.00313.86
5.6.20.0000.00913.87
5.6.10.0120.00314.07
5.6.00.0000.01513.89
5.5.380.0000.00610.84
5.5.370.0000.00810.65
5.5.360.0030.00310.89
5.5.350.0050.04315.37
5.5.340.0060.04214.48
5.5.330.0030.04315.50
5.5.320.0190.04315.71
5.5.310.0070.02615.41
5.5.300.0060.03214.47
5.5.290.0050.02514.43
5.5.280.0050.02315.88
5.5.270.0030.02515.75
5.5.260.0030.05315.77
5.5.250.0030.03315.49
5.5.240.0170.02515.36
5.5.230.0050.00510.91
5.5.220.0040.00810.54
5.5.210.0030.00310.31
5.5.200.0030.00310.80
5.5.190.0070.00710.66
5.5.180.0030.00310.54
5.5.170.0030.00510.76
5.5.160.0040.00710.61
5.5.150.0050.00710.85
5.5.140.0070.00710.71
5.5.130.0070.00710.55
5.5.120.0030.01011.06
5.5.110.0030.00910.40
5.5.100.0090.00510.42
5.5.90.0090.00410.93
5.5.80.0000.01211.00
5.5.70.0070.00310.77
5.5.60.0000.00810.69
5.5.50.0040.00410.86
5.5.40.0000.00710.86
5.5.30.0070.00310.88
5.5.20.0040.00410.54
5.5.10.0060.00610.82
5.5.00.0070.00010.82
5.4.450.0280.02515.07
5.4.440.0330.02815.05
5.4.430.0150.02515.06
5.4.420.0080.02715.24
5.4.410.0250.02315.24
5.4.400.0120.01814.98
5.4.390.0150.02214.93
5.4.380.0650.04014.72
5.4.370.0650.03314.72
5.4.360.0500.03314.66
5.4.350.0420.04114.50
5.4.340.0470.03214.66
5.4.330.0000.01110.82
5.4.320.0060.02511.60
5.4.310.0090.02211.60
5.4.300.0080.02011.54
5.4.290.0040.02411.64
5.4.280.0020.02511.51
5.4.270.0080.01911.66
5.4.260.0070.02011.44
5.4.250.0080.02011.42
5.4.240.0070.02111.58
5.4.230.0040.02111.52
5.4.220.0090.01811.51
5.4.210.0070.02011.55
5.4.200.0030.02411.58
5.4.190.0040.02211.55
5.4.180.0020.02111.42
5.4.170.0040.02311.62
5.4.160.0050.02511.60
5.4.150.0070.02211.52
5.4.140.0070.02011.30
5.4.130.0020.02211.42
5.4.120.0040.02211.54
5.4.110.0090.01811.41
5.4.100.0020.02211.28
5.4.90.0060.02211.44
5.4.80.0040.02211.47
5.4.70.0040.02211.44
5.4.60.0020.02111.45
5.4.50.0060.02111.32
5.4.40.0070.01811.32
5.4.30.0050.02211.37
5.4.20.0070.01911.32
5.4.10.0020.02811.25
5.4.00.0090.01711.23
5.3.290.0090.02111.50
5.3.280.0030.02211.50
5.3.270.0070.02111.52
5.3.260.0080.02111.54
5.3.250.0060.01911.61
5.3.240.0030.02411.33
5.3.230.0060.02411.57
5.3.220.0060.02211.52
5.3.210.0030.02811.34
5.3.200.0060.02111.43
5.3.190.0050.02111.54
5.3.180.0060.01911.60
5.3.170.0050.02111.52
5.3.160.0050.02111.59
5.3.150.0050.02011.47
5.3.140.0060.02111.43
5.3.130.0060.02311.52
5.3.120.0030.02111.46
5.3.110.0060.02111.55
5.3.100.0050.02311.29
5.3.90.0060.02011.35
5.3.80.0070.02111.11
5.3.70.0060.01911.26
5.3.60.0050.02111.26
5.3.50.0020.02111.20
5.3.40.0050.02111.07
5.3.30.0020.02411.14
5.3.20.0060.02111.08
5.3.10.0070.01810.96
5.3.00.0040.02010.87
5.2.170.0010.0219.24
5.2.160.0050.0189.29
5.2.150.0060.0159.30
5.2.140.0060.0169.24
5.2.130.0040.0189.22
5.2.120.0030.0189.22
5.2.110.0050.0179.22
5.2.100.0050.0169.26
5.2.90.0040.0199.25
5.2.80.0040.0209.22
5.2.70.0020.0229.22
5.2.60.0030.0199.20
5.2.50.0020.0209.19
5.2.40.0030.0209.18
5.2.30.0020.0189.16
5.2.20.0060.0159.15
5.2.10.0040.0179.11
5.2.00.0050.0209.04
5.1.60.0030.0168.68
5.1.50.0030.0188.68
5.1.40.0050.0138.67
5.1.30.0020.0178.85
5.1.20.0050.0158.86
5.1.10.0040.0148.72
5.1.00.0020.0168.72
5.0.50.0060.0137.96
5.0.40.0040.0117.89
5.0.30.0040.0177.79
5.0.20.0040.0117.78
5.0.10.0040.0107.77
5.0.00.0050.0197.76
4.4.90.0020.0127.02
4.4.80.0020.0097.01
4.4.70.0030.0107.01
4.4.60.0020.0117.01
4.4.50.0050.0107.02
4.4.40.0020.0146.99
4.4.30.0030.0087.02
4.4.20.0050.0077.06
4.4.10.0030.0097.06
4.4.00.0030.0147.02
4.3.110.0010.0116.97
4.3.100.0010.0096.97
4.3.90.0010.0116.95
4.3.80.0000.0156.93
4.3.70.0050.0076.95
4.3.60.0010.0116.95
4.3.50.0030.0096.95
4.3.40.0040.0176.90
4.3.30.0010.0126.29
4.3.20.0020.0116.28
4.3.10.0030.0106.25
4.3.00.0030.01012.28

preferences:
55.64 ms | 401 KiB | 5 Q