3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($imageNumber=0; $imageNumber< count($record.images) ;$imageNumber++){ $imageData = $record.images[$imageNumber]; $imageHTML = '<img src="images/portfolio/' . $path. . '/' . $imageData.url . '" alt="' . $imageData.alt + '" />'; $anchor = '<a href="images/portfolio/' . $path . '/' . $imageData.url . '" class="gallery-link" >' . $imageHTML + '</a>'; echo $anchor; } ?>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected '[' in /in/ojjPY on line 3
Process exited with code 255.