3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = function(){ yield [1,2,3] => [4,5,6]; }; foreach($a() as [$x1, $x2, $x3] => [$x4, $x5, $x6]){ var_dump($x1, $x2, $x3, $x4, $x5, $x6); }

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.1.30.0830.01032.57
7.1.20.1670.02332.52
7.1.10.1270.01714.32
7.1.00.1300.01014.54
7.0.170.1630.01014.16
7.0.160.1300.01314.07
7.0.150.1000.00714.27
7.0.140.0970.01014.36
7.0.130.1170.01314.36
7.0.120.1700.01014.36
7.0.110.0870.01714.22
7.0.100.1030.01014.25
7.0.90.1870.01014.38
7.0.80.0900.00714.22
7.0.70.1070.00314.26
7.0.60.1030.00314.14
7.0.50.1330.01314.24
7.0.40.1370.00314.48
7.0.30.1170.00714.59
7.0.20.0870.01314.38
7.0.10.0830.01014.39
7.0.00.0800.01314.39

preferences:
138.54 ms | 1405 KiB | 7 Q