Re: Tokenizer trying to create a token for DocType in HTML_Templaye_Flexy
| From: | Alan Knowles | Date: | Mon, 06 Aug 2007 02:35:26 +0000 |
| Subject: | Re: Tokenizer trying to create a token for DocType in HTML_Templaye_Flexy | ||
| References: | 1 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-27797@lists.php.net to get a copy of this message | ||
It's probably a bug in the early version of the autoloader - bascially class_exists(....) used to call the autoloader all the time, this changed in recent versions - where you had to use the 2nd argument true to load the class.
General advice - if you want to use an autoloader - use SPL - the default one has quite a few design flaws...
Regards
Alan
Dan Rossi wrote:
Im using PHP5's autoloader and when something like this is in html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> It tries to load a non existant file. HTML_Template_Flexy_Tokenizer->createToken('Doctype') I tried for half an hour to add a bug, but the system is really painfully non user friendly, and the captcha is horrible it claims i entered wrong values, and then i keep getting this ERROR: Email is already in use for an existing account Let me know :)