php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15617 assert description doesn't fit it's designation
Submitted: 2002-02-19 06:02 UTC Modified: 2002-06-17 18:10 UTC
From: rehsack at liwing dot de Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.1.1 OS: All
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: rehsack at liwing dot de
New email:
PHP Version: OS:

 

 [2002-02-19 06:02 UTC] rehsack at liwing dot de
I stumble 'bout the section LXXVI (PHP Options and Information), function assert.
It documented not in it's original manner: assert takes care, the given
expression (which it checks) is TRUE - nothing else.
It takes appropriate action if its result is FALSE, that's also true, but it's
meaning is: take care, that x is TRUE.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-17 17:26 UTC] hholzgra@php.net
changing to "Check if assertion is TRUE, take action if not"
 [2002-06-17 18:52 UTC] rehsack at liwing dot de
Could you please change it to it's complete meaning:

assert takes care, the given expression (which it checks)
is TRUE. It takes appropriate action if its result is
FALSE.
It's meaning is: assert(x) takes care, that x is TRUE.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 18 00:01:28 2024 UTC