3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; $b = [&$a]; $c = $b; unset($a); // <-- $b[0] = 2; echo "$b[0] $c[0]";

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.0110.00418.05
8.3.50.0200.00016.28
8.3.40.0130.00318.81
8.3.30.0080.00818.71
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.180.0120.00925.92
8.2.170.0070.01418.75
8.2.160.0070.01022.96
8.2.150.0030.00625.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.79
8.2.110.0090.00020.47
8.2.100.0070.00319.22
8.1.280.0070.00725.92
8.1.270.0140.00724.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00420.40
8.1.230.0040.00422.05
8.0.80.0110.00716.85

preferences:
57.74 ms | 401 KiB | 5 Q