Doc #52619 [Opn->Bgs]: Incorrect function return type.

From: Date: Mon, 16 Aug 2010 13:47:52 +0000
Subject: Doc #52619 [Opn->Bgs]: Incorrect function return type.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4870@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52619&edit=1 ID: 52619 Updated by: rquadling@php.net Reported by: hyounis at yubb-software dot com Summary: Incorrect function return type. -Status: Open +Status: Bogus Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N New Comment: We do not include the failure result in the return type. Previous Comments: ------------------------------------------------------------------------ [2010-08-16 14:54:52] hyounis at yubb-software dot com Description: ------------ The return type of function strpos is incorrectly listed as int in the manual, while it should be listed as 'mixed' since it may return an integer or a boolean value. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52619&edit=1

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