3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '<figure class="item_img img-intro img-intro__' , htmlspecialchars($imgfloat) , '">'; $img_cap = '<img src="' , htmlspecialchars($item_images->image_intro) , '" alt="' , htmlspecialchars($item_images->image_intro_alt) , '">'; if ($item_images->image_intro_caption) { $img_cap .= '<figcaption>', htmlspecialchars($item_images->image_intro_caption) , '</figcaption>'; } if ($params->get('link_titles') && $item->readmore && !empty($urls->urla)) { echo "<a href=\"{$urls->urla}\">{$img_cap}</a>"; } echo '</figure>';
Output for 7.1.25 - 7.1.28, 7.2.0 - 7.2.17, 7.3.0 - 7.3.4
Parse error: syntax error, unexpected ',' in /in/TSGZW on line 3
Process exited with code 255.

preferences:
169.49 ms | 1395 KiB | 34 Q