#42200 [Opn->Fbk]: when ob_start meet the internal functions..
| From: | jani@php.net | Date: | Sat, 04 Aug 2007 14:02:06 +0000 |
| Subject: | #42200 [Opn->Fbk]: when ob_start meet the internal functions.. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115745@lists.php.net to get a copy of this message | ||
ID: 42200
Updated by: jani@php.net
Reported By: roast@php.net
-Status: Open
+Status: Feedback
Bug Type: Output Control
Operating System: windows xp sp2
PHP Version: 5.2.4RC1
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-08-03 11:30:01] roast@php.net
Description:
------------
I use the functions ob_* with the internal functions to control the
output,but in reality, things always happen out of expectation.
Reproduce code:
---------------
<?php
ob_start('md5');
echo "roast is a good boy";
echo ob_get_contents();
?>
Expected result:
----------------
e21b1aad689c47aeac5b7867c2c77afa
Actual result:
--------------
A瑔��)�
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42200&edit=1