vrana           Tue Apr  5 08:59:59 2005 EDT

  Modified files:              
    /phpdoc/en/reference/outcontrol/functions   ob-start.xml 
  Log:
  Functions using OB can't be called from a callback function (bug #31929)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/outcontrol/functions/ob-start.xml?r1=1.18&r2=1.19&ty=u
Index: phpdoc/en/reference/outcontrol/functions/ob-start.xml
diff -u phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.18 
phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.19
--- phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.18  Tue Feb 15 
08:44:24 2005
+++ phpdoc/en/reference/outcontrol/functions/ob-start.xml       Tue Apr  5 
08:59:58 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.18 $ -->
+<!-- $Revision: 1.19 $ -->
 <!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 -->
   <refentry id="function.ob-start">
    <refnamediv>
@@ -95,6 +95,10 @@
      callback function, the behavior is undefined. If you would like to
      delete the contents of a buffer, return "" (a null string) from callback
      function.
+     You can't even call functions using the output buffering functions like
+     <literal>print_r($expression, true)</literal> or
+     <literal>highlight_file($filename, true)</literal> from a callback
+     function.
     </para>
     <para>
      <example>

Reply via email to