Can I delete a function declaration?
Posted: Thu Apr 28, 2005 9:38 am
Here is my problem. I am using a custom session handler which uses the function showerror(). Now the problem comes on my logout page. I destroy the session and wants to start a new one. I get following error as the handler calls that function again.
Fatal error: Cannot redeclare showerror()
Is there any way I can delete that function declaration?
I know a solution to the problem as I can do a session_regenerate() instead of deleting and restarting but I want to know if I could do it another way.
Fatal error: Cannot redeclare showerror()
Is there any way I can delete that function declaration?
I know a solution to the problem as I can do a session_regenerate() instead of deleting and restarting but I want to know if I could do it another way.