3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(1); $foo = new StdClass(); $foo->bar = '1234';

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.15
8.3.50.0050.01121.09
8.3.40.0090.00618.61
8.3.30.0120.00620.21
8.3.20.0040.00420.39
8.3.10.0080.00020.80
8.3.00.0040.00423.34
8.2.180.0110.00716.38
8.2.170.0080.00822.96
8.2.160.0120.00820.47
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00721.11
8.2.110.0100.00022.24
8.2.100.0090.00317.78
8.2.90.0000.00819.17
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0050.00217.80
8.2.50.0040.00418.07
8.2.40.0090.00018.16
8.2.30.0040.00417.88
8.2.20.0000.00717.53
8.2.10.0070.00017.68
8.2.00.0050.00217.62
8.1.280.0120.00925.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0040.00420.69
8.1.230.0110.00020.97
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0090.00017.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0000.00818.59
8.1.160.0080.00018.74
8.1.150.0000.00818.55
8.1.140.0000.00817.35
8.1.130.0030.00317.81
8.1.120.0000.00717.31
8.1.110.0000.00817.39
8.1.100.0070.00017.28
8.1.90.0000.00717.39
8.1.80.0000.00717.38
8.1.70.0030.00317.35
8.1.60.0000.00817.52
8.1.50.0040.00417.44
8.1.40.0080.00017.43
8.1.30.0050.00217.51
8.1.20.0030.00517.61
8.1.10.0000.00917.41
8.1.00.0040.00417.33
8.0.300.0090.00018.77
8.0.290.0070.00016.75
8.0.280.0050.00318.37
8.0.270.0030.00317.11
8.0.260.0020.00516.81
8.0.250.0000.00716.95
8.0.240.0000.00716.78
8.0.230.0070.00016.77
8.0.220.0000.00816.83
8.0.210.0000.00616.79
8.0.200.0000.00616.91
8.0.190.0070.00016.90
8.0.180.0000.00716.90
8.0.170.0000.00816.88
8.0.160.0030.00316.81
8.0.150.0000.00716.80
8.0.140.0040.00816.68
8.0.130.0030.00313.15
8.0.120.0080.00016.82
8.0.110.0020.00516.73
8.0.100.0030.00316.72
8.0.90.0050.00216.94
8.0.80.0090.00616.74
8.0.70.0030.00316.74
8.0.60.0040.00416.82
8.0.50.0050.00216.79
8.0.30.0120.01017.02
8.0.20.0100.00817.40
8.0.10.0070.00016.81
8.0.00.0090.01116.71
7.4.330.0000.00516.84
7.4.320.0040.00416.36
7.4.300.0000.00616.46
7.4.290.0000.00716.50
7.4.280.0000.00716.52
7.4.270.0070.00016.51
7.4.260.0030.00313.21
7.4.250.0000.00716.45
7.4.240.0000.00716.42
7.4.230.0070.00016.54
7.4.220.0090.01016.64
7.4.210.0090.00816.48
7.4.200.0070.00016.53
7.4.190.0030.00316.59
7.4.160.0120.00416.39
7.4.150.0120.00617.40
7.4.140.0090.01217.86
7.4.130.0130.00516.38
7.4.120.0100.00816.27
7.4.110.0090.01216.41
7.4.100.0130.00916.36
7.4.90.0090.00716.25
7.4.80.0090.00619.39
7.4.70.0080.00816.46
7.4.60.0070.01016.44
7.4.50.0060.00016.18
7.4.40.0140.00422.77
7.4.30.0060.00916.40
7.4.00.0070.01014.69
7.3.330.0050.00013.11
7.3.320.0000.00513.04
7.3.310.0030.00316.24
7.3.300.0070.00016.05
7.3.290.0070.01116.19
7.3.280.0080.01116.22
7.3.270.0180.00617.40
7.3.260.0070.01118.24
7.3.250.0160.00616.36
7.3.240.0060.00916.43
7.3.230.0080.00816.54
7.3.210.0110.00716.41
7.3.200.0140.00319.39
7.3.190.0170.00316.34
7.3.180.0030.01316.55
7.3.170.0060.01016.50
7.3.160.0030.01516.36
7.3.120.0130.00314.87
7.2.330.0070.01016.59
7.2.320.0120.00916.66
7.2.310.0170.00616.43
7.2.300.0120.00616.63
7.2.290.0130.00316.72
7.1.70.0030.01016.73
7.1.60.0070.01719.17
7.1.50.0070.01416.71
7.1.00.0030.03322.27
7.0.200.0030.00316.69
7.0.140.0000.08022.05
7.0.60.0070.08720.00
7.0.50.0200.05017.91
7.0.40.0070.05320.09
7.0.30.0370.04020.33
7.0.20.0300.04320.33
7.0.10.0270.04720.09
7.0.00.0030.04720.11
5.6.280.0070.07021.12
5.6.210.0030.04020.47
5.6.200.0100.07718.20
5.6.190.0100.07720.35
5.6.180.0300.08020.56
5.6.170.0200.04720.62
5.6.160.0070.08720.45
5.6.150.0100.07718.07
5.6.140.0100.07318.18
5.6.130.0030.08018.11
5.6.120.0000.04721.09
5.6.110.0030.04320.96
5.6.100.0030.04021.07
5.6.90.0070.08320.97
5.6.80.0070.07320.40
5.6.70.0330.06720.36
5.5.350.0200.08020.48
5.5.340.0100.03317.99
5.5.330.0000.06020.40
5.5.320.0430.06020.29
5.5.310.0300.07320.22
5.5.300.0100.04317.92
5.5.290.0100.04717.92
5.5.280.0130.08320.96
5.5.270.0100.05320.86
5.5.260.0170.07720.76
5.5.250.0030.04020.68
5.5.240.0170.07020.23
5.4.450.0600.06719.39
5.4.440.0500.07019.11
5.4.430.0630.06719.41
5.4.420.0600.06319.38
5.4.410.0470.04019.33
5.4.400.0330.03719.10
5.4.390.0370.05718.90
5.4.380.0430.05019.13
5.4.370.0570.05019.09
5.4.360.0600.03719.25
5.4.350.0630.06019.04
5.4.340.0500.06718.81
5.4.320.0530.05718.92
5.4.310.0530.06319.13
5.4.300.0430.05319.08
5.4.290.0670.05319.23
5.4.280.0530.07018.80
5.4.270.0470.06719.13
5.4.260.0370.04319.06
5.4.250.0530.07019.07
5.4.240.0430.04019.08
5.4.230.0500.03319.21
5.4.220.0570.06718.84
5.4.210.0570.04019.09
5.4.200.0600.05719.21
5.4.190.0600.06019.09
5.4.180.0430.04719.14
5.4.170.0600.06019.15
5.4.160.0530.04019.11
5.4.150.0400.04718.90
5.4.140.0470.04716.16
5.4.130.0430.04316.28
5.4.120.0530.03716.26
5.4.110.0530.04016.05
5.4.100.0400.06016.39
5.4.90.0470.04716.50
5.4.80.0470.04716.19
5.4.70.0470.03316.37
5.4.60.0530.05716.40
5.4.50.0600.03716.38
5.4.40.0530.05016.39
5.4.30.0630.04016.40
5.4.20.0470.04016.46
5.4.10.0400.04716.36
5.4.00.0400.03715.83
5.3.290.0530.05714.75
5.3.280.0400.04714.52
5.3.270.0530.06314.55
5.3.260.0430.03714.69
5.3.250.0500.06014.43
5.3.240.0470.07314.69
5.3.230.0500.04314.42
5.3.220.0530.06314.45
5.3.210.0400.05014.40
5.3.200.0470.04314.50
5.3.190.0600.06014.61
5.3.180.0530.06314.61
5.3.170.0500.05314.46
5.3.160.0400.04014.43
5.3.150.0530.06314.41
5.3.140.0630.05714.41
5.3.130.0530.06714.49
5.3.120.0530.07314.42
5.3.110.0400.06714.59
5.3.100.0470.04313.97
5.3.90.0500.06714.00
5.3.80.0470.04014.06
5.3.70.0430.03714.06
5.3.60.0700.04313.88
5.3.50.0400.04313.99
5.3.40.0470.03013.89
5.3.30.0600.04713.85
5.3.20.0500.04713.49
5.3.10.0470.04313.51
5.3.00.0570.06013.48
5.2.170.0400.02711.20
5.2.160.0330.03011.16
5.2.150.0400.03710.98
5.2.140.0430.05311.16
5.2.130.0500.05011.02
5.2.120.0370.03710.96
5.2.110.0400.06011.14
5.2.100.0400.04010.96
5.2.90.0430.02710.94
5.2.80.0430.05711.01
5.2.70.0430.03711.24
5.2.60.0430.04010.89
5.2.50.0430.04310.86
5.2.40.0270.03710.83
5.2.30.0270.04010.88
5.2.20.0270.03310.77
5.2.10.0370.03310.97
5.2.00.0430.04710.68
5.1.60.0430.0439.97
5.1.50.0470.0379.88
5.1.40.0370.0509.95
5.1.30.0330.04310.25
5.1.20.0330.03310.40
5.1.10.0300.0309.93
5.1.00.0330.05010.04
5.0.50.0200.0409.04
5.0.40.0170.0209.04
5.0.30.0170.0309.04
5.0.20.0130.0239.04
5.0.10.0170.0439.04
5.0.00.0170.0439.04
4.4.90.0230.0309.04
4.4.80.0130.0209.04
4.4.70.0200.0339.04
4.4.60.0170.0379.04
4.4.50.0200.0339.04
4.4.40.0200.0339.04
4.4.30.0200.0179.04
4.4.20.0170.0279.04
4.4.10.0170.0339.04
4.4.00.0130.0339.04
4.3.110.0130.0179.04
4.3.100.0200.0139.04
4.3.90.0200.0109.04
4.3.80.0130.0339.04
4.3.70.0130.0279.04
4.3.60.0200.0239.04
4.3.50.0200.0309.04
4.3.40.0170.0379.04
4.3.30.0100.0309.04
4.3.20.0100.0379.04
4.3.10.0070.0209.04
4.3.00.0130.0279.04

preferences:
61.14 ms | 401 KiB | 5 Q