3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $record = array( 'energia asd' => 'NO', 'energia getg' => 'NO', 'energia 34t' => 'NO', 'energia nun' => 'NO', ); $record = array_map(function ($value) { return str_replace('\'', ' ', $value); }, $record); print_r($record);

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.0170.07320.14
5.6.160.0070.04320.59
5.6.150.0030.05718.17
5.6.140.0130.07318.18
5.6.130.0070.04018.28
5.6.120.0170.07321.11
5.6.110.0000.04721.11
5.6.100.0300.05321.08
5.6.90.0130.07320.88
5.6.80.0100.08020.53
5.5.300.0170.07317.91
5.5.290.0200.06718.05
5.5.280.0130.05320.73
5.5.270.0170.07320.75
5.5.260.0030.04320.72
5.5.250.0000.06720.70
5.5.240.0200.03320.36

preferences:
143.95 ms | 1394 KiB | 7 Q