#42200 [NEW]: when ob_start meet the internal functions..
From: roast@php.net
Operating system: windows xp sp2
PHP version: 5.2.4RC1
PHP Bug Type: Output Control
Bug description: when ob_start meet the internal functions..
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 bug report at http://bugs.php.net/?id=42200&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42200&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42200&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42200&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42200&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42200&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42200&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42200&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42200&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42200&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42200&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42200&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42200&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42200&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42200&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42200&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42200&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42200&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42200&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42200&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42200&r=mysqlcfg
Thread (3 messages)
- roast@php.net