3v4l.org

run code in 300+ PHP versions simultaneously
<?php $batchIn = "1111111111111122222222222222"; $batchSplit = str_split($batchIn, 14); foreach($batchSplit as $value) { url = 'https://circ.sd00.worldcat.org/LHR?q=barcode%3A' . $value . '&inst=' . '128807' . '&principalID=' . '9999999999' . '&principalIDNS=' . 'urn:wms:dda:xyz'; echo "<br />"; echo $value; }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
Parse error: syntax error, unexpected '=' in /in/RNQSa on line 6
Process exited with code 255.

preferences:
181.42 ms | 1395 KiB | 67 Q