3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $debug = True; function debugM($text) { global $debug; if ($debug) echo "DEBUG: &nbsp" . $text .= "<br/>"; } debugM('No messages'); ?>
Output for 4.3.0 - 7.1.0
DEBUG: &nbspNo messages<br/>