3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { public $foo; } $message = "boom"; $f = new Foo(); $f->foo = &$f; $f2 = clone $f; $f->foo = "chakalaka"; echo $f2->foo;

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.5.70.0130.00116.58
8.5.60.0110.00716.74
8.5.50.0110.00616.61
8.5.30.0110.00617.86
8.5.20.0110.00819.95
8.5.10.0110.00716.57
8.5.00.0100.01019.58
8.4.220.0150.00719.54
8.4.210.0080.00419.59
8.4.180.0120.01121.97
8.4.170.0120.01123.94
8.4.160.0160.00623.70
8.4.150.0070.00516.89
8.4.140.0090.01217.52
8.4.130.0140.00617.53
8.4.120.0120.00820.54
8.4.110.0130.00818.60
8.4.100.0120.01017.65
8.4.90.0130.00817.60
8.4.80.0040.00517.85
8.4.70.0090.00617.99
8.4.60.0380.00817.56
8.4.50.0330.00817.70
8.4.40.0340.00617.41
8.4.30.0420.00517.21
8.4.20.0400.00917.54
8.4.10.0390.01117.27
8.3.310.0110.00818.41
8.3.300.0110.00919.17
8.3.290.0080.01320.66
8.3.280.0120.00818.32
8.3.270.0150.00516.27
8.3.260.0090.00716.43
8.3.250.0120.00718.93
8.3.240.0090.01016.72
8.3.230.0130.00616.41
8.3.220.0130.00316.52
8.3.210.0120.00716.48
8.3.200.0310.01116.64
8.3.190.0340.00516.72
8.3.180.0340.00716.49
8.3.170.0340.01116.62
8.3.160.0420.00816.39
8.3.150.0380.01116.35
8.3.140.0370.01016.43
8.3.130.0330.00916.38
8.3.120.0330.00816.41
8.3.110.0330.00916.45
8.3.100.0400.00716.53
8.3.90.0390.01016.27
8.3.80.0330.01116.41
8.3.70.0380.00916.66
8.3.60.0410.00716.41
8.3.50.0430.00416.34
8.3.40.0340.01317.63
8.3.30.0310.00717.47
8.3.20.0360.01017.44
8.3.10.0350.00617.40
8.3.00.0330.00917.52
8.2.310.0140.00519.86
8.2.300.0140.00818.88
8.2.290.0090.01018.79
8.2.280.0320.00716.43
8.2.270.0290.01016.55
8.2.260.0340.00616.28
8.2.250.0290.01016.21
8.2.240.0290.01016.36
8.2.230.0320.00816.66
8.2.220.0320.00816.68
8.2.210.0280.01116.47
8.2.200.0340.01116.29
8.2.190.0210.00416.45
8.2.180.0140.00416.60
8.2.170.0170.00417.40
8.2.160.0150.00517.70
8.2.150.0140.00517.49
8.2.140.0170.00317.46
8.2.130.0120.00717.44
8.2.120.0150.00317.51
8.2.110.0170.00217.59
8.2.100.0150.00317.73
8.2.90.0140.00417.46
8.2.80.0150.00317.61
8.2.70.0160.00617.61
8.2.60.0160.00617.35
8.2.50.0150.00317.39
8.2.40.0130.00417.63
8.2.30.0130.00617.53
8.2.20.0270.00517.41
8.2.10.0220.01017.43
8.2.00.0310.00517.60
8.1.340.0070.01219.72
5.2.00.0100.00716.20

preferences:
35.7 ms | 865 KiB | 5 Q