Re: [PHP4BETA] implement assert() function?
| From: | Andrei Zmievski | Date: | Tue, 07 Dec 1999 14:24:25 +0000 |
| Subject: | Re: [PHP4BETA] implement assert() function? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7596@lists.php.net to get a copy of this message | ||
On Tue, 07 Dec 1999, Thies C . Arntzen wrote:
> hi,
> just thought of implemention an assert() function together with some
> helpers:
>
> - some .ini flags
> - an assert_set_options() function (ON/OFF, EXIT_ON_FAILURE etc)
> - maybe a script-settable logging function (called with __LINE__ ...)
>
> what do we think?
>
Hey, I was just thinking about something like this, but I was going to
implement it in PHP itself. I mean it's fairly easy to write it.
I don't know if you'd need logging or not, we already have a function
for that.
-Andrei
* We reason deeply, when we forcibly feel. *