php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78816 Missing / wrong description of the assert_callback
Submitted: 2019-11-14 14:37 UTC Modified: 2019-12-08 16:44 UTC
From: creator79 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: creator79 at gmail dot com
New email:
PHP Version: OS:

 

 [2019-11-14 14:37 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-11-14 15:02 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2019-11-14 15:02 UTC] cmb@php.net
Yes, that should be better documented, although
assert_options() is discouraged as of PHP 7.0.0.
 [2019-12-08 16:41 UTC] 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-12-08 16:44 UTC] cmb@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cmb
 [2019-12-08 16:45 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=527f489d57fd97f96159cf3c97162a4044feea30
Log: Fix #78816: Missing / wrong description of the assert_callback
 [2019-12-09 00:15 UTC] mumumu@php.net
Automatic comment from SVN on behalf of mumumu
Revision: http://svn.php.net/viewvc/?view=revision&revision=348473
Log: Fix #78816: Missing / wrong description of the assert_callback

Bug: https://bugs.php.net/78816 (Verified) Missing / wrong description of the assert_callback
 [2020-02-07 06:04 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=724e78e9e900d0012a8a4dfdeccdf8e3c2eb286d
Log: Fix #78816: Missing / wrong description of the assert_callback
 [2020-12-30 11:59 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=36757fcb47cb831cfab970babddc94708e40b545
Log: Fix #78816: Missing / wrong description of the assert_callback
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Apr 29 01:00:01 2026 UTC