3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function something() { print_r(debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT)); } } 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.0100.00718.41
8.3.50.0110.01021.96
8.3.40.0060.00918.59
8.3.30.0080.00618.91
8.3.20.0040.00420.21
8.3.10.0030.00620.26
8.3.00.0060.00319.05
8.2.180.0140.00016.63
8.2.170.0040.01122.96
8.2.160.0070.00719.26
8.2.150.0030.00624.18
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0040.00422.05
8.2.110.0030.00620.52
8.2.100.0030.01017.78
8.2.90.0000.00819.23
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0000.00817.91
8.2.50.0030.00618.07
8.2.40.0000.00818.22
8.2.30.0040.00419.41
8.2.20.0040.00417.68
8.2.10.0000.00817.88
8.2.00.0000.00717.51
8.1.280.0120.00325.92
8.1.270.0090.00021.94
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00023.73
8.1.230.0070.00322.09
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0090.00317.23
8.1.190.0090.00017.22
8.1.180.0080.00018.10
8.1.170.0080.00018.48
8.1.160.0040.00421.99
8.1.150.0000.00718.81
8.1.140.0050.00217.39
8.1.130.0000.00717.80
8.1.120.0000.00717.29
8.1.110.0040.00417.36
8.1.100.0030.00317.40
8.1.90.0050.00317.38
8.1.80.0040.00417.35
8.1.70.0040.00417.34
8.1.60.0000.00817.61
8.1.50.0040.00417.40
8.1.40.0050.00217.39
8.1.30.0050.00317.67
8.1.20.0040.00417.59
8.1.10.0040.00417.47
8.1.00.0040.00417.48
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0030.00318.29
8.0.270.0000.00717.16
8.0.260.0000.00817.19
8.0.250.0030.00316.77
8.0.240.0000.00616.89
8.0.230.0070.00016.85
8.0.220.0030.00316.84
8.0.210.0070.00016.71
8.0.200.0070.00016.92
8.0.190.0080.00016.76
8.0.180.0040.00416.83
8.0.170.0000.00816.74
8.0.160.0040.00416.75
8.0.150.0000.00716.78
8.0.140.0080.00016.79
8.0.130.0000.00513.21
8.0.120.0030.00616.84
8.0.110.0040.00416.79
8.0.100.0040.00416.84
8.0.90.0050.00316.59
8.0.80.0040.01116.81
8.0.70.0040.00416.93
8.0.60.0080.00016.70
8.0.50.0030.00316.69
8.0.30.0100.00917.10
8.0.20.0180.00517.40
8.0.10.0030.00516.77
8.0.00.0050.01216.66
7.4.330.0000.00615.00
7.4.320.0030.00316.36
7.4.300.0000.00616.55
7.4.290.0040.00416.50
7.4.280.0020.00516.38
7.4.270.0030.00316.59
7.4.260.0000.00616.41
7.4.250.0040.00416.53
7.4.240.0020.00616.54
7.4.230.0000.00716.38
7.4.220.0040.01416.57
7.4.210.0080.00816.46
7.4.200.0030.00316.57
7.4.160.0060.01016.21
7.4.150.0070.01117.40
7.4.140.0110.00517.86
7.4.130.0110.00616.34
7.4.120.0110.00616.50
7.4.110.0070.02116.39
7.4.100.0110.00716.31
7.4.90.0090.00916.41
7.4.80.0080.00816.51
7.4.70.0140.00316.39
7.4.60.0090.00616.49
7.4.50.0000.00816.34
7.4.40.0080.01316.54
7.4.30.0060.01016.52
7.4.00.0090.00615.10
7.3.330.0080.00013.09
7.3.320.0030.00313.10
7.3.310.0030.00316.26
7.3.300.0030.00316.11
7.3.290.0070.01316.21
7.3.280.0050.00916.18
7.3.270.0000.01817.40
7.3.260.0060.01216.23
7.3.250.0050.01216.31
7.3.240.0120.00316.53
7.3.230.0100.00716.39
7.3.210.0100.01016.16
7.3.200.0090.00919.39
7.3.190.0110.01116.30
7.3.180.0030.01716.30
7.3.170.0100.00716.46
7.3.160.0080.00816.29
7.3.120.0090.00914.74
7.3.110.0100.01014.49
7.3.100.0030.01014.97
7.3.90.0120.00614.68
7.3.80.0060.00314.54
7.3.70.0120.00614.65
7.3.60.0000.01114.63
7.3.50.0030.01314.81
7.3.40.0030.01314.34
7.3.30.0040.01414.42
7.3.20.0060.00316.63
7.3.10.0110.00416.46
7.3.00.0110.00616.30
7.2.330.0090.00916.64
7.2.320.0100.00616.52
7.2.310.0100.00716.38
7.2.300.0110.00816.67
7.2.290.0070.01116.57
7.2.250.0060.01215.01
7.2.240.0150.00614.84
7.2.230.0040.01414.90
7.2.220.0090.00614.82
7.2.210.0100.00314.68
7.2.200.0060.01214.86
7.2.190.0120.00415.03
7.2.180.0070.01014.99
7.2.170.0060.00915.02
7.2.130.0100.00716.68
7.2.120.0040.00716.89
7.2.110.0040.01116.58
7.2.100.0040.01116.73
7.2.90.0030.01216.64
7.2.80.0030.00916.68
7.2.70.0060.00916.59
7.2.60.0080.00616.89
7.2.50.0070.00416.68
7.2.40.0060.00916.70
7.2.30.0070.01016.91
7.2.20.0070.00416.98
7.2.10.0090.00616.88
7.2.00.0040.01217.97
7.1.330.0060.00615.63
7.1.320.0090.00915.82
7.1.310.0060.01215.96
7.1.300.0070.00315.57
7.1.290.0060.00915.70
7.1.280.0040.01415.68
7.1.270.0040.00815.65
7.1.260.0130.00015.63
7.1.250.0100.00315.73
7.1.200.0060.00615.40
7.1.100.0080.00317.94
7.1.70.0040.00416.95
7.1.60.0070.01719.32
7.1.50.0080.00816.88
7.1.00.0000.08022.48
7.0.200.0040.00416.66
7.0.140.0070.07022.07
7.0.60.0030.04019.93
7.0.50.0070.08317.78
7.0.40.0070.07719.96
7.0.30.0300.05020.24
7.0.20.0170.04720.16
7.0.10.0070.04020.21
7.0.00.0100.08020.17
5.6.280.0130.06320.90
5.6.210.0130.07320.73
5.6.200.0070.04318.25
5.6.190.0100.08320.55
5.6.180.0430.05320.64
5.6.170.0430.07020.47
5.6.160.0170.07020.51
5.6.150.0100.04318.23
5.6.140.0070.03718.18
5.6.130.0070.07718.18
5.6.120.0030.04320.79
5.6.110.0100.08020.97
5.6.100.0000.05021.03
5.6.90.0100.03721.00
5.6.80.0030.04020.38
5.5.350.0170.04320.33
5.5.340.0100.08017.98
5.5.330.0170.07320.38
5.5.320.0330.05320.42
5.5.310.0330.07320.30
5.5.300.0030.04317.95
5.5.290.0070.07718.06
5.5.280.0100.05720.80
5.5.270.0100.07320.84
5.5.260.0070.08720.84
5.5.250.0030.09020.55
5.5.240.0170.07020.36
5.4.450.0230.04019.27
5.4.440.0170.04319.20
5.4.430.0100.04319.48
5.4.420.0230.03319.52
5.4.410.0200.03319.05
5.4.400.0200.04019.32
5.4.390.0100.04319.09
5.4.380.0170.03719.15
5.4.370.0200.03319.31
5.4.360.0200.03318.86
5.4.350.0230.04018.98
5.4.340.0230.06319.06
5.4.320.0300.07019.31
5.4.310.0330.06019.24
5.4.300.0500.05318.85
5.4.290.0230.05718.98
5.4.280.0270.04319.25
5.4.270.0230.04018.85
5.4.260.0270.04018.87
5.4.250.0230.05319.14
5.4.240.0270.03319.13
5.4.230.0230.04719.07
5.4.220.0270.08019.30
5.4.210.0270.07318.84
5.4.200.0370.06318.84
5.4.190.0370.04318.93
5.4.180.0400.06319.21
5.4.170.0430.06019.21
5.4.160.0300.05319.20
5.4.150.0230.06019.04
5.4.140.0330.06016.52
5.4.130.0370.06716.54
5.4.120.0200.04716.36
5.4.110.0300.05016.32
5.4.100.0230.04016.58
5.4.90.0330.06316.50
5.4.80.0300.07016.41
5.4.70.0300.06016.42
5.4.60.0300.06716.54
5.4.50.0230.06716.49
5.4.40.0300.05316.23
5.4.30.0300.06716.40
5.4.20.0270.05316.37
5.4.10.0270.05316.50
5.4.00.0300.05715.96
5.3.290.0370.05714.82
5.3.280.0300.07314.52
5.3.270.0270.06714.51
5.3.260.0270.06714.83
5.3.250.0330.07014.72
5.3.240.0270.07714.83
5.3.230.0270.06014.50
5.3.220.0270.03714.47
5.3.210.0330.07014.68
5.3.200.0300.07714.52
5.3.190.0330.06014.69
5.3.180.0370.07014.55
5.3.170.0270.06714.58
5.3.160.0330.03314.61
5.3.150.0400.06014.59
5.3.140.0230.06014.61
5.3.130.0330.07014.55
5.3.120.0300.05714.43
5.3.110.0470.05714.54
5.3.100.0370.06314.26
5.3.90.0270.04713.93
5.3.80.0300.06014.25
5.3.70.0270.06714.24
5.3.60.0330.07014.06
5.3.50.0330.05713.85
5.3.40.0230.04313.86
5.3.30.0330.06313.82
5.3.20.0270.05013.71
5.3.10.0300.06313.59
5.3.00.0230.06313.55
5.2.170.0230.05711.77
5.2.160.0200.04011.77
5.2.150.0270.05711.77
5.2.140.0270.05711.77
5.2.130.0230.03711.77
5.2.120.0200.04711.77
5.2.110.0230.04011.77
5.2.100.0230.05311.77
5.2.90.0230.04711.77
5.2.80.0200.06311.77
5.2.70.0430.03711.77
5.2.60.0270.05011.77
5.2.50.0270.05711.77
5.2.40.0230.04011.77
5.2.30.0200.06011.77
5.2.20.0170.06011.77
5.2.10.0170.05311.77
5.2.00.0270.05311.77
5.1.60.0170.03311.77
5.1.50.0200.05311.77
5.1.40.0170.05011.77
5.1.30.0200.05711.77
5.1.20.0200.05011.77
5.1.10.0170.03311.77
5.1.00.0170.04011.77
5.0.50.0070.05011.77
5.0.40.0170.03711.77
5.0.30.0100.06311.77
5.0.20.0130.03311.77
5.0.10.0130.04011.77
5.0.00.0070.06311.77
4.4.90.0170.03011.77
4.4.80.0100.03711.77
4.4.70.0170.03011.77
4.4.60.0100.03011.77
4.4.50.0070.03711.77
4.4.40.0170.04311.77
4.4.30.0100.03311.77
4.4.20.0130.02711.77
4.4.10.0130.02011.77
4.4.00.0070.03711.77
4.3.110.0100.03011.77
4.3.100.0100.03011.77
4.3.90.0130.02311.77
4.3.80.0070.05311.77
4.3.70.0100.03311.77
4.3.60.0070.03711.77
4.3.50.0130.03011.77
4.3.40.0100.04711.77
4.3.30.0030.03711.77
4.3.20.0070.02311.77
4.3.10.0070.01711.77
4.3.00.0000.02311.77

preferences:
48.7 ms | 401 KiB | 5 Q