ID:               24346
 Updated by:       [EMAIL PROTECTED]
 Reported By:      pitrou at free dot fr
-Status:           Assigned
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Linux
 PHP Version:      4.3.2
 Assigned To:      davey
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

Callbacks are now documented properly in
http://de3.php.net/manual/en/language.pseudo-types.php


Previous Comments:
------------------------------------------------------------------------

[2003-06-30 09:26:23] [EMAIL PROTECTED]

Davey is actually the one working on this :)  Assigned->Davey

------------------------------------------------------------------------

[2003-06-30 03:31:02] [EMAIL PROTECTED]

Point 1 has been documented now, assigning to philip as he's working on
point 2.

------------------------------------------------------------------------

[2003-06-27 04:45:01] [EMAIL PROTECTED]

It's indeed a change, but still, it's right as it is now. I'm changing
this to a doc problem:
1. the return value is not documented
2. this function can also be used with the array() syntax to call
methods of an object.


------------------------------------------------------------------------

[2003-06-26 10:15:28] pitrou at free dot fr

Ok, then there's a compatibility problem (it used to work before).

Also the documentation is bogus too:
http://www.php.net/manual/en/function.ob-start.php

It doesn't mention the return value, the return type is
even supposed to be "void". How can I know I'm supposed to
check the return value ?

In the end I think a bad callback parameter to ob_start is enough to
print an error message on screen (just as calling a function which
doesn't exist prints an error message on screen).

Thanks for the reply.

------------------------------------------------------------------------

[2003-06-26 09:38:18] [EMAIL PROTECTED]

You should use NO parameter if you don't want a handler. PHP 4.3.2
correctly returns FALSE in this case.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/24346

-- 
Edit this bug report at http://bugs.php.net/?id=24346&edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to