#29463 [NEW]: describe for assert() function
| From: | t dot prochazka at centrum dot cz | Date: | Sat, 31 Jul 2004 00:29:13 +0000 |
| Subject: | #29463 [NEW]: describe for assert() function | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-63826@lists.php.net to get a copy of this message | ||
From: t dot prochazka at centrum dot cz
Operating system: Win XP
PHP version: Irrelevant
PHP Bug Type: Feature/Change Request
Bug description: describe for assert() function
Description:
------------
Can you add second argument for assert() function, which be text with
description.
Example:
fuction test($i) {
assert($i > 0,"argument i must be positive");
}
This text will be part of error message when assert failed.
--
Edit bug report at http://bugs.php.net/?id=29463&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29463&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29463&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29463&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29463&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29463&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29463&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29463&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29463&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29463&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29463&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29463&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29463&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29463&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29463&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29463&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29463&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29463&r=float