__construct __destruct in PHP 4
| From: | Peter Lauri | Date: | Sun, 28 Jan 2007 12:56:47 +0000 |
| Subject: | __construct __destruct in PHP 4 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-247908@lists.php.net to get a copy of this message | ||
Hi,
I have been trying going thru the PHP manual to find if there are any
equivalent to the __contruct and __destruct in PHP 4, but I cannot find any
solution for this part. I know it was introduced in PHP 5, but as __sleep
and __wakeup exist in PHP 4 already I was hoping there is something like
__init and __die in PHP 4 :-)
Best regards,
Peter Lauri
<http://www.dwsasia.com/> www.dwsasia.com - company web
site
<http://www.lauri.se/> www.lauri.se - personal web site
<http://www.carbonfree.org.uk/>
www.carbonfree.org.uk - become Carbon Free