Code
Result

PHP code example: spl_autoload_register

Register given function as __autoload() implementation. See documentation.

You can try this function yourself. Just edit the code and on "Run" to see the result.