3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function something() { print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1)); } } 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.0070.00718.43
8.3.50.0150.00621.92
8.3.40.0000.01418.55
8.3.30.0120.00318.92
8.3.20.0050.00220.35
8.3.10.0080.00020.25
8.3.00.0000.00819.13
8.2.180.0040.01416.75
8.2.170.0140.00422.96
8.2.160.0100.00620.47
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00422.23
8.2.110.0090.00022.08
8.2.100.0110.00017.78
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0050.00317.50
8.2.60.0030.00617.91
8.2.50.0040.00418.07
8.2.40.0040.00418.09
8.2.30.0000.00821.22
8.2.20.0040.00417.54
8.2.10.0080.00017.95
8.2.00.0060.00317.50
8.1.280.0100.01025.92
8.1.270.0050.00322.02
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0030.00624.02
8.1.230.0030.00719.01
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0030.00617.22
8.1.190.0000.00817.13
8.1.180.0000.00718.10
8.1.170.0040.00518.63
8.1.160.0000.00722.01
8.1.150.0080.00018.82
8.1.140.0040.00417.29
8.1.130.0000.00717.79
8.1.120.0040.00417.39
8.1.110.0040.00417.35
8.1.100.0040.00417.41
8.1.90.0000.00717.41
8.1.80.0030.00517.29
8.1.70.0000.00817.28
8.1.60.0060.00317.55
8.1.50.0020.00517.55
8.1.40.0070.00017.50
8.1.30.0030.00517.64
8.1.20.0050.00217.61
8.1.10.0000.00817.55
8.1.00.0030.00617.33
8.0.300.0030.00619.21
8.0.290.0000.00716.58
8.0.280.0030.00518.43
8.0.270.0000.00817.30
8.0.260.0060.00017.14
8.0.250.0000.00716.89
8.0.240.0030.00316.86
8.0.230.0000.00716.86
8.0.220.0030.00316.81
8.0.210.0030.00316.87
8.0.200.0000.00716.91
8.0.190.0040.00416.88
8.0.180.0030.00316.89
8.0.170.0000.00716.82
8.0.160.0080.00016.88
8.0.150.0070.00016.68
8.0.140.0000.00816.70
8.0.130.0000.00613.30
8.0.120.0030.00516.80
8.0.110.0050.00216.80
8.0.100.0040.00416.85
8.0.90.0070.00016.71
8.0.80.0150.00616.84
8.0.70.0000.00716.82
8.0.60.0030.00516.86
8.0.50.0040.00416.74
8.0.30.0060.01317.21
8.0.20.0150.00417.40
8.0.10.0000.00716.82
8.0.00.0100.01216.55
7.4.330.0000.00515.06
7.4.320.0070.00016.34
7.4.300.0040.00416.52
7.4.290.0030.00516.49
7.4.280.0000.00716.59
7.4.270.0080.00016.47
7.4.260.0040.00416.57
7.4.250.0000.00716.39
7.4.240.0000.00716.57
7.4.230.0000.00716.63
7.4.220.0140.00316.49
7.4.210.0000.01516.50
7.4.200.0030.00316.61
7.4.160.0190.01016.44
7.4.150.0110.00817.40
7.4.140.0160.01617.86
7.4.130.0130.00316.39
7.4.120.0100.00816.51
7.4.110.0100.00716.57
7.4.100.0150.00616.55
7.4.90.0000.01716.51
7.4.80.0180.00416.45
7.4.70.0100.00616.55
7.4.60.0040.01216.61
7.4.50.0060.00316.31
7.4.40.0080.00816.38
7.4.30.0090.00616.42
7.4.10.0030.01314.64
7.4.00.0050.01114.84
7.3.330.0040.00413.27
7.3.320.0030.00313.23
7.3.310.0070.00016.06
7.3.300.0030.00316.12
7.3.290.0100.00316.23
7.3.280.0110.00816.21
7.3.270.0080.00917.40
7.3.260.0100.00716.09
7.3.250.0160.00716.26
7.3.240.0070.01016.31
7.3.230.0170.00016.39
7.3.210.0150.00416.15
7.3.200.0130.01019.39
7.3.190.0120.00616.49
7.3.180.0090.01016.36
7.3.170.0060.01116.27
7.3.160.0070.01016.19
7.3.130.0070.00714.55
7.3.120.0070.01315.03
7.3.110.0120.00614.75
7.3.100.0100.00714.50
7.3.90.0100.00614.77
7.3.80.0070.00714.47
7.3.70.0070.00714.78
7.3.60.0080.00814.38
7.3.50.0040.00814.91
7.3.40.0040.00714.21
7.3.30.0030.01014.38
7.3.20.0100.00316.39
7.3.10.0070.00716.30
7.3.00.0030.01016.04
7.2.330.0150.00916.66
7.2.320.0130.01016.69
7.2.310.0080.00816.48
7.2.300.0110.00516.44
7.2.290.0030.01416.55
7.2.260.0030.01715.09
7.2.250.0000.01515.09
7.2.240.0030.01014.99
7.2.230.0110.00715.14
7.2.220.0030.01415.07
7.2.210.0080.00414.72
7.2.200.0100.00615.04
7.2.190.0070.01014.74
7.2.180.0000.01414.50
7.2.170.0070.00714.84
7.2.160.0030.01514.66
7.2.150.0070.00716.47
7.2.140.0070.00716.51
7.2.130.0090.00616.49
7.2.120.0080.00716.33
7.2.110.0030.00616.60
7.2.100.0110.00016.70
7.2.90.0120.00416.48
7.2.80.0000.01416.53
7.2.70.0040.01216.56
7.2.60.0120.00016.64
7.2.50.0060.00316.45
7.2.40.0100.00616.47
7.2.30.0070.01116.43
7.2.20.0070.00716.80
7.2.10.0040.01116.51
7.2.00.0130.00617.95
7.1.330.0030.00915.75
7.1.320.0030.01315.87
7.1.310.0060.00915.43
7.1.300.0040.01215.18
7.1.290.0040.00815.36
7.1.280.0030.00915.65
7.1.270.0060.00815.68
7.1.260.0060.00615.21
7.1.250.0030.00615.16
7.1.240.0080.00315.79
7.1.230.0030.01015.34
7.1.220.0170.00015.17
7.1.210.0040.01115.56
7.1.200.0090.00615.30
7.1.190.0000.01115.64
7.1.180.0060.00915.48
7.1.170.0040.00715.59
7.1.160.0030.01215.72
7.1.150.0120.00415.43
7.1.140.0040.01115.68
7.1.130.0090.00615.73
7.1.120.0070.01015.44
7.1.110.0000.01215.48
7.1.100.0520.00715.74
7.1.90.0090.00315.24
7.1.80.0110.00015.44
7.1.70.0060.00616.14
7.1.60.0070.01417.50
7.1.50.0080.00516.04
7.1.40.0100.00315.20
7.1.30.0000.01315.40
7.1.20.0040.01115.57
7.1.10.0080.00615.69
7.1.00.0020.04419.01
7.0.330.0030.01014.98
7.0.320.0000.01114.64
7.0.310.0060.00615.04
7.0.300.0030.01015.09
7.0.290.0060.00915.05
7.0.280.0000.01415.13
7.0.270.0130.00015.12
7.0.260.0070.00715.10
7.0.250.0090.00915.30
7.0.240.0030.00715.25
7.0.230.0090.00614.93
7.0.220.0000.01215.22
7.0.210.0100.00015.26
7.0.200.0050.00615.98
7.0.190.0060.00615.09
7.0.180.0030.01014.98
7.0.170.0040.00415.47
7.0.160.0040.00715.14
7.0.150.0070.00715.25
7.0.140.0100.03518.54
7.0.130.0040.01115.44
7.0.120.0120.00315.11
7.0.110.0030.00915.38
7.0.100.0030.01015.33
7.0.90.0000.01415.35
7.0.80.0000.01715.16
7.0.70.0040.00415.09
7.0.60.0080.04517.71
7.0.50.0140.02716.63
7.0.40.0080.02516.73
7.0.30.0210.03816.72
7.0.20.0210.03816.69
7.0.10.0080.04016.75
7.0.00.0070.03616.72
5.6.400.0000.01314.11
5.6.390.0030.01314.04
5.6.380.0000.01314.08
5.6.370.0040.01414.16
5.6.360.0050.00814.38
5.6.350.0110.00313.80
5.6.340.0040.00714.54
5.6.330.0080.00814.05
5.6.320.0070.00414.36
5.6.310.0040.01113.84
5.6.300.0030.01114.43
5.6.290.0020.01314.23
5.6.280.0060.03917.55
5.6.270.0130.00014.28
5.6.260.0030.00714.12
5.6.250.0000.01014.43
5.6.240.0060.00914.21
5.6.230.0000.00914.05
5.6.220.0040.00414.14
5.6.210.0070.03417.49
5.6.200.0070.04516.23
5.6.190.0050.04817.51
5.6.180.1720.02517.34
5.6.170.0160.03617.42
5.6.160.0070.03717.38
5.6.150.0080.04516.19
5.6.140.0030.04816.20
5.6.130.0080.03316.29
5.6.120.0020.03017.79
5.6.110.0080.04717.60
5.6.100.0070.03517.65
5.6.90.0050.04517.71
5.6.80.0070.04217.20
5.6.70.2230.02317.40
5.6.60.0110.00414.19
5.6.50.0040.01414.07
5.6.40.0100.00314.11
5.6.30.0000.01213.94
5.6.20.0070.00714.16
5.6.10.0030.01214.18
5.6.00.0040.00814.23
5.5.380.0040.01214.11
5.5.370.0060.00914.49
5.5.360.0030.00914.29
5.5.350.0070.05117.30
5.5.340.0030.03516.06
5.5.330.0070.04317.17
5.5.320.0210.02617.05
5.5.310.0150.03217.21
5.5.300.0080.04216.28
5.5.290.0070.04416.24
5.5.280.0090.04117.62
5.5.270.0150.02717.60
5.5.260.0020.03717.65
5.5.250.0070.03317.41
5.5.240.0150.03917.03
5.5.230.0090.00014.40
5.5.220.0060.00314.20
5.5.210.0060.01013.98
5.5.200.0030.00914.22
5.5.190.0030.01414.24
5.5.180.0080.00414.04
5.5.170.0060.00314.05
5.5.160.0070.00714.35
5.5.150.0000.00913.98
5.5.140.0100.00314.00
5.5.130.0060.00814.44
5.5.120.0000.01213.99
5.5.110.0070.00714.29
5.5.100.0030.01014.05
5.5.90.0040.01114.31
5.5.80.0070.01014.36
5.5.70.0040.00714.12
5.5.60.0030.00613.99
5.5.50.0080.00414.04
5.5.40.0030.00713.98
5.5.30.0000.01014.34
5.5.20.0060.00314.21
5.5.10.0040.01113.91
5.5.00.0070.00714.00
5.4.450.0160.03115.22
5.4.440.0230.03015.07
5.4.430.0150.03015.01
5.4.420.0170.03215.31
5.4.410.0170.02515.02
5.4.400.0110.02614.89
5.4.390.0180.03115.06
5.4.380.0720.03014.71
5.4.370.0170.02914.83
5.4.360.0170.02914.91
5.4.350.0200.02614.95
5.4.340.0220.02514.79
5.4.330.0040.00410.87
5.4.320.0050.02011.67
5.4.310.0050.02211.77
5.4.300.0070.01811.69
5.4.290.0060.02011.58
5.4.280.0040.02311.79
5.4.270.0020.02411.54
5.4.260.0040.02211.69
5.4.250.0070.02011.78
5.4.240.0090.01911.52
5.4.230.0020.02311.66
5.4.220.0070.01811.49
5.4.210.0060.02411.64
5.4.200.0040.02311.49
5.4.190.0060.02111.53
5.4.180.0060.02311.66
5.4.170.0080.01811.70
5.4.160.0020.02411.63
5.4.150.0070.01911.74
5.4.140.0060.02111.61
5.4.130.0070.02011.44
5.4.120.0050.02711.61
5.4.110.0050.02011.52
5.4.100.0050.02211.52
5.4.90.0050.02411.50
5.4.80.0050.02111.49
5.4.70.0060.02311.47
5.4.60.0040.02411.50
5.4.50.0040.02111.36
5.4.40.0040.02211.51
5.4.30.0020.02611.42
5.4.20.0040.02411.36
5.4.10.0060.02611.49
5.4.00.0070.02511.29
5.3.290.0070.04112.80
5.3.280.0080.03612.71
5.3.270.0050.04012.73
5.3.260.0030.04112.72
5.3.250.0080.03412.72
5.3.240.0070.03612.72
5.3.230.0070.03612.71
5.3.220.0050.03812.68
5.3.210.0100.03412.68
5.3.200.0060.03612.68
5.3.190.0020.04112.68
5.3.180.0070.03512.68
5.3.170.0060.03612.67
5.3.160.0030.03812.67
5.3.150.0050.03712.67
5.3.140.0090.03312.66
5.3.130.0050.04012.66
5.3.120.0090.03712.66
5.3.110.0050.03912.66
5.3.100.0050.04112.12
5.3.90.0050.03712.10
5.3.80.0070.03512.10
5.3.70.0050.03712.09
5.3.60.0080.03412.08
5.3.50.0100.03112.03
5.3.40.0050.04312.03
5.3.30.0070.03311.98
5.3.20.0050.03611.77
5.3.10.0050.03511.73
5.3.00.0060.03611.72
5.2.170.0070.0289.21
5.2.160.0080.0269.22
5.2.150.0030.0319.22
5.2.140.0060.0299.22
5.2.130.0070.0269.18
5.2.120.0080.0259.18
5.2.110.0050.0299.19
5.2.100.0050.0299.18
5.2.90.0060.0279.18
5.2.80.0050.0309.17
5.2.70.0070.0319.17
5.2.60.0040.0319.13
5.2.50.0040.0309.10
5.2.40.0040.0299.07
5.2.30.0040.0309.05
5.2.20.0040.0299.04
5.2.10.0060.0288.94
5.2.00.0080.0278.80
5.1.60.0050.0238.09
5.1.50.0030.0258.09
5.1.40.0060.0238.07
5.1.30.0070.0238.42
5.1.20.0030.0278.44
5.1.10.0030.0278.16
5.1.00.0060.0238.16
5.0.50.0020.0246.64
5.0.40.0030.0216.50
5.0.30.0010.0336.32
5.0.20.0020.0286.28
5.0.10.0070.0196.26
5.0.00.0040.0356.25
4.4.90.0070.0124.78
4.4.80.0000.0204.75
4.4.70.0020.0164.75
4.4.60.0030.0154.76
4.4.50.0040.0144.77
4.4.40.0010.0284.71
4.4.30.0020.0184.76
4.4.20.0040.0144.84
4.4.10.0030.0164.85
4.4.00.0020.0254.76
4.3.110.0040.0134.67
4.3.100.0020.0154.67
4.3.90.0040.0204.64
4.3.80.0030.0284.58
4.3.70.0010.0164.63
4.3.60.0050.0204.63
4.3.50.0020.0224.63
4.3.40.0020.0254.54
4.3.30.0010.0173.30
4.3.20.0050.0153.28
4.3.10.0030.0173.24
4.3.00.0070.0176.95

preferences:
44.72 ms | 401 KiB | 5 Q