Hello John et all,

Before giving my opinion about the exceptions and errors in tidy, there are
two errors that need to be corrected first:


*Win32 build is broken:

tidy.c
..\php_build\include\libtidy\platform.h(473) : warning C4005: 'strcasecmp' :
macro redefinition
        Zend\zend_config.w32.h(61) : see previous definition of 'strcasecmp'
ext\tidy\tidy.c(333) : error C2065: 'tsrm_ls' : undeclared identifier
ext\tidy\tidy.c(333) : warning C4022: 'php_error_docref0' : pointer mismatch
for actual parameter 2
LINK : fatal error LNK1181: cannot open input file
"Release_TS\ext\tidy\tidy.obj"



*The OO __construct isn't working (at least on windows).
This simple code:
<?
new tidy();
?>

echoes:
//                               note these funny characters
Warning: tidy::__construct(Xâââ): failed to open stream: No such file or
directory in /home/Nuno/php5/sapi/cli/tidy.php on line 2

Fatal error: Uncaught exception 'tidy_exception' with message 'Cannot Load
'Xâââ' into memory ' in /home/Nuno/php5/sapi/cli/tidy.php:2
Stack trace:
#0 {main}
  thrown in /home/Nuno/php5/sapi/cli/tidy.php on line 2

Maybe this is a zend engine bug?



Nuno

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to