note 95723 added to function.ob-start
| From: | cjastram at gmail dot com | Date: | Mon, 18 Jan 2010 14:49:48 +0000 |
| Subject: | note 95723 added to function.ob-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165075@lists.php.net to get a copy of this message | ||
For some reason, it appears that global variables are not available within the output callback.
However, global variables are available from within register_shutdown_function() callees, so
depending on what you are doing, that may be more than adequate. (Using PHP 5.2.10-2ubuntu6.3.)
----
Server IP: 64.71.164.2
Probable Submitter: 98.191.9.245
----
Manual Page -- http://www.php.net/manual/en/function.ob-start.php
Edit -- https://master.php.net/note/edit/95723
Del: integrated -- https://master.php.net/note/delete/95723/integrated
Del: useless -- https://master.php.net/note/delete/95723/useless
Del: bad code -- https://master.php.net/note/delete/95723/bad+code
Del: spam -- https://master.php.net/note/delete/95723/spam
Del: non-english -- https://master.php.net/note/delete/95723/non-english
Del: in docs -- https://master.php.net/note/delete/95723/in+docs
Del: other reasons-- https://master.php.net/note/delete/95723
Reject -- https://master.php.net/note/reject/95723
Search -- https://master.php.net/manage/user-notes.php