#48090 [Opn->Bgs]: Wrong return value documented

From: Date: Mon, 27 Apr 2009 19:19:54 +0000
Subject: #48090 [Opn->Bgs]: Wrong return value documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2172@lists.php.net to get a copy of this message
ID: 48090 Updated by: bjori@php.net Reported By: antronin at gmail dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Ubuntu 9.04 PHP Version: Irrelevant New Comment: No it doesn't. Previous Comments: ------------------------------------------------------------------------ [2009-04-27 19:11:34] antronin at gmail dot com Description: ------------ Documentation mentiones that function restore_exception_handler() always returns True, which is False. It returns the last Exception handler set up if any. Reproduce code: --------------- set_exception_handler(array('ExceptionHandler', 'handleException')); restore_exception_handler(); Expected result: ---------------- True Actual result: -------------- array('ExceptionHandler', 'handleException') ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48090&edit=1

« previous php.doc.bugs (#2172) next »