note 19419 added to function.die
| From: | fredrockford at topnet dot pl | Date: | Tue, 26 Feb 2002 22:18:12 +0000 |
| Subject: | note 19419 added to function.die | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27100@lists.php.net to get a copy of this message | ||
Hi! This problem took whole 3 days of my life... :(((
I put die("message") within a function in the class I made and my PHP interpreter always
do "Error - this apps made an error and will be shut down" every time I refresh the page.
This happens every time in every function inside my every class (SIC!) where I put die()
instruction. When I removed all die() instruction from class functions, the script works fine!
I don't know why this happens :( Maybe someone tell me and to the other? :)
Is it a bug in PHP? ;D
Regards :)
Sir_Fred
--
http://www.php.net/manual/en/function.die.php
http://master.php.net/manage/user-notes.php?action=edit+19419
http://master.php.net/manage/user-notes.php?action=delete+19419
http://master.php.net/manage/user-notes.php?action=reject+19419