Do you know what's the difference between __sleep and __wakeup?
Answer / Amardeep
__sleep() is a magic method called during serialization of an object in PHP. It returns an array containing all the properties that should be serialized. The resulting array can then be unserialized using unserialize(). `__wakeup()` is a magic method called when an object is being unserialized.
| Is This Answer Correct ? | 0 Yes | 0 No |
How variables are passed through arguments?
Is it possible multiple inheritance in php?
Write a program to display a table of any given number?
Which Scripting Engine PHP uses?
Write the statements that are used to connect php with mysql
How to execute an sql query?
What is data structure in php?
what mode to use when creating dirs with mkdir?
What's diffrence between Get() and Post() Function
is anybody upload more than 100mb file using PHP upload script in ONLINE SERVER (using .htaccess file)? please give some idea...
What is the difference between Reply-to and Return-path in the headers of a mail function?
Is it easy to learn php?