3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fmt="jpg"; $tilesize=256; $height=10000; $width=20000; $str <<<EOT <?xml version="1.0" encoding="UTF-8"?> <Image Format="$fmt" Overlap="0" TileSize="$tilesize" xmlns="http://schemas.mi crosoft.com/deepzoom/2008"> <Size Height="$height" Width="$width"/> </Image> EOT;
Output for 5.4.0 - 5.5.5
Parse error: syntax error, unexpected '<<<EOT' (T_START_HEREDOC) in /in/hAu6j on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_START_HEREDOC in /in/hAu6j on line 8
Process exited with code 255.