Doc #78816 [Ver->Csd]: Missing / wrong description of the assert_callback
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)