Browsing articles tagged with " PHP Magic methods"
PHP 5 Magic – __sleep() and __wakeup() methods
Hello Friends,
The magic method _sleep() and _wakeup() is called when an object is serialized. The magic method _sleep() and _wakeup() provides a method to clean up and restore objects before being serialized.
Working with _sleep()
_sleep() magic method is called when the object of a class is about to be serialized. This magic method _sleep() does not accept any parameter and returns an array. The array should contain a list of class members that should be serialized. This means that if you don’t wish to serialize a particular class member, you should not include it in the array. Look at the example below: Continue reading »
Support to grow
PHP Genious Services
Follow me on Facebook
Categories
Tags
.HTACCESS Tips
AJAX
authorize.net
cakePHP
cakePHP and dreamweaver
CGI
CGI Variavles
DIV
dreamweaver
EXCEL to MySQL
fastCGI
Greate thoughts
HTACCESS
IIS
Import/Export data
Javascript
JavascriptMVC
jQuery ans Prototype
Latest news
LightBox
Magento
mod_rewrite
MySQL
MySQL to RSS feed
MySQL to TXT(datafeed)
opencart
Open Source
Opensource
PayPal
PHP
PHP and SMTP
PHP Free Books
PHP Magic - _clone() method
PHP Magic methods
PHP mail using SMTP authentication
Send Mail using SMTP
SEO friendly URL
SEO Tips
SEO tips-2
SMTP mail
URL
URL Rewriting
Web.config
wordpress
_autoload() magic method




