Define function before calling it.
Just require PHP 5.3