3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function something() { print_r(debug_backtrace(0)); } } class bar { public static function elses() { $foo = new foo(); $foo->something(); } } bar::elses();

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.0090.00618.31
8.3.50.0110.00922.06
8.3.40.0110.00318.78
8.3.30.0070.00718.94
8.3.20.0000.00720.09
8.3.10.0090.00020.40
8.3.00.0040.00419.26
8.2.180.0090.00616.75
8.2.170.0150.00022.96
8.2.160.0000.01420.35
8.2.150.0030.00724.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0080.00022.06
8.2.110.0060.00320.26
8.2.100.0130.00018.09
8.2.90.0000.00719.09
8.2.80.0030.00617.97
8.2.70.0040.00417.25
8.2.60.0050.00317.91
8.2.50.0090.00018.07
8.2.40.0040.00418.03
8.2.30.0040.00419.48
8.2.20.0000.00817.67
8.2.10.0080.00018.04
8.2.00.0040.00417.48
8.1.280.0180.00325.92
8.1.270.0000.00822.08
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.75
8.1.230.0080.00419.07
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0050.00517.23
8.1.190.0040.00417.13
8.1.180.0040.00418.10
8.1.170.0050.00318.49
8.1.160.0000.00721.86
8.1.150.0040.00418.68
8.1.140.0000.00717.31
8.1.130.0000.00717.85
8.1.120.0030.00417.40
8.1.110.0030.00317.40
8.1.100.0030.00517.37
8.1.90.0070.00017.27
8.1.80.0030.00417.35
8.1.70.0000.00717.27
8.1.60.0030.00617.41
8.1.50.0000.00717.45
8.1.40.0040.00417.53
8.1.30.0000.00817.59
8.1.20.0000.00817.60
8.1.10.0040.00417.50
8.1.00.0060.00317.45
8.0.300.0090.00018.77
8.0.290.0000.00716.58
8.0.280.0030.00318.41
8.0.270.0000.00817.17
8.0.260.0040.00417.12
8.0.250.0000.00716.76
8.0.240.0060.00016.92
8.0.230.0030.00316.94
8.0.220.0000.00716.84
8.0.210.0030.00316.81
8.0.200.0030.00316.89
8.0.190.0000.00816.79
8.0.180.0070.00016.75
8.0.170.0040.00416.86
8.0.160.0000.00716.77
8.0.150.0030.00316.84
8.0.140.0000.00816.64
8.0.130.0050.00013.24
8.0.120.0050.00216.76
8.0.110.0000.00716.73
8.0.100.0000.00716.80
8.0.90.0050.00216.70
8.0.80.0100.01016.87
8.0.70.0040.00416.69
8.0.60.0040.00416.68
8.0.50.0030.00416.69
8.0.30.0090.01317.19
8.0.20.0120.01017.40
8.0.10.0000.00816.83
8.0.00.0110.00816.81
7.4.330.0000.00515.08
7.4.320.0070.00016.57
7.4.300.0040.00416.57
7.4.290.0070.00016.54
7.4.280.0040.00416.62
7.4.270.0030.00316.51
7.4.260.0070.00016.55
7.4.250.0030.00316.46
7.4.240.0020.00516.54
7.4.230.0030.00316.38
7.4.220.0000.02216.58
7.4.210.0060.00916.42
7.4.200.0000.00716.33
7.4.160.0140.01016.57
7.4.150.0140.00317.40
7.4.140.0080.00917.86
7.4.130.0050.01316.48
7.4.120.0050.01116.50
7.4.110.0100.00716.61
7.4.100.0160.01016.41
7.4.90.0180.00916.52
7.4.80.0170.00716.61
7.4.70.0170.00016.45
7.4.60.0100.00616.48
7.4.50.0060.00016.28
7.4.40.0120.00916.59
7.4.30.0060.01116.64
7.4.00.0100.00315.18
7.3.330.0070.00013.09
7.3.320.0060.00013.23
7.3.310.0030.00316.22
7.3.300.0070.00016.14
7.3.290.0040.01016.25
7.3.280.0100.01016.21
7.3.270.0110.00817.40
7.3.260.0120.00616.29
7.3.250.0110.00616.33
7.3.240.0100.00616.20
7.3.230.0060.01116.48
7.3.210.0130.00616.47
7.3.200.0110.01119.39
7.3.190.0140.00816.51
7.3.180.0220.01416.43
7.3.170.0070.01116.27
7.3.160.0040.01116.25
7.3.00.0040.00916.35
7.2.330.0150.00316.64
7.2.320.0070.01016.71
7.2.310.0090.00916.32
7.2.300.0090.00916.58
7.2.290.0030.01316.52
7.2.130.0110.00916.77
7.2.120.0100.00316.54
7.2.110.0080.01216.91
7.2.100.0150.00716.69
7.2.90.0050.01416.86
7.2.80.0100.00816.59
7.2.70.0000.01116.79
7.2.60.0060.00916.75
7.2.50.0090.00916.71
7.2.40.0070.01016.75
7.2.30.0070.00716.89
7.2.20.0070.00716.84
7.2.10.0070.00716.80
7.2.00.0180.00317.80
7.1.250.0070.00215.71
7.1.240.0030.00815.71
7.1.230.0060.00915.54
7.1.220.0140.00415.48
7.1.210.0040.00415.74
7.1.200.0070.00415.58
7.1.190.0050.00915.64
7.1.180.0000.01215.65
7.1.170.0080.01115.41
7.1.160.0140.00415.79
7.1.150.0070.00315.69
7.1.140.0000.01115.79
7.1.130.0040.00715.80
7.1.120.0100.00715.66
7.1.110.0070.00315.73
7.1.100.0050.00716.88
7.1.90.0040.00715.52
7.1.80.0070.00315.69
7.1.70.0030.00816.22
7.1.60.0060.01217.48
7.1.50.0060.00916.07
7.1.40.0030.00715.38
7.1.30.0120.00415.58
7.1.20.0040.01115.50
7.1.10.0000.01315.42
7.1.00.0030.04318.85
7.0.330.0020.01114.98
7.0.320.0060.00615.11
7.0.310.0030.01015.23
7.0.300.0070.01115.15
7.0.290.0120.00014.89
7.0.280.0070.00714.85
7.0.270.0040.01115.09
7.0.260.0040.00715.10
7.0.250.0000.00915.11
7.0.240.0070.01015.37
7.0.230.0040.00415.05
7.0.220.0070.00415.07
7.0.210.0050.00515.05
7.0.200.0010.00815.82
7.0.190.0030.01115.34
7.0.180.0090.00915.18
7.0.170.0150.00015.32
7.0.160.0060.00915.28
7.0.150.0080.00315.10
7.0.140.0100.03518.47
7.0.130.0180.00315.17
7.0.120.0070.01015.30
7.0.110.0060.00915.10
7.0.100.0060.01315.12
7.0.90.0070.01015.18
7.0.80.0000.01315.29
7.0.70.0030.01415.09
7.0.60.0040.04117.48
7.0.50.0120.04216.56
7.0.40.0050.03216.61
7.0.30.0250.03816.66
7.0.20.0130.03016.59
7.0.10.0110.04216.70
7.0.00.0030.03616.89
5.6.380.0040.01214.11
5.6.370.0040.01214.35
5.6.360.0040.01214.07
5.6.350.0080.00714.30
5.6.340.0080.00314.26
5.6.330.0060.01214.14
5.6.320.0030.01014.31
5.6.310.0080.00014.21
5.6.300.0080.00413.86
5.6.290.0100.00514.08
5.6.280.0060.04217.44
5.6.270.0120.00613.99
5.6.260.0040.01614.55
5.6.250.0070.01514.02
5.6.240.0110.00814.49
5.6.230.0070.01114.21
5.6.220.0060.00314.04
5.6.210.0090.03917.35
5.6.200.0030.02616.03
5.6.190.0070.02917.06
5.6.180.0300.03517.36
5.6.170.0120.02517.38
5.6.160.0020.02617.27
5.6.150.0100.04416.18
5.6.140.0100.02916.25
5.6.130.0030.04916.26
5.6.120.0050.03817.48
5.6.110.0020.05117.44
5.6.100.0100.03817.42
5.6.90.0030.03817.43
5.6.80.0050.03217.17
5.6.70.0070.00314.07
5.6.60.0090.00614.02
5.6.50.0070.00714.07
5.6.40.0040.01114.18
5.6.30.0000.01313.95
5.6.20.0100.00713.86
5.6.10.0100.00314.13
5.6.00.0090.00013.87
5.5.380.0080.00310.97
5.5.370.0030.01411.11
5.5.360.0030.00610.90
5.5.350.0150.03815.67
5.5.340.0070.02114.49
5.5.330.0110.04215.74
5.5.320.0200.02515.76
5.5.310.0190.02115.60
5.5.300.0070.03814.53
5.5.290.0070.03514.43
5.5.280.0030.03416.04
5.5.270.0080.03815.95
5.5.260.0070.04415.83
5.5.250.0050.03515.76
5.5.240.0100.04015.47
5.5.230.0070.00411.20
5.5.220.0000.01010.90
5.5.210.0030.00710.90
5.5.200.0070.00010.90
5.5.190.0070.00310.90
5.5.180.0080.00310.90
5.5.170.0030.00310.90
5.5.160.0040.00410.99
5.5.150.0000.01010.90
5.5.140.0030.00610.90
5.5.130.0030.00711.07
5.5.120.0060.00710.90
5.5.110.0070.00711.08
5.5.100.0060.00611.04
5.5.90.0070.00710.90
5.5.80.0030.00311.15
5.5.70.0030.00610.90
5.5.60.0060.00610.93
5.5.50.0040.00710.90
5.5.40.0000.01210.90
5.5.30.0050.00510.90
5.5.20.0000.01011.07
5.5.10.0050.00310.99
5.5.00.0030.01010.90
5.4.450.0180.02815.25
5.4.440.0170.03115.39
5.4.430.0150.02915.19
5.4.420.0160.02815.13
5.4.410.0260.02215.04
5.4.400.0230.03814.98
5.4.390.0130.04215.10
5.4.380.0130.03314.74
5.4.370.0210.02814.89
5.4.360.0200.03214.73
5.4.350.0200.02814.89
5.4.340.0220.02714.82
5.4.330.0030.00910.90
5.4.320.0070.01811.70
5.4.310.0060.02011.70
5.4.300.0080.01911.70
5.4.290.0080.02111.70
5.4.280.0090.01911.65
5.4.270.0040.02611.65
5.4.260.0060.02211.65
5.4.250.0060.02311.65
5.4.240.0080.02411.65
5.4.230.0020.02411.64
5.4.220.0070.02111.65
5.4.210.0040.02211.64
5.4.200.0070.02411.64
5.4.190.0070.02211.64
5.4.180.0070.02411.64
5.4.170.0060.01911.65
5.4.160.0040.02211.68
5.4.150.0050.02311.65
5.4.140.0080.03111.48
5.4.130.0070.02311.54
5.4.120.0050.02611.46
5.4.110.0040.02211.46
5.4.100.0050.01911.49
5.4.90.0060.02311.47
5.4.80.0030.02511.46
5.4.70.0060.01811.48
5.4.60.0040.02211.46
5.4.50.0060.02111.46
5.4.40.0050.02011.45
5.4.30.0030.02111.45
5.4.20.0050.02111.45
5.4.10.0040.02011.45
5.4.00.0060.02211.25
5.3.290.0040.02411.85
5.3.280.0080.01811.80
5.3.270.0060.02011.81
5.3.260.0040.02411.81
5.3.250.0060.02011.81
5.3.240.0060.02311.81
5.3.230.0040.02411.80
5.3.220.0050.02411.79
5.3.210.0040.02911.79
5.3.200.0060.02411.79
5.3.190.0050.02511.79
5.3.180.0060.02011.79
5.3.170.0040.02311.78
5.3.160.0050.02111.79
5.3.150.0020.02311.78
5.3.140.0090.02111.78
5.3.130.0040.02311.78
5.3.120.0060.02311.78
5.3.110.0050.02311.78
5.3.100.0060.01811.51
5.3.90.0110.01611.50
5.3.80.0090.01711.50
5.3.70.0050.02011.50
5.3.60.0070.02611.49
5.3.50.0040.02311.46
5.3.40.0060.02011.46
5.3.30.0070.02311.44
5.3.20.0040.02211.33
5.3.10.0040.01911.32
5.3.00.0060.01911.31
5.2.170.0060.01510.06
5.2.160.0070.01310.06
5.2.150.0080.02110.06
5.2.140.0030.01910.06
5.2.130.0040.01910.04
5.2.120.0070.02110.04
5.2.110.0040.01910.04
5.2.100.0060.01610.04
5.2.90.0050.01810.04
5.2.80.0020.02010.03
5.2.70.0050.01510.04
5.2.60.0030.01810.01
5.2.50.0070.01410.00
5.2.40.0020.0179.99
5.2.30.0040.0229.97
5.2.20.0010.0189.97
5.2.10.0020.0179.92
5.2.00.0030.0179.85
5.1.60.0020.0179.49
5.1.50.0050.0159.49
5.1.40.0020.0189.48
5.1.30.0020.0169.66
5.1.20.0030.0159.67
5.1.10.0030.0149.53
5.1.00.0020.0179.53
5.0.50.0020.0138.77
5.0.40.0030.0138.70
5.0.30.0060.0158.61
5.0.20.0020.0148.59
5.0.10.0050.0108.58
5.0.00.0020.0208.57
4.4.90.0020.0127.84
4.4.80.0010.0117.83
4.4.70.0020.0107.83
4.4.60.0030.0157.83
4.4.50.0020.0087.84
4.4.40.0030.0147.80
4.4.30.0030.0077.83
4.4.20.0010.0117.87
4.4.10.0010.0147.87
4.4.00.0020.0147.83
4.3.110.0020.0147.78
4.3.100.0030.0087.78
4.3.90.0010.0107.77
4.3.80.0040.0127.74
4.3.70.0010.0137.76
4.3.60.0010.0097.76
4.3.50.0030.0107.76
4.3.40.0020.0177.72
4.3.30.0020.0107.10
4.3.20.0010.0107.09
4.3.10.0030.0077.07
4.3.00.0030.0128.92

preferences:
50.19 ms | 401 KiB | 5 Q