Re: [PHP] include/include_once php_check_syntax() / E_PARSE errors

2005-11-15 Thread Curt Zirzow
On Tue, Nov 15, 2005 at 10:48:56PM +, Thiago Silva wrote: > ... > So, __autload has to *try* include_once's. Something like that: > > function __autoload($className) { > include_once("${className}.php"); > if(class_exists($className, false)) return; > > include_once("${className}.class.php

[PHP] include/include_once php_check_syntax() / E_PARSE errors

2005-11-15 Thread Thiago Silva
Hello all, Recently I had some problems with include/include_once. This is the scenario: My application uses only classes loaded through a centered __autoload() function (no "require/include" anywere in the scripts, but in __autoload() itself). Now, diverse libraries use diverse extensions. For