<?php $foo = 2; function innerScope() { global $foo; print_r(get_defined_vars()); } innerScope();
You have javascript disabled. You will not be able to edit any code.