3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function f($̀,$́){$̂=$̀;$̃=$̀[$́];$̂[$́]=!$̃;$̄=$̃!==$̀[$́];$̀[$́]=$̃;return$̄;} echo f(1,2);
based on 4VDX9
Output for 4.3.0 - 7.2.0
Warning: Cannot use a scalar value as an array in /in/brmmU on line 3 Warning: Cannot use a scalar value as an array in /in/brmmU on line 3