Doc #78816 [Opn->Ver]: Missing / wrong description of the assert_callback

From: Date: Thu, 14 Nov 2019 15:02:38 +0000
Subject: Doc #78816 [Opn->Ver]: Missing / wrong description of the assert_callback
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17061@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78816&edit=1 ID: 78816 Updated by: cmb@php.net Reported by: creator79 at gmail dot com Summary: Missing / wrong description of the assert_callback -Status: Open +Status: Verified Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Yes, that should be better documented, although assert_options() is discouraged as of PHP 7.0.0. Previous Comments: ------------------------------------------------------------------------ [2019-11-14 14:37:12] creator79 at gmail dot com Description: ------------ --- From manual page: https://php.net/function.assert-options --- The assert_failure function should be documented with the correct parameters. function assert_failure($file, $line, $assertedString, $message) $assertedString is usually empty if the assertion was a boolean expression. Otherwise it contains the evaluated string. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78816&edit=1

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