3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public bool $bar; } $foo = new Foo(); $foo->bar = true; unset($foo->bar); 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.4.120.0100.00918.73
8.4.110.0140.00618.65
8.4.100.0130.00817.79
8.4.90.0100.00822.59
8.4.80.0100.01020.50
8.4.70.0050.00319.10
8.4.60.0130.00820.65
8.4.50.0090.00720.40
8.4.40.0160.00319.56
8.4.30.0060.00320.45
8.4.20.0130.00718.10
8.4.10.0030.00620.50
8.3.250.0060.00218.73
8.3.240.0020.00616.75
8.3.230.0110.00916.86
8.3.220.0110.00718.72
8.3.210.0070.00816.96
8.3.200.0040.00516.94
8.3.190.0120.00517.28
8.3.180.0090.00919.16
8.3.170.0070.01117.27
8.3.160.0030.01416.78
8.3.150.0120.00617.20
8.3.140.0000.00816.75
8.3.130.0070.00716.68
8.3.120.0090.00019.05
8.3.110.0090.00620.94
8.3.100.0060.00316.69
8.3.90.0000.00826.77
8.3.80.0030.00616.88
8.3.70.0040.01116.74
8.3.60.0150.00318.55
8.3.50.0090.00620.46
8.3.40.0030.01019.34
8.3.30.0110.00718.95
8.3.20.0050.00324.18
8.3.10.0000.00724.66
8.3.00.0050.00326.16
8.2.290.0140.00716.86
8.2.280.0090.01018.69
8.2.270.0160.00316.79
8.2.260.0040.00417.09
8.2.250.0000.00818.48
8.2.240.0110.00716.77
8.2.230.0000.00822.58
8.2.220.0060.00324.06
8.2.210.0090.00026.77
8.2.200.0090.00016.88
8.2.190.0090.01216.58
8.2.180.0040.01125.92
8.2.170.0130.00319.06
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0000.00726.16
8.2.110.0070.00322.15
8.2.100.0040.00717.78
8.2.90.0080.00017.63
8.2.80.0050.00318.57
8.2.70.0040.00417.38
8.2.60.0040.00417.61
8.2.50.0040.00417.98
8.2.40.0050.00218.03
8.2.30.0000.00817.99
8.2.20.0040.00420.43
8.2.10.0030.00517.58
8.2.00.0000.00819.09
8.1.330.0150.00520.24
8.1.320.0110.00816.09
8.1.310.0000.01416.64
8.1.300.0110.00016.07
8.1.290.0030.00630.84
8.1.280.0170.00325.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00923.79
8.1.230.0120.00019.05
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0080.00017.35
8.1.190.0050.00317.10
8.1.180.0050.00318.10
8.1.170.0030.00617.62
8.1.160.0070.00018.86
8.1.150.0040.00718.50
8.1.140.0000.00717.30
8.1.130.0030.00718.78
8.1.120.0030.00317.31
8.1.110.0030.00517.42
8.1.100.0030.00717.45
8.1.90.0030.00317.37
8.1.80.0060.00317.34
8.1.70.0030.00317.40
8.1.60.0000.00817.55
8.1.50.0000.00817.56
8.1.40.0040.00417.56
8.1.30.0170.01317.58
8.1.20.0300.00017.59
8.1.10.0300.00017.41
8.1.00.0210.00517.35
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0060.00318.40
8.0.270.0000.00716.72
8.0.260.0030.00318.38
8.0.250.0040.00416.85
8.0.240.0030.00316.99
8.0.230.0000.00817.00
8.0.220.0030.00316.94
8.0.210.0000.00716.95
8.0.200.0000.00816.88
8.0.190.0060.00316.88
8.0.180.0040.00316.91
8.0.170.0030.00916.92
8.0.160.0160.00416.71
8.0.150.0200.00316.76
8.0.140.0170.00816.62
8.0.130.0210.00316.87
8.0.120.0220.00016.76
8.0.110.0180.00416.68
8.0.100.0180.00516.74
8.0.90.0140.00716.65
8.0.80.0140.00516.73
8.0.70.0170.00316.87
8.0.60.0200.00016.90
8.0.50.0080.01216.78
8.0.30.0140.00516.73
8.0.20.0140.00716.73
8.0.10.0110.01116.96
7.4.330.0020.00215.55
7.4.320.0000.00616.42
7.4.300.0030.00316.53
7.4.290.0030.00316.56
7.4.280.0220.00416.27
7.4.270.0250.00316.51
7.4.260.0210.00516.55
7.4.250.0200.00716.57
7.4.240.0220.00016.42
7.4.230.0180.00416.47
7.4.220.0170.00416.59
7.4.210.0150.00316.53
7.4.200.0180.00316.48
7.4.190.0160.00316.55
7.4.180.0140.00516.62
7.4.160.0150.00416.59
7.4.150.0190.00316.48
7.4.140.0130.00416.44
7.4.130.0150.00416.35
7.4.120.0100.01016.41
7.4.110.0090.00916.39
7.4.100.0120.00616.59
7.4.90.0160.00316.43
7.4.80.0120.00616.40
7.4.70.0190.00016.41
7.4.60.0190.00016.31
7.4.50.0170.00216.43
7.4.40.0160.00316.32
7.4.30.0130.00516.39
7.4.20.0160.00516.40
7.4.10.0110.00816.40
7.4.00.0130.00516.33

preferences:
29.49 ms | 403 KiB | 5 Q