3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function something() { print_r(debug_backtrace(0|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.40.0090.00618.59
8.3.30.0070.00718.87
8.3.20.0050.00320.26
8.3.10.0000.00820.23
8.3.00.0040.00419.13
8.2.170.0110.00422.96
8.2.160.0090.00420.47
8.2.150.0100.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0050.00322.23
8.2.110.0030.00520.58
8.2.100.0040.00817.73
8.2.90.0000.00919.09
8.2.80.0000.00817.97
8.2.70.0000.00917.38
8.2.60.0060.00317.90
8.2.50.0060.00318.07
8.2.40.0000.00818.22
8.2.30.0070.00019.39
8.2.20.0000.00817.59
8.2.10.0090.00017.98
8.2.00.0000.00817.46
8.1.270.0000.00822.05
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0000.00923.87
8.1.230.0030.00718.93
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0070.00717.09
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0060.00318.59
8.1.160.0070.00021.94
8.1.150.0040.00418.80
8.1.140.0000.00717.37
8.1.130.0000.00717.82
8.1.120.0040.00417.35
8.1.110.0000.00717.26
8.1.100.0040.00317.41
8.1.90.0030.00417.32
8.1.80.0070.00017.43
8.1.70.0050.00317.36
8.1.60.0090.00017.56
8.1.50.0030.00617.46
8.1.40.0050.00317.51
8.1.30.0050.00317.46
8.1.20.0000.00717.47
8.1.10.0070.00017.37
8.1.00.0040.00417.32
8.0.300.0020.00518.77
8.0.290.0040.00416.58
8.0.280.0030.00318.28
8.0.270.0040.00417.22
8.0.260.0000.00617.24
8.0.250.0060.00016.87
8.0.240.0030.00316.90
8.0.230.0030.00316.90
8.0.220.0040.00416.79
8.0.210.0060.00016.68
8.0.200.0000.00616.92
8.0.190.0050.00316.75
8.0.180.0030.00316.83
8.0.170.0000.00716.77
8.0.160.0030.00416.88
8.0.150.0000.00816.76
8.0.140.0000.00716.83
8.0.130.0000.00513.18
8.0.120.0040.00416.84
8.0.110.0000.00716.79
8.0.100.0050.00316.75
8.0.90.0000.00816.80
8.0.80.0110.00616.77
8.0.70.0050.00216.64
8.0.60.0080.00016.94
8.0.50.0000.00716.76
8.0.30.0120.00617.00
8.0.20.0180.01817.40
8.0.10.0000.00717.00
8.0.00.0140.00916.58
7.4.330.0020.00215.05
7.4.320.0030.00316.54
7.4.300.0030.00316.52
7.4.290.0030.00516.61
7.4.280.0040.00416.48
7.4.270.0000.00716.54
7.4.260.0030.00616.41
7.4.250.0050.00216.38
7.4.240.0040.00416.56
7.4.230.0030.00316.47
7.4.220.0090.00916.66
7.4.210.0060.01216.62
7.4.200.0030.00316.56
7.4.160.0110.01516.31
7.4.150.0080.01117.40
7.4.140.0120.00617.86
7.4.130.0130.00516.41
7.4.120.0080.00816.47
7.4.110.0060.01216.53
7.4.100.0000.01716.20
7.4.90.0030.01416.42
7.4.80.0070.01016.40
7.4.70.0110.00816.42
7.4.60.0060.01016.50
7.4.50.0090.00016.36
7.4.40.0080.00916.50
7.4.30.0130.00316.48
7.4.10.0090.00914.78
7.4.00.0060.01114.93
7.3.330.0030.00313.01
7.3.320.0050.00013.23
7.3.310.0030.00316.31
7.3.300.0030.00316.07
7.3.290.0030.01016.29
7.3.280.0090.00616.21
7.3.270.0100.00717.40
7.3.260.0150.00316.41
7.3.250.0100.00716.16
7.3.240.0050.01216.41
7.3.230.0030.01416.39
7.3.210.0060.01216.31
7.3.200.0060.01019.39
7.3.190.0180.00416.51
7.3.180.0090.00616.19
7.3.170.0110.01316.54
7.3.160.0060.00916.14
7.3.130.0110.00714.67
7.3.120.0020.01514.77
7.3.110.0020.01314.60
7.3.100.0040.00914.92
7.3.90.0050.00814.88
7.3.80.0050.00814.82
7.3.70.0070.01014.65
7.3.60.0100.00514.79
7.3.50.0050.00814.67
7.3.40.0050.00914.66
7.3.30.0020.01014.64
7.3.20.0060.00516.51
7.3.10.0090.00416.49
7.3.00.0070.00916.42
7.2.330.0060.01316.67
7.2.320.0030.01316.38
7.2.310.0030.01316.29
7.2.300.0120.00616.51
7.2.290.0120.01216.62
7.2.260.0070.00714.87
7.2.250.0060.00915.14
7.2.240.0090.00614.95
7.2.230.0080.00414.89
7.2.220.0080.00715.02
7.2.210.0030.01014.65
7.2.200.0110.00614.68
7.2.190.0010.01214.76
7.2.180.0040.00914.89
7.2.170.0050.00914.87
7.2.160.0020.00814.96
7.2.150.0050.00916.88
7.2.140.0060.00916.75
7.2.130.0070.00916.62
7.2.120.0060.00916.77
7.2.110.0080.00616.81
7.2.100.0060.00916.62
7.2.90.0050.01016.88
7.2.80.0090.00716.75
7.2.70.0070.00716.67
7.2.60.0060.00816.77
7.2.50.0060.00916.82
7.2.40.0030.00816.69
7.2.30.0040.00816.81
7.2.20.0060.01016.84
7.2.10.0060.00716.84
7.2.00.0080.00817.41
7.1.330.0070.00815.68
7.1.320.0060.00615.70
7.1.310.0110.00515.58
7.1.300.0030.00815.52
7.1.290.0050.01115.66
7.1.280.0070.00515.82
7.1.270.0100.00415.50
7.1.260.0020.00815.60
7.1.250.0070.00815.58
7.1.240.0030.00615.71
7.1.230.0030.00815.71
7.1.220.0050.00315.62
7.1.210.0090.00615.78
7.1.200.0100.00315.82
7.1.190.0030.00915.67
7.1.180.0090.00615.64
7.1.170.0070.00415.50
7.1.160.0080.00815.78
7.1.150.0090.00915.72
7.1.140.0030.00915.59
7.1.130.0000.01615.80
7.1.120.0040.01215.60
7.1.110.0090.00615.83
7.1.100.0000.01116.91
7.1.90.0070.00715.70
7.1.80.0040.00715.73
7.1.70.0020.00916.35
7.1.60.0110.00917.44
7.1.50.0080.01016.23
7.1.40.0060.00315.74
7.1.30.0000.01515.78
7.1.20.0110.00415.51
7.1.10.0000.01415.41
7.1.00.0080.04018.93
7.0.330.0040.00415.36
7.0.320.0060.00315.52
7.0.310.0060.01115.33
7.0.300.0040.00715.28
7.0.290.0030.01515.08
7.0.280.0090.00615.54
7.0.270.0100.00315.39
7.0.260.0060.00315.14
7.0.250.0090.00615.04
7.0.240.0030.01015.32
7.0.230.0000.00814.97
7.0.220.0100.00715.43
7.0.210.0000.01615.41
7.0.200.0050.00615.89
7.0.190.0090.00015.32
7.0.180.0120.00315.09
7.0.170.0070.00715.43
7.0.160.0030.00715.27
7.0.150.0070.00715.25
7.0.140.0050.03818.61
7.0.130.0000.01015.07
7.0.120.0090.03117.80
7.0.110.0200.03517.77
7.0.100.0160.02218.65
7.0.90.0030.02518.74
7.0.80.0100.02118.71
7.0.70.0060.02118.60
7.0.60.0110.02018.53
7.0.50.0070.02418.59
7.0.40.0090.01916.65
7.0.30.0020.02716.73
7.0.20.0070.02116.74
7.0.10.0030.02316.71
7.0.00.0030.02016.74
5.6.400.0080.00814.04
5.6.390.0090.00314.44
5.6.380.0100.00014.52
5.6.370.0060.00614.24
5.6.360.0070.00414.11
5.6.350.0150.00314.26
5.6.340.0060.01014.24
5.6.330.0070.00314.55
5.6.320.0140.00013.98
5.6.310.0160.00014.55
5.6.300.0100.00314.66
5.6.290.0100.00314.16
5.6.280.0030.04117.87
5.6.270.0050.02517.63
5.6.260.0020.03217.71
5.6.250.0060.03317.56
5.6.240.0070.02617.78
5.6.230.0080.04017.59
5.6.220.0090.02717.51
5.6.210.0030.02517.68
5.6.200.0050.03517.52
5.6.190.0050.02317.64
5.6.180.0050.02417.53
5.6.170.0070.02017.70
5.6.160.0070.03217.54
5.6.150.0130.03217.54
5.6.140.0020.04017.71
5.6.130.0070.02417.61
5.6.120.0060.02317.50
5.6.110.0090.01917.71
5.6.100.0050.02717.63
5.6.90.0070.02317.59
5.6.80.0040.02217.25
5.6.70.0040.02217.28
5.6.60.0050.02317.24
5.6.50.0030.02317.35
5.6.40.0080.02117.32
5.6.30.0020.02517.37
5.6.20.0080.02717.44
5.6.10.0050.02617.13
5.6.00.0070.02217.08
5.5.380.0050.02315.90
5.5.370.0060.02315.95
5.5.360.0020.02815.80
5.5.350.0030.02616.01
5.5.340.0040.02216.18
5.5.330.0060.02416.20
5.5.320.0060.02016.20
5.5.310.0060.02115.96
5.5.300.0070.01816.20
5.5.290.0090.02016.12
5.5.280.0050.02516.17
5.5.270.0050.02816.08
5.5.260.0030.02816.00
5.5.250.0030.02416.03
5.5.240.0030.02215.69
5.5.230.0050.02215.69
5.5.220.0110.01315.76
5.5.210.0030.02015.85
5.5.200.0020.02115.97
5.5.190.0070.01815.75
5.5.180.0020.02215.77
5.5.170.0040.01214.37
5.5.160.0030.03015.80
5.5.150.0050.02115.91
5.5.140.0050.03715.70
5.5.130.0020.02315.87
5.5.120.0050.02215.64
5.5.110.0030.03815.82
5.5.100.0030.02315.72
5.5.90.0030.03715.77
5.5.80.0030.04015.72
5.5.70.0100.03515.57
5.5.60.0050.03115.60
5.5.50.0080.03915.72
5.5.40.0110.02215.59
5.5.30.0050.03815.92
5.5.20.0030.04215.77
5.5.10.0080.03815.79
5.5.00.0030.02815.60
5.4.450.0020.04215.97
5.4.440.0050.02315.94
5.4.430.0070.02315.82
5.4.420.0050.02315.81
5.4.410.0030.02115.82
5.4.400.0020.02315.74
5.4.390.0030.01815.63
5.4.380.0040.01815.64
5.4.370.0080.01515.63
5.4.360.0020.02115.72
5.4.350.0000.02315.61
5.4.340.0030.01815.70
5.4.330.0030.01312.34
5.4.320.0020.02315.72
5.4.310.0000.02315.64
5.4.300.0050.02615.64
5.4.290.0070.02315.68
5.4.280.0050.03715.78
5.4.270.0050.03715.67
5.4.260.0050.01815.78
5.4.250.0050.04015.78
5.4.240.0020.02415.63
5.4.230.0030.03215.70
5.4.220.0130.01515.63
5.4.210.0020.02415.62
5.4.200.0030.02015.66
5.4.190.0060.02815.79
5.4.180.0050.03015.71
5.4.170.0100.03515.79
5.4.160.0080.04215.77
5.4.150.0060.02015.61
5.4.140.0040.02014.36
5.4.130.0010.03014.43
5.4.120.0030.02414.45
5.4.110.0040.02514.44
5.4.100.0050.02214.37
5.4.90.0040.01514.39
5.4.80.0050.02814.48
5.4.70.0030.03514.38
5.4.60.0030.02514.42
5.4.50.0040.03614.38
5.4.40.0070.02814.36
5.4.30.0060.02014.36
5.4.20.0000.04614.33
5.4.10.0020.02214.35
5.4.00.0080.03814.16
5.3.290.0070.05014.81
5.3.280.0000.03714.82
5.3.270.0130.06014.59
5.3.260.0000.05014.68
5.3.250.0030.03714.61
5.3.240.0030.03714.69
5.3.230.0030.04714.73
5.3.220.0100.03714.57
5.3.210.0030.03314.70
5.3.200.0070.03314.69
5.3.190.0030.03714.70
5.3.180.0070.03314.52
5.3.170.0000.04714.56
5.3.160.0070.06714.58
5.3.150.0100.06314.71
5.3.140.0030.04014.68
5.3.130.0000.05314.68
5.3.120.0030.06714.58
5.3.110.0100.06714.55
5.3.100.0030.03714.04
5.3.90.0030.03714.00
5.3.80.0030.05014.01
5.3.70.0070.07314.25
5.3.60.0070.07013.86
5.3.50.0100.05313.94
5.3.40.0070.07013.94
5.3.30.0030.06713.95
5.3.20.0100.06013.68
5.3.10.0100.05013.80
5.3.00.0030.06713.50
5.2.170.0030.05711.00
5.2.160.0070.05011.16
5.2.150.0100.05711.15
5.2.140.0030.05311.13
5.2.130.0000.03011.10
5.2.120.0130.05311.07
5.2.110.0100.05311.10
5.2.100.0030.06311.08
5.2.90.0000.05310.96
5.2.80.0030.06011.09
5.2.70.0070.06311.24
5.2.60.0070.06011.12
5.2.50.0000.06711.16
5.2.40.0000.03011.07
5.2.30.0030.06711.20
5.2.20.0070.05310.82
5.2.10.0070.03310.88
5.2.00.0030.05310.73
5.1.60.0000.0609.96
5.1.50.0000.02710.25
5.1.40.0000.02710.13
5.1.30.0000.03010.50
5.1.20.0070.02010.31
5.1.10.0030.05710.06
5.1.00.0000.03310.03
5.0.50.0070.0339.64
5.0.40.0070.0239.64
5.0.30.0030.0639.64
5.0.20.0170.0279.64
5.0.10.0070.0409.64
5.0.00.0030.0579.64
4.4.90.0000.0139.64
4.4.80.0000.0309.64
4.4.70.0000.0339.64
4.4.60.0000.0309.64
4.4.50.0030.0179.64
4.4.40.0000.0309.64
4.4.30.0000.0239.64
4.4.20.0000.0379.64
4.4.10.0030.0379.64
4.4.00.0000.0379.64
4.3.110.0000.0239.64
4.3.100.0070.0279.64
4.3.90.0030.0279.64
4.3.80.0000.0239.64
4.3.70.0030.0339.64
4.3.60.0070.0279.64
4.3.50.0000.0209.64
4.3.40.0030.0479.64
4.3.30.0000.0379.64
4.3.20.0030.0309.64
4.3.10.0000.0179.64
4.3.00.0030.0179.64

preferences:
45.4 ms | 400 KiB | 5 Q