3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = Array ( [1] => Array ( [id] => 1 [name] => Longline T-Shirt In Fake Linen With All Over Floral Print [price] => 18.11 [quantity] => 1 [attributes] => Array ( ) [conditions] => Array ( ) ) [3] => Array ( [id] => 3 [name] => Longline T-Shirt With All Over Aztec Print [price] => 16.99 [quantity] => 1 [attributes] => Array ( ) [conditions] => Array ( ) ) [5] => Array ( [id] => 5 [name] => Yas Sleeveless Embroidered Top [price] => 45.99 [quantity] => 1 [attributes] => Array ( ) [conditions] => Array ( ) ) [4] => Array ( [id] => 4 [name] => Pretty Little Thing Floral Cover Up [price] => 25.99 [quantity] => 2 [attributes] => Array ( ) [conditions] => Array ( ) ) ); echo implode(', ', array_map(function ($entry) { return $entry['tag_name']; }, $input));

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.60.0600.01732.91
7.1.50.0800.00732.78
7.1.40.0600.01332.34
7.1.30.0630.01332.61
7.1.20.0600.01032.79
7.1.10.0430.00714.72
7.1.00.0430.00714.60
7.0.200.0470.01014.62
7.0.190.0400.01014.57
7.0.180.0530.01014.24
7.0.170.0470.00314.14
7.0.160.0470.01014.13
7.0.150.0430.01014.40
7.0.140.0370.01714.38
7.0.130.0500.01014.41
7.0.120.0400.01314.23
7.0.110.0470.01014.34
7.0.100.0730.01714.45
7.0.90.0500.01014.26
7.0.80.0430.01314.50
7.0.70.0370.01314.23
7.0.60.0370.01314.10
7.0.50.0500.00314.12
7.0.40.0600.01314.35
7.0.30.0800.01014.39
7.0.20.0470.01014.54
7.0.10.1200.01014.46
7.0.00.0470.01314.34

preferences:
145.63 ms | 1394 KiB | 7 Q