Posted by mr.baileys on May 28, 2012 at 10:17am
4 followers
Jump to:
| Project: | Devel |
| Version: | 8.x-1.x-dev |
| Component: | devel |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
drupal_debug() uses output buffering to capture the output of $data prior to logging it to the debug file. Since PHP 4.3.0, print_r() supports returning a string, making the use of output buffering unnecessary.
Patch attached that removes output buffering and adds some Doxygen comments to the function.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| devel-drupal-debug-output-buffering-D7.patch | 1.22 KB | Idle | FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch devel-drupal-debug-output-buffering-D7.patch. Unable to apply patch. See the log in the details link for more information. | View details |
| devel-drupal-debug-output-buffering-D8.patch | 1.12 KB | Idle | FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch devel-drupal-debug-output-buffering-D8.patch. Unable to apply patch. See the log in the details link for more information. | View details |
Comments
#1
Committed. Thanks.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.