by codexon · 16y ago · 0 comments
<?php
echo foo('baz');
function foo($bar) { return $bar; }
?>
This looks to me like you can use PHP functions before declaring them above.
echo foo('baz'); // error
{
function foo($bar) { return $bar; } // not pulled to top of file
}