Re: cvs: php-src /ext/tidy tidy.c

From: Date: Fri, 16 Apr 2004 18:54:30 +0000
Subject: Re: cvs: php-src /ext/tidy tidy.c
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9269@lists.php.net to get a copy of this message
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

« previous php.internals (#9269) next »