3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = (object) []; $foo->bar = null; $baz = &$foo->bar; $baz = 'qux'; var_dump($foo->bar);

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.0060.00916.50
8.3.50.0130.00522.04
8.3.40.0140.00318.79
8.3.30.0130.00319.09
8.3.20.0040.00420.16
8.3.10.0000.00721.73
8.3.00.0040.00419.26
8.2.180.0100.01016.38
8.2.170.0090.00922.96
8.2.160.0140.00322.01
8.2.150.0000.00824.18
8.2.140.0030.00624.66
8.2.130.0050.00226.16
8.2.120.0040.00421.12
8.2.110.0030.00520.57
8.2.100.0000.01217.59
8.2.90.0030.00517.93
8.2.80.0040.00417.97
8.2.70.0080.00017.74
8.2.60.0040.00417.80
8.2.50.0040.00418.10
8.2.40.0000.00820.49
8.2.30.0000.00918.06
8.2.20.0080.00017.66
8.2.10.0040.00417.95
8.2.00.0030.00517.80
8.1.280.0120.00925.92
8.1.270.0110.00618.68
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.79
8.1.230.0040.00719.02
8.1.220.0040.00417.79
8.1.210.0090.00018.77
8.1.200.0050.01017.23
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0040.00418.61
8.1.160.0000.00722.00
8.1.150.0080.00018.82
8.1.140.0000.00817.30
8.1.130.0030.00317.70
8.1.120.0070.00017.23
8.1.110.0000.00717.34
8.1.100.0040.00317.39
8.1.90.0040.00417.40
8.1.80.0030.00317.40
8.1.70.0000.00717.37
8.1.60.0040.00417.40
8.1.50.0080.00017.44
8.1.40.0050.00317.41
8.1.30.0000.00817.56
8.1.20.0040.00417.51
8.1.10.0050.00217.43
8.1.00.0000.00717.39
8.0.300.0030.00719.77
8.0.290.0070.00016.63
8.0.280.0070.00018.38
8.0.270.0040.00417.18
8.0.260.0000.00617.18
8.0.250.0000.00716.93
8.0.240.0000.00716.88
8.0.230.0000.00716.96
8.0.220.0070.00016.92
8.0.210.0050.00316.91
8.0.200.0030.00316.98
8.0.190.0030.00416.95
8.0.180.0000.00716.84
8.0.170.0080.00016.93
8.0.160.0040.00416.82
8.0.150.0030.00316.90
8.0.140.0040.00416.77
8.0.130.0070.00013.27
8.0.120.0030.00516.83
8.0.110.0080.00016.88
8.0.100.0000.00716.75
8.0.90.0000.00716.88
8.0.80.0060.00916.91
8.0.70.0070.00016.95
8.0.60.0030.00516.95
8.0.50.0000.00716.99
8.0.30.0130.00817.02
8.0.20.0100.01017.40
8.0.10.0030.00617.07
8.0.00.0090.00916.81
7.4.330.0000.00515.03
7.4.320.0060.00016.43
7.4.300.0050.00316.34
7.4.290.0000.00616.39
7.4.280.0070.00016.38
7.4.270.0070.00016.51
7.4.260.0060.00316.50
7.4.250.0070.00016.43
7.4.240.0000.00716.36
7.4.230.0040.00416.54
7.4.220.0090.01216.48
7.4.210.0100.00616.46
7.4.200.0000.00716.28
7.4.160.0110.00516.33
7.4.150.0090.00917.40
7.4.140.0120.00917.86
7.4.130.0020.01516.36
7.4.120.0060.01116.40
7.4.110.0060.01216.45
7.4.100.0070.01016.43
7.4.90.0130.00316.42
7.4.80.0030.01419.39
7.4.70.0040.01416.34
7.4.60.0070.01016.67
7.4.50.0040.00416.37
7.4.40.0150.00316.52
7.4.30.0130.00716.33
7.4.00.0030.01214.75
7.3.330.0030.00313.00
7.3.320.0130.00013.09
7.3.310.0000.00816.18
7.3.300.0000.00616.36
7.3.290.0070.00016.28
7.3.280.0040.01216.26
7.3.270.0070.01317.40
7.3.260.0100.00716.52
7.3.250.0080.01216.32
7.3.240.0070.01016.40
7.3.230.0150.00416.39
7.3.210.0040.01216.20
7.3.200.0090.00619.39
7.3.190.0170.00016.52
7.3.180.0160.00016.41
7.3.170.0130.01016.53
7.3.160.0150.00316.26
7.2.330.0070.01716.39
7.2.320.0060.01216.78
7.2.310.0070.01016.69
7.2.300.0070.01516.32
7.2.290.0000.01716.57
7.2.00.0030.01019.24
7.1.100.0050.00518.02
7.1.70.0080.00017.03
7.1.60.0100.01419.46
7.1.50.0120.00917.12
7.1.00.0130.06722.48
7.0.200.0040.00416.68
7.0.140.0030.03322.00
7.0.60.0000.05019.88
7.0.50.0030.04017.90
7.0.40.0070.04020.07
7.0.30.0330.04720.18
7.0.20.0300.08020.14
7.0.10.0100.08320.19
7.0.00.0070.08320.09
5.6.280.0000.07321.02
5.6.210.0100.05320.51
5.6.200.0000.04718.22
5.6.190.0030.04320.43
5.6.180.0070.08020.29
5.6.170.0300.04320.64
5.6.160.0070.05020.52
5.6.150.0030.04018.15
5.6.140.0100.05018.07
5.6.130.0070.08018.18
5.6.120.0000.04320.89
5.6.110.0070.06020.95
5.6.100.0030.04320.97
5.6.90.0170.07320.92
5.6.80.0030.08720.51
5.5.350.2300.02720.34
5.5.340.0030.06017.91
5.5.330.0100.06320.25
5.5.320.0370.06720.27
5.5.310.0300.07020.50
5.5.300.0030.04017.95
5.5.290.0070.05017.98
5.5.280.0070.05020.77
5.5.270.0030.08720.86
5.5.260.0030.07720.88
5.5.250.0100.04020.79
5.5.240.0130.06320.35
5.4.450.0630.06319.32
5.4.440.0870.05319.58
5.4.430.1030.05319.59
5.4.420.0770.04319.63
5.4.410.0930.07019.51
5.4.400.0200.05318.78
5.4.390.0130.06018.50
5.4.380.0130.05718.59
5.4.370.0130.05718.49
5.4.360.0230.04718.59
5.4.350.0130.05718.74
5.4.340.0100.06018.72
5.4.320.0070.06318.64
5.4.310.0230.04318.52
5.4.300.0170.05018.68
5.4.290.0100.05318.46
5.4.280.0170.05318.71
5.4.270.0200.05318.52
5.4.260.0270.04018.54
5.4.250.0130.06018.62
5.4.240.0070.06318.49
5.4.230.0270.05318.67
5.4.220.0170.05718.63
5.4.210.0100.05718.78
5.4.200.0170.04716.73
5.4.190.0230.05018.57
5.4.180.0270.04318.48
5.4.170.0170.05018.48
5.4.160.0300.03718.42
5.4.150.0130.05318.63
5.4.140.0200.04716.25
5.4.130.0100.05716.35
5.4.120.0100.05316.32
5.4.110.0200.04316.07
5.4.100.0170.05316.22
5.4.90.0130.05316.15
5.4.80.0230.04716.17
5.4.70.0130.05316.23
5.4.60.0170.05016.12
5.4.50.0130.05016.10
5.4.40.0100.05716.10
5.4.30.0200.04316.13
5.4.20.0170.05716.13
5.4.10.0170.04716.19
5.4.00.0230.04015.54
5.3.290.0200.05014.77
5.3.280.0130.06314.55
5.3.270.0130.06014.55
5.3.260.0270.05014.63
5.3.250.0270.04014.52
5.3.240.0230.04314.69
5.3.230.0270.04714.59
5.3.220.0170.05314.55
5.3.210.0230.04714.66
5.3.200.0100.06014.57
5.3.190.0130.05714.55
5.3.180.0230.04314.54
5.3.170.0200.04314.50
5.3.160.0270.03714.65
5.3.150.0170.05014.64
5.3.140.0230.04314.46
5.3.130.0170.05014.54
5.3.120.0130.05714.49
5.3.110.0130.05314.44
5.3.100.0130.05014.14
5.3.90.0170.04713.93
5.3.80.0270.06014.03
5.3.70.0200.04713.99
5.3.60.0170.07014.08
5.3.50.0170.05313.86
5.3.40.0230.06313.95
5.3.30.0270.03713.88
5.3.20.0270.04013.58
5.3.10.0130.05013.76
5.3.00.0130.05013.71
5.2.170.0070.05011.31
5.2.160.0100.04311.18
5.2.150.0130.04011.18
5.2.140.0130.04311.17
5.2.130.0170.03711.03
5.2.120.0200.03311.11
5.2.110.0000.05311.14
5.2.100.0170.03711.15
5.2.90.0170.03311.04
5.2.80.0170.03711.02
5.2.70.0100.04711.13
5.2.60.0100.04311.02
5.2.50.0100.04311.09
5.2.40.0100.04011.03
5.2.30.0130.03710.93
5.2.20.0100.04011.08
5.2.10.0100.04010.92
5.2.00.0130.03710.83
5.1.60.0070.03710.11
5.1.50.0130.03010.05
5.1.40.0130.0309.95
5.1.30.0200.03310.39
5.1.20.0030.04710.49
5.1.10.0100.03710.20
5.1.00.0170.02710.14
5.0.50.0070.0278.55
5.0.40.0100.0238.53
5.0.30.0100.0408.20
5.0.20.0030.0308.21
5.0.10.0070.0278.34
5.0.00.0130.0378.17
4.4.90.0030.0235.83
4.4.80.0030.0235.88
4.4.70.0070.0205.86
4.4.60.0030.0275.89
4.4.50.0070.0205.91
4.4.40.0030.0375.91
4.4.30.0000.0275.90
4.4.20.0030.0235.95
4.4.10.0030.0236.01
4.4.00.0100.0305.96
4.3.110.0030.0235.88
4.3.100.0070.0175.83
4.3.90.0000.0235.79
4.3.80.0000.0375.79
4.3.70.0070.0205.78
4.3.60.0000.0275.78
4.3.50.0070.0205.81
4.3.40.0100.0275.75
4.3.30.0030.0234.55
4.3.20.0000.0234.62
4.3.10.0030.0204.48
4.3.00.0130.0236.92

preferences:
45.42 ms | 401 KiB | 5 Q