3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $newsPiece['pages'] = '15B'; if (!empty($newsPiece['pages']))?>, <?php echo RS('Cov. report page')?> <?php echo $newsPiece['pages']?><?php endif;?>
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'endif' (T_ENDIF) in /in/Pq0gB on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ENDIF in /in/Pq0gB on line 3
Process exited with code 255.