[Typo3-dev] Bug in class.gzip_encode
Michiel van Leening
leening at saurus.nl
Thu Sep 4 12:01:03 CEST 2003
Simon,
Please refer to
http://www.php.net/manual/en/language.operators.comparison.php
On Wed, 2003-09-03 at 22:44, Simon Child wrote:
> class.gzip_encode contains the following section:
>
> from line 168:
> if ($level === true) {
> $level = $this->get_complevel();
> }
> $this->level = $level;
>
> $contents = ob_get_contents();
> if ($contents === false) return;
>
> (The code on leknor.com is the same.)
>
> But is that triple equals sign valid syntax??
>
> (with spaces to emphasise it, it says $level = = = true, and $contents = = =
> true)
>
> If I leave in the triple equals and set compression level to 'true' then
> there is no compression.
>
> If I remove one of the equals and set compression level to 'true' then the
> compression (tested by http://leknor.com/code/gziped.php ) is good.
>
> Is that = = = a typo, or does it have some meaning that I don't understand?
>
> --
> Simon Child
>
>
>
>
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
--
Met vriendelijke groeten,
Michiel van Leening
---------------------------------------------------------------
Saurus Internet - http://www.saurus.nl/ - info at saurus.nl
Vestesingel 8, 9408 CA - Assen, The Netherlands
tel: +31 (0)592.461.467 - fax: +31 (0)84.86.88.007
Michiel van Leening - Internet Application Developer
leening at saurus.nl - gsm: +31 (0)65.57.12.693 - ICQ#51566230
Registered with the Linux Counter. ID #39463
---------------------------------------------------------------
In Seattle, Washington, it is illegal to carry a concealed weapon that
is over six feet in length.
More information about the TYPO3-dev
mailing list