3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [1, 2, 3; $b = []; list ($b[], $b[], $b[]) = $a; var_dump($b);

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)
7.0.00.0100.07720.33
5.6.160.0030.05720.56
5.6.150.0070.07018.30
5.6.140.0070.08318.23
5.6.130.0070.04718.30
5.6.120.0130.08321.05
5.6.110.0100.08021.04
5.6.100.0070.08720.98
5.6.90.0200.07020.96
5.6.80.0100.08020.37
5.5.300.0200.07017.98
5.5.290.0070.03717.95
5.5.280.0100.06720.66
5.5.270.0130.07020.84
5.5.260.0070.04320.75
5.5.250.0070.07320.68
5.5.240.0170.08020.36

preferences:
140.55 ms | 1394 KiB | 7 Q