3v4l.org

run code in 300+ PHP versions simultaneously
<?php class My {} $my = new My(); xdebug_debug_zval($my); $foo = function () use ($my) { xdebug_debug_zval($my); }; $foo(); xdebug_debug_zval($my);

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.0180.00418.30
8.3.50.0100.00521.08
8.3.40.0070.01118.87
8.3.30.0040.01119.15
8.3.20.0040.00420.21
8.3.10.0000.00821.83
8.3.00.0040.00422.57
8.2.180.0070.00725.92
8.2.170.0140.00722.96
8.2.160.0000.01419.07
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.01426.16
8.2.120.0040.00419.66
8.2.110.0030.00621.96
8.2.100.0040.00718.09
8.2.90.0000.00919.09
8.2.80.0090.00317.97
8.2.70.0030.00617.63
8.2.60.0050.00317.80
8.2.50.0030.00618.07
8.2.40.0070.00018.03
8.2.30.0000.01117.86
8.2.20.0000.00717.63
8.2.10.0000.00717.72
8.2.00.0040.00417.59
8.1.270.0040.00422.02
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0030.00623.88
8.1.230.0090.00319.08
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0090.00017.35
8.1.190.0040.00417.41
8.1.180.0030.00618.75
8.1.170.0040.00418.58
8.1.160.0000.00722.12
8.1.150.0070.00018.54
8.1.140.0000.00817.29
8.1.130.0070.00017.73
8.1.120.0000.00817.30
8.1.110.0000.01017.30
8.1.100.0000.00717.27
8.1.90.0040.00417.40
8.1.80.0040.00417.38
8.1.70.0070.00017.34
8.1.60.0000.00817.54
8.1.50.0040.00417.37
8.1.40.0000.00817.39
8.1.30.0040.00417.62
8.1.20.0050.00317.54
8.1.10.0060.00317.55
8.1.00.0030.00617.57
8.0.300.0030.00318.77
8.0.290.0000.00717.05
8.0.280.0040.00418.24
8.0.270.0000.00717.15
8.0.260.0080.00016.73
8.0.250.0030.00316.85
8.0.240.0000.00816.97
8.0.230.0070.00016.92
8.0.220.0040.00416.79
8.0.210.0070.00016.92
8.0.200.0000.00716.94
8.0.190.0040.00416.88
8.0.180.0040.00316.90
8.0.170.0040.00416.83
8.0.160.0030.00516.83
8.0.150.0070.00016.72
8.0.140.0040.00416.84
8.0.130.0040.00413.30
8.0.120.0040.00416.84
8.0.110.0000.00716.81
8.0.100.0070.00016.94
8.0.90.0000.00716.73
8.0.80.0130.00316.79
8.0.70.0050.00216.91
8.0.60.0040.00416.86
8.0.50.0000.00716.70
8.0.30.0150.00316.94
8.0.20.0080.01117.40
8.0.10.0000.00716.88
8.0.00.0110.00616.71
7.4.330.0030.00315.00
7.4.320.0000.00616.56
7.4.300.0000.00616.50
7.4.290.0030.00316.48
7.4.280.0030.00316.54
7.4.270.0030.00316.43
7.4.260.0030.00316.61
7.4.250.0040.00416.51
7.4.240.0040.00416.60
7.4.230.0040.00416.38
7.4.220.0070.01516.61
7.4.210.0070.01016.61
7.4.200.0000.00716.66
7.4.190.0000.00716.63
7.4.160.0000.02216.23
7.4.150.0180.00617.40
7.4.140.0100.00817.86
7.4.130.0050.01116.50
7.4.120.0100.00916.57
7.4.110.0100.00616.64
7.4.100.0100.00616.43
7.4.90.0070.01016.39
7.4.80.0100.00519.39
7.4.70.0120.00616.52
7.4.60.0060.01016.53
7.4.50.0000.00816.60
7.4.40.0060.00622.77
7.4.30.0030.01316.57
7.4.00.0000.01514.69
7.3.330.0030.00313.36
7.3.320.0000.00613.24
7.3.310.0030.00316.34
7.3.300.0040.00416.16
7.3.290.0080.01416.23
7.3.280.0060.01016.28
7.3.270.0100.00617.40
7.3.260.0030.01316.37
7.3.250.0050.01416.39
7.3.240.0130.00416.32
7.3.230.0070.01516.39
7.3.210.0100.00616.34
7.3.200.0090.01219.39
7.3.190.0110.01116.34
7.3.180.0100.00616.52
7.3.170.0120.00416.43
7.3.160.0130.00316.31
7.3.120.0100.00614.98
7.3.10.0080.00916.23
7.3.00.0040.01316.31
7.2.330.0160.00316.25
7.2.320.0120.00616.67
7.2.310.0060.01116.55
7.2.300.0060.01016.77
7.2.290.0110.00516.55
7.2.130.0090.00916.56
7.2.120.0090.01316.46
7.2.110.0040.01216.58
7.2.100.0110.01016.66
7.2.90.0080.00816.70
7.2.80.0050.00816.56
7.2.70.0090.00916.38
7.2.60.0090.00616.52
7.2.50.0110.00716.63
7.2.40.0080.00516.61
7.2.30.0110.00516.58
7.2.20.0050.01316.59
7.2.10.0090.00916.51
7.2.00.0060.00817.49
7.1.250.0040.01015.28
7.1.200.0060.00615.68
7.1.100.0050.00517.93
7.1.70.0110.00417.05
7.1.60.0230.00019.82
7.1.50.0140.01116.78
7.1.00.0000.03722.57
7.0.200.0070.00316.75
7.0.140.0030.07322.10
7.0.70.4400.03720.12
7.0.60.0100.06319.91
7.0.50.0100.08017.95
7.0.40.0000.04720.18
7.0.30.0030.05020.10
7.0.20.0400.03720.25
7.0.10.0270.08020.15
7.0.00.0030.08720.14
5.6.280.0000.07720.91
5.6.210.0070.07320.69
5.6.200.0030.05318.29
5.6.190.0030.05320.64
5.6.180.0370.07020.46
5.6.170.0400.04720.39
5.6.160.0100.04020.43
5.6.150.0070.04718.19
5.6.140.0030.08318.12
5.6.130.0070.08318.28
5.6.120.0030.04320.89
5.6.110.0100.08320.96
5.6.100.0030.07720.99
5.6.90.0100.08321.11
5.6.80.0200.07020.41
5.6.70.0030.07020.35
5.5.350.0070.07020.39
5.5.340.0100.08018.02
5.5.330.0030.04020.43
5.5.320.0030.08320.36
5.5.310.0270.04020.27
5.5.300.0070.04317.98
5.5.290.0070.08717.94
5.5.280.0030.04720.77
5.5.270.0130.07720.80
5.5.260.0130.07720.89
5.5.250.0100.07720.50
5.5.240.0070.04720.26
5.4.450.0730.06019.39
5.4.440.0570.05319.38
5.4.430.1000.05019.16
5.4.420.0800.05719.58
5.4.410.0030.05719.35
5.4.400.1000.05318.98
5.4.390.1000.04718.86
5.4.380.0100.06318.76
5.4.370.0300.05318.69
5.4.360.0170.04318.55
5.4.350.0080.05612.02
5.4.340.0070.04112.02
5.4.320.0070.03512.51
5.4.310.0070.03612.50
5.4.300.0110.04612.50
5.4.290.0060.04112.50
5.4.280.0070.03812.39
5.4.270.0050.03612.39
5.4.260.0050.04712.40
5.4.250.0070.05718.98
5.4.240.0100.05318.98
5.4.230.0170.05318.83
5.4.220.0130.04718.65
5.4.210.0170.04318.74
5.4.200.0130.07319.02
5.4.190.0070.08018.95
5.4.180.0170.06318.76
5.4.170.0130.06018.77
5.4.160.0030.05718.95
5.4.150.0000.06018.93
5.4.140.0070.05016.60
5.4.130.0270.03316.54
5.4.120.0130.04316.59
5.4.110.0130.04316.39
5.4.100.0130.04716.65
5.4.90.0130.04316.33
5.4.80.0170.06016.63
5.4.70.0100.04716.39
5.4.60.0070.05316.64
5.4.50.0200.06716.30
5.4.40.0030.06016.50
5.4.30.0100.05016.49
5.4.20.0170.04316.46
5.4.10.0070.05716.49
5.4.00.0170.04715.97
5.3.290.0070.04112.80
5.3.280.0130.04714.80
5.3.270.0000.06014.69
5.3.260.0070.05314.46
5.3.250.0200.06314.62
5.3.240.0030.05714.78
5.3.230.0200.04314.68
5.3.220.0070.05014.64
5.3.210.0070.05714.47
5.3.200.0100.04714.39
5.3.190.0030.06014.46
5.3.180.0130.05014.53
5.3.170.0030.06014.70
5.3.160.0130.06714.78
5.3.150.0030.06014.58
5.3.140.0070.07314.68
5.3.130.0100.08014.63
5.3.120.0100.05014.72
5.3.110.0070.05314.53
5.3.100.0030.05314.03
5.3.90.0070.07014.09
5.3.80.0070.05313.86
5.3.70.0170.04014.23
5.3.60.0100.05314.00
5.3.50.0070.05013.93
5.3.40.0100.06314.01
5.3.30.0130.04313.98
5.3.20.0130.05013.77
5.3.10.0100.06713.66
5.3.00.0070.06713.86
5.2.170.0030.04310.97
5.2.160.0100.03311.11
5.2.150.0000.05711.32
5.2.140.0130.05011.22
5.2.130.0130.04011.18
5.2.120.0070.03710.93
5.2.110.0030.05311.08
5.2.100.0130.04711.27
5.2.90.0000.04311.05
5.2.80.0030.04711.17
5.2.70.0000.05011.05
5.2.60.0070.03711.21
5.2.50.0070.04310.98
5.2.40.0030.04310.82
5.2.30.0100.03311.04
5.2.20.0030.04011.02
5.2.10.0070.03710.84
5.2.00.0070.03710.68
5.1.60.0030.0339.91
5.1.50.0000.04710.00
5.1.40.0070.03710.04
5.1.30.0000.03710.23
5.1.20.0070.03310.43
5.1.10.0030.05010.14
5.1.00.0030.03710.16
5.0.50.0000.0308.78
5.0.40.0000.0308.25
5.0.30.0030.0408.18
5.0.20.0000.0338.42
5.0.10.0030.0278.41
5.0.00.0000.0478.26
4.4.90.0030.0207.50
4.4.80.0030.0207.50
4.4.70.0030.0207.50
4.4.60.0030.0207.50
4.4.50.0030.0207.50
4.4.40.0000.0377.50
4.4.30.0030.0307.50
4.4.20.0000.0277.50
4.4.10.0030.0237.50
4.4.00.0000.0377.50
4.3.110.0070.0177.50
4.3.100.0000.0237.50
4.3.90.0000.0207.50
4.3.80.0030.0437.50
4.3.70.0030.0307.50
4.3.60.0030.0277.50
4.3.50.0030.0207.50
4.3.40.0030.0337.50
4.3.30.0000.0237.50
4.3.20.0000.0337.50
4.3.10.0070.0237.50
4.3.00.0000.0237.59

preferences:
59.48 ms | 400 KiB | 5 Q