3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=15; $b=17; function test () { global $a, $b; $c=$a+$b; } test (); echo c; ?>
Output for 4.3.0 - 7.1.0
Notice: Use of undefined constant c - assumed 'c' in /in/lKp0X on line 10 c