Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- spl_autoload_register(function($class_name) {
- include $class_name.'php';
- });
- $obj = new MyClass1();
- $obj = new MyClass2();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement