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

From: Date: Sun, 08 Dec 2019 16:44:35 +0000
Subject: Doc #78816 [Ver->Csd]: Missing / wrong description of the assert_callback
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17094@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:             Verified
+Status:             Closed
 Type:               Documentation Problem
 Package:            Documentation problem
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2019-12-08 16:41:50] cmb@php.net

Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=348467
Log: Fix #78816: Missing / wrong description of the assert_callback

------------------------------------------------------------------------
[2019-11-14 15:02:38] cmb@php.net

Yes, that should be better documented, although
assert_options() is discouraged as of PHP 7.0.0.

------------------------------------------------------------------------
[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


Thread (3 messages)

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