I am wondering why the call to ob_get_clean and ob_get_contents does not
trigger the callback function registered with ob_start('mycallback')
I don't want to dump buffer to the browser but instead need to just store
results in a variable, thus using ob_get_clean()
but why it's my callback being executed during this call?
It's actually in the documentation and ob_get_clean is not listed among the
functions that trigger the callback.
Is there a good reason why callback not fired for these functions?
Dmitri Snytkine
Web Developer
Ultra Logistics, Inc.
Phone: (888) 220-4640 x 2097
Fax: (888) 795-6642
E-Mail: dsnytkine@ultralogistics.com
Web: www.ultralogistics.com
"A Top 100 Logistics I.T. Provider in 2011"
I am wondering why the call to ob_get_clean and ob_get_contents does not
trigger the callback function registered with ob_start('mycallback')
You could at least have told what PHP version you're using...
The output control layer implementation has been replaced in 5.4.
Despite this list being neither a bug tracker nor a support forum:
- Reproduce script?
- Expected result?
- Actual result?
- In which version did it work "correctly" last?
Thank you.
--
Regards,
Mike