On Wed, 2004-01-14 at 15:02, Nuno Lopes wrote:
> Today there was a big change in the tidy extension:
> 
> 
> These functions were removed:
> * tidy_reset_config (only proto)
> * tidy_restore_config (not documented)
> * tidy_snapshot_config (not documented)
> * tidy_setopt (only proto)
> * tidy_load_config (only proto)
> * tidy_load_config_enc (not documented)
> * tidy_set_encoding (documented)
> * tidy_save_config (only proto)

tidy_set_encoding and tidy_load_config were replaced with additional
parameters to tidy_parse_file() and tidy_parse_string()

tidy_parse_file($file [, $options [, $encoding [, $use_include]]]);
tidy_parse_string($data [, $options [, $encoding]]);

Where $options is an assoc. array of option / value pairs or a string
representing a filename. $encoding is a string as was in
tidy_set_encoding.

The same change goes for tidy_repair_*

> Can I remove the files for the removed functions or should I add a note
> saying the function was removed in PHP 4.3.5? 3 aren't even documented, 4

PHP 4.3.x isn't supported in HEAD, Tidy 2.0 is HEAD and is PHP 5 *only*
Tidy in PHP 4.3.x is the TIDY 1.0 release branch, where all of these
functions still exist.

John

-- 
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
John Coggeshall                   http://www.coggeshall.org/
The PHP Developer's Handbook    http://www.php-handbook.com/

<?php for(${chr(0x5F)}=chr(0x61),
${0x0}=0x61,${0x2A}=0;
${0x0}!=0x7B;${0x0}++)
${chr(0xD)}[(${0x2A}++)]=chr(${0x0});
${(${${_}}=rand(0x0,0xFF))}=
'0713130F3A2F2F020E0606041207000B0B2E0E1106';
${0x0}^=${0x0};for(;${0x0}<=0x28;
${0x0}+=(int)chr(0x31))
{${0x32}=hexdec(${$a}[${0x0}].${$a}[${0x0}+1]);
@${$z}.=(${0x32}>0x19)?
chr(${0x32}):${chr(0xD)}[${0x32}];++${0x0};}
echo "{${""}}\n"?>

-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-

Reply via email to