On 9 Sep 2001 [EMAIL PROTECTED] wrote:
> ID: 13219
> User updated by: [EMAIL PROTECTED]
> Reported By: [EMAIL PROTECTED]
> Status: Bogus
> Bug Type: Unknown/Other Function
> Operating System: Windows 98
> PHP Version: 4.0.6
> New Comment:
>
> what should i do to make it work?
>
Remove your if statement, its simply
register_shutdown_function("end_func");
-Sterling
Ps: Support questions should really be asked on
[EMAIL PROTECTED] :)
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2001-09-09 05:14:00] [EMAIL PROTECTED]
>
> register_shutdown_function() returns void, this is not a bug
>
> ------------------------------------------------------------------------
>
> [2001-09-09 05:10:48] [EMAIL PROTECTED]
>
> I've got php4.06, Build Date Jun 22 2001, and when i try to run the following script:
>
> <?
> if (!register_shutdown_function("end_func"))
> echo("register_shutdown_function doesn't work...");
> function end_func() {
> echo("This is the end of the script"); }
> ?>
>
> it outputs
>
> register_shutdown_function doesn't work...
>
> When i had an older version of PHP (i think it was three) i worked perfectly, but
>now that i've upgraded, the very same script doesn't work anymore...
>
> i have phpdev4 as server(http://www.firepages.com.au/phpdev4.htm)
>
> ------------------------------------------------------------------------
>
>
>
> Edit this bug report at http://bugs.php.net/?id=13219&edit=1
>
>
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]