3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php defined("NAME","JYOTHSNA"); echo NAME; ?>
based on uBbol
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: defined() expects exactly 1 parameter, 2 given in /in/iak14 on line 2 Notice: Use of undefined constant NAME - assumed 'NAME' in /in/iak14 on line 3 NAME
Output for hhvm-3.10.0 - 3.12.0
Notice: Use of undefined constant NAME - assumed 'NAME' in /in/iak14 on line 3 NAME
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for defined() in /in/iak14 on line 2 Notice: Use of undefined constant NAME - assumed 'NAME' in /in/iak14 on line 3 NAME