3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "google-play argos-cashback-uk currys-b2b tesco costa new-look boots-digital starbucks m-and-s-uk-cb airbnb sainsburys-cashback-uk jlp asda tk-maxx just-eat"; $array = explode("\t", $input); foreach ($array as $key => $value) { echo " {\n"; echo ' "referenceId": "'.$value.'",' . "\n"; echo ' "position": "'.$key + 1 . "\n"; echo ' {,' . "\n"; }

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)
8.4.50.0150.00320.48
8.4.40.0440.00817.32
8.4.30.0240.00517.36
8.4.20.0410.00217.25
8.4.10.0170.00717.46
8.3.190.0050.00317.05
8.3.180.0130.00618.91
8.3.170.0240.00716.36
8.3.160.0170.00516.48
8.3.150.0170.00516.45
8.3.140.0190.00216.48
8.3.130.0160.00416.28
8.3.120.0150.00416.30
8.3.110.0140.00616.51
8.3.100.0180.00316.12
8.3.90.0160.00516.47
8.3.80.0200.00316.33
8.3.70.0200.00615.97
8.3.60.0180.00516.65
8.3.50.0210.00616.00
8.3.40.0170.00217.41
8.3.30.0110.00617.28
8.3.20.0150.00417.00
8.3.10.0140.00317.23
8.3.00.0070.00417.38
8.2.280.0100.00918.13
8.2.270.0150.00316.71
8.2.260.0160.00316.38
8.2.250.0190.00316.31
8.2.240.0190.00516.06
8.2.230.0130.00516.23
8.2.220.0220.00416.04
8.2.210.0180.00416.29
8.2.200.0140.00416.62
8.2.190.0170.00416.61
8.2.180.0190.00516.33
8.2.170.0210.00517.30
8.2.160.0170.00317.49
8.2.150.0160.00417.49
8.2.140.0140.00517.40
8.2.130.0140.00617.57
8.2.120.0190.00117.46
8.2.110.0150.00517.48
8.2.100.0170.00417.12
8.2.90.0200.00317.20
8.2.80.0240.00917.22
8.2.70.0190.00817.24
8.2.60.0280.00717.49
8.2.50.0390.01017.13
8.2.40.0260.00617.25
8.2.30.0230.01017.21
8.2.20.0250.01317.30
8.2.10.0150.00617.41
8.2.00.0160.00417.52

preferences:
28.55 ms | 403 KiB | 5 Q