FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » neither var_dump() nor die() displays anything
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: neither var_dump() nor die() displays anything [message #173645 is a reply to message #173634] Fri, 22 April 2011 09:08 Go to previous message
Helmut Chang is currently offline  Helmut Chang
Messages: 22
Registered: September 2010
Karma:
Junior Member
Am 21.04.2011 15:07, schrieb Jivanmukta:

> // functions.inc.php:
> function error($message) {
> global $currentUser;
> if (ob_get_length() !== false) {
> ob_end_flush();
> }
> var_dump($message); // here problem

Although I couldn't find it documented anywhere, I made the experience,
that any var_dumps() after an ob_end_clean() don't get displayed. Maybe
it's the same with your ob_end_flush()?

HTH, Helmut
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP Tutorials
Next Topic: PHP Runs In WinXP Command Window But Not In Browser
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 03:51:20 GMT 2024

Total time taken to generate the page: 0.04009 seconds