Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
devel-drupal-debug-output-buffering-D8.patch | 1.12 KB | mr.baileys | |
devel-drupal-debug-output-buffering-D7.patch | 1.22 KB | mr.baileys | |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedCommitted. Thanks.