3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $e = ($f==$g) ? $e : 0;
based on nlbJo
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: f in /in/V0mBq on line 2 Notice: Undefined variable: g in /in/V0mBq on line 2 Notice: Undefined variable: e in /in/V0mBq on line 2
Output for 5.3.20 - 5.6.28
Notice: Undefined variable: g in /in/V0mBq on line 2 Notice: Undefined variable: f in /in/V0mBq on line 2 Notice: Undefined variable: e in /in/V0mBq on line 2