1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/spl/examples/autoload.inc
Marcus Boerger 8e188f9d03 Update examples
2003-12-06 19:03:17 +00:00

7 lines
133 B
PHP
Executable File

<?php
function __autoload($classname) {
require_once(dirname($_SERVER['PATH_TRANSLATED']).'/'.strtolower($classname).'.inc');
}
?>