ID:               36525
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lunter at interia dot pl
 Status:           Bogus
 Bug Type:         Output Control
 Operating System: winXP
 PHP Version:      5.1.2
 New Comment:

Because you call strtolower() on the string. The "a" output buffer
handler is run without regard whether browser supports gzip content
encoding.



Previous Comments:
------------------------------------------------------------------------

[2006-02-25 20:10:14] lunter at interia dot pl

mike, do you know why function a return lower case string when browser
does't support gzip/deflate compression ???

------------------------------------------------------------------------

[2006-02-25 16:10:59] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php



------------------------------------------------------------------------

[2006-02-25 10:22:45] lunter at interia dot pl

Description:
------------
ob_gzhandler does't return $i parametr when browser does't support
gzip/deflate compression

Reproduce code:
---------------
<?
 function a($i,$m){
  $i=strtolower($i);
  $i=ob_gzhandler($i,$m);
  return($i);
 }
 ob_start('a');
?>
PAGE CONTENTS

Expected result:
----------------
send buffer in lower case

Actual result:
--------------
send buffer in UPPER case when browser does't support gzip/deflate
compression


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36525&edit=1

Reply via email to