3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $m="echo 'enter the no'"; if($m%2==0) { echo 'the given no is even'; } else echo 'odd';
based on CkUep
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/WTnNk on line 3 the given no is even
Output for 4.3.0 - 7.0.20
the given no is even