<?php function divide($x, $y) { $div = 'foo';} divide(1, 2);var_dump($div);
Standard input is empty
NULL
PHP Notice: Undefined variable: div in /home/7PlKaq/prog.php on line 8
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!