[Typo3-dev] Bug in class.gzip_encode

Simon Child simondt at gpuk.net
Thu Sep 4 22:59:22 CEST 2003


"Peter Russ :: 4Dfx" <peter.russ at 4dfx.de> wrote in message
news:mailman.1062671042.2524.typo3-dev at lists.netfielders.de...

> Michiel van Leening schrieb:

> > Simon,
> >
> > Please refer to
> > http://www.php.net/manual/en/language.operators.comparison.php

Thanks, I found that afterwards. But still, it doesn't work with triple =

> I have no idea if it makes sence to compare level or contant with
> Boolean type.

And if a Boolean comparison is intended, what should we enter in the
configuration box in the typo install tool for   [compressionLevel]

"Determines output compression. Requires zlib in your php4 install.
Range 1-9, where 1 is least compression (approx. 50%) and 9 is greatest
compression (approx 33%). 'true' as value will set the compression based on
system load"

It seems that if I enter the word true it will be processed as a string and
not as Boolean?

So the comparison will fail.

Removing one of the = still seems sensible - what would be the harm?

--
Simon Child







More information about the TYPO3-dev mailing list