diff --git a/reference/errorfunc/functions/set-error-handler.xml b/reference/errorfunc/functions/set-error-handler.xml index 51ef8fd05e..da0038de8f 100644 --- a/reference/errorfunc/functions/set-error-handler.xml +++ b/reference/errorfunc/functions/set-error-handler.xml @@ -75,7 +75,7 @@ - handler + boolhandler interrno stringerrstr stringerrfile diff --git a/reference/errorfunc/functions/set-exception-handler.xml b/reference/errorfunc/functions/set-exception-handler.xml index 2f68dbcf74..852bc9a915 100644 --- a/reference/errorfunc/functions/set-exception-handler.xml +++ b/reference/errorfunc/functions/set-exception-handler.xml @@ -33,7 +33,13 @@ This function must be defined before calling set_exception_handler. This handler function needs to accept one parameter, which will be the exception object that - was thrown. + was thrown. This is the handler signature: + + + + voidhandler + Exception$ex + diff --git a/reference/outcontrol/functions/ob-start.xml b/reference/outcontrol/functions/ob-start.xml index b35da714b4..39d9856c48 100644 --- a/reference/outcontrol/functions/ob-start.xml +++ b/reference/outcontrol/functions/ob-start.xml @@ -65,11 +65,32 @@ return a new output buffer as a result, which will be sent to the browser. If the output_callback is not a callable function, this function will return &false;. + This is the callback signature: - If the callback function has two parameters, the second parameter is - filled with a bit-field consisting of - PHP_OUTPUT_HANDLER_* constants. + + boolhandler + stringbuffer + intphase + + + + buffer + + + Contents of the output buffer. + + + + + phase + + + Bitmask of PHP_OUTPUT_HANDLER_* constants. + + + + If output_callback returns &false; original diff --git a/reference/pcre/functions/preg-replace-callback.xml b/reference/pcre/functions/preg-replace-callback.xml index 4ecb31dc4b..82106d1dd1 100644 --- a/reference/pcre/functions/preg-replace-callback.xml +++ b/reference/pcre/functions/preg-replace-callback.xml @@ -43,7 +43,13 @@ A callback that will be called and passed an array of matched elements in the subject string. The callback should - return the replacement string. + return the replacement string. This is the callback signature: + + + + stringhandler + arraymatches + You'll often need the callback function