3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach( (function(){ yield [1, 2] => 3; })() as [$a, $b] => $c ){ var_dump($a, $b, $c); }

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.2.10.0150.00917.60
7.2.00.0120.01217.78
7.1.130.0130.00716.49
7.1.120.0140.01116.78
7.1.110.0180.01115.79
7.1.100.0150.01515.86
7.1.90.0130.00915.81
7.1.80.0090.00916.16
7.1.70.0080.01114.95
7.1.60.0250.00733.07
7.1.50.0240.00932.84
7.1.40.0210.01232.50
7.1.30.0200.01332.64
7.1.20.0190.01332.85
7.1.10.0120.01614.48
7.1.00.0700.01314.62

preferences:
152.24 ms | 1150 KiB | 7 Q