3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = (unset)''; var_dump('' == $a and 'a' == $a and '' === (string)$a and 'a' === (string)$a);
based on jopPp
Output for 7.2.0
Deprecated: The (unset) cast is deprecated in /in/7ORWp on line 2 bool(false)
Output for 5.3.18 - 7.1.10
bool(false)