3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $images = array( '<img src="http://www.espritjeu.com/upload/image/tournay-image-48061-petite.jpg" alt="" width="100" height="140" />', '<img src="http://www.espritjeu.com/upload/image/les-princes-de-catane-image-49365-petite.jpg" alt="" width="121" height="140" />', '<img src="http://www.espritjeu.com/upload/image/les-cites-perdues-p-image-45792-petite.jpg" alt="" width="130" height="140" />', '<img src="http://www.espritjeu.com/upload/image/le-desert-interdit-p-image-50609-petite.jpg" alt="" width="140" height="139" />', '<img src="http://www.espritjeu.com/upload/image/pax-image-50443-petite.jpg" alt="" width="140" height="107" />', '<img src="http://www.espritjeu.com/upload/image/-p-image-52221-petite.jpg" alt="" width="140" height="119" />',`` '<img src="http://www.espritjeu.com/upload/image/innovation-p-image-48370-petite.jpg" alt="" width="94" height="140" />', '<img src="http://www.espritjeu.com/upload/image/katana-image-50279-petite.jpg" alt="" width="102" height="140" />', '<img src="http://www.espritjeu.com/upload/image/citadelles-image-45709-petite.jpg" alt="" width="110" height="140" />', '<img src="http://www.espritjeu.com/upload/image/bohnanza-p-image-45676-petite.jpg" alt="" width="108" height="140" />', '<img src="http://www.espritjeu.com/upload/image/la-gloire-de-rome-image-47878-petite.jpg" alt="" width="131" height="140" />', '<img src="http://www.dragonlaonnois.com/Asmodee/Images/Elixir_boite.jpg" alt="" width="167" height="140" />', '<img src="http://www.espritjeu.com/upload/image/camelot-p-image-45740-petite.jpg" alt="" width="93" height="140" />', '<img src="http://balears-banesto.ocnk.net/data/balears-banesto/product/20130122_604af0.jpg" alt="" width="116" height="140" />', '<img src="http://www.ludigaume.be/Jeux/N/Nicht_Die_Bohne/nicht_die_bohne_Boite.jpg" alt="" width="110" height="140" />', '<img src="http://www.festivaldesjeux-cannes.com/Photos/jeu%20non%20merci.jpg" alt="" width="109" height="140" />', '<img src="http://videoregles.net/uploads/boxes/rumble-in-the-house.png" alt="" width="131" height="140" />', '<img src="http://www.espritjeu.com/upload/image/koryo-p-image-50846-petite.jpg" alt="" width="106" height="140" />', '<img src="http://www.espritjeu.com/upload/image/guerre-froide---cia-vs-kgb-p-image-48940-petite.jpg" alt="" width="140" height="128" />', '<img src="http://cdn.simba-dickie-group.de/media/shop-zoch/products/601127900/00/detail_zoom/sushizock-im-gockelwok-601127900-de_00.jpeg?v=1339598319" alt="" width="168" height="140" />', '<img src="http://www.espritjeu.com/upload/image/-p-image-45645-petite.jpg" alt="" width="112" height="140" />', '<img src="http://www.espritjeu.com/upload/image/-p-image-53142-petite.jpg" alt="" width="109" height="140" />', '<img src="http://www.espritjeu.com/upload/image/-p-image-52987-petite.jpg" alt="" width="101" height="140" />', '<img src="http://pierre.chachatelier.fr/jeux-societe/images/munchkin-boite.png" alt="" width="72" height="140" />', '<img src="http://www.espritjeu.com/upload/image/-image-51044-petite.jpg" alt="" width="125" height="140" />', '<img src="http://www.espritjeu.com/upload/image/ligretto--rouge--p-image-46353-petite.jpg" alt="" width="140" height="124" />', '<img src="http://www.espritjeu.com/upload/image/fantasy-p-image-46408-petite.jpg" alt="" width="140" height="139" />', '<img src="http://www.espritjeu.com/upload/image/schotten-totten-image-45727-petite.jpg" alt="" width="140" height="140" />', '<img src="http://www.espritjeu.com/upload/image/-p-image-51719-petite.jpg" alt="" width="109" height="140" />', '<img src="http://www.milsims.com.au/sites/milsims.com.au/files/imagecache/product_full/boxtop-principato.jpg" alt="" width="98" height="140" />', '<img src="http://stefan.pachlina.net/jupgrade/images/stories/themen/spiele/brett/carcassonne/carcassonne.jpg" alt="" width="100" height="140" />', '<img src="http://www.michas-spielmitmir.de/bilder/carcassonne_jaeger.jpg" alt="" width="140" height="140" />', '<img src="http://www.jeuxdenim.be/images/jeux/Malediction_large01.jpg" alt="" width="97" height="140" />', '<img src="http://www.espritjeu.com/upload/image/dominion-p-image-46172-petite.jpg" alt="" width="140" height="129" />', '<img src="http://www.espritjeu.com/upload/image/dominion---l-arriere-pays-p-image-48298-petite.jpg" alt="" width="130" height="140" />', '<img src="http://www.espritjeu.com/upload/image/lancaster-p-image-47762-petite.jpg" alt="" width="140" height="128" />', '<img src="http://www.filosofiagames.com/img/img-jeux/3dbox_Genoa.jpg" alt="" width="200" height="140" />', '<img src="http://www.jeuxdenim.be/images/jeux/Taluva_large01.jpg" alt="" width="88" height="140" />', '<img src="http://www.espritjeu.com/upload/image/l-age-de-pierre-p-image-46047-petite.jpg" alt="" width="116" height="140" />', '<img src="http://www.espritjeu.com/upload/image/-p-image-53337-petite.jpg" alt="" width="102" height="140" />', '<img src="http://jeuxstrategie.free.fr/jeu_armada/boite_de_jeu.jpg" alt="" width="139" height="140" />' ); $i=1; echo '<table>'; echo '<tr>'; foreach($images as $image) { echo '<td>'; echo $image; echo '</td>'; if($i%3=0) echo '</tr>'; if($i<len($images)) echo '<tr>'; } echo '</table>';
Output for 5.4.0 - 5.4.35
Parse error: syntax error, unexpected ''<img src="http://www.espritje' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/YR5vd on line 10
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/YR5vd on line 10
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/YR5vd on line 10
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/YR5vd on line 10
Process exited with code 255.