3 ms·
PHP registers classes (and functions) at parse time, not at execution time. i.e. this will print "bar": <?php echo foo(); function foo() { return
by bnr 14y ago
PHP registers classes (and functions) at parse time, not at execution time.
i.e. this will print "bar":
<?php
echo foo();
function foo() { return "bar"; }