Created
April 12, 2013 15:32
-
-
Save stevedev/5372900 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Will save the object cache before object is completely destroyed. | |
* | |
* Called upon object destruction, which should be when PHP ends. | |
* | |
* @since 2.0.8 | |
* | |
* @return bool True value. Won't be used by PHP | |
*/ | |
function __destruct() { | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment