#23726 [NEW]: dump_file formatting option appears to be broken
| From: | bharris at spro dot net | Date: | Tue, 20 May 2003 23:19:40 +0000 |
| Subject: | #23726 [NEW]: dump_file formatting option appears to be broken | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-40099@lists.php.net to get a copy of this message | ||
From: bharris at spro dot net
Operating system: Red Hat 8.0 (x86)
PHP version: 4.3.2RC2
PHP Bug Type: DOM XML related
Bug description: dump_file formatting option appears to be broken
Using 4.3.2RC2 dump_file such as:
$filesize = $dom->dump_file($filename, false, true);
OR
$filesize = $dom->dump_file($filename, 0, 1);
Does not nicely format the ouput but places it without whitespace.
However (peculiar) using
$filesize = $dom->dump_file($filename, false, 2);
DOES nicely format the output (however, it places additional spaces in
already nicely formatted content)
--
Edit bug report at http://bugs.php.net/?id=23726&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23726&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23726&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23726&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23726&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23726&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23726&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23726&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23726&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23726&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23726&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23726&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23726&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23726&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23726&r=gnused