3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php const DUPA = array('hehe' => 'asdf'); defined(DUPA) ? $m = 'tak' : $m = "nie"; echo $m;
based on cQs10
Output for 5.6.0 - 7.3.0beta1
Warning: defined() expects parameter 1 to be string, array given in /in/YH10E on line 5 nie