Created
February 3, 2016 22:09
-
-
Save efiku/9c515308a6c0b1c2fd9d to your computer and use it in GitHub Desktop.
Shitt
This file contains 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 | |
$object = new DateTime(); | |
$object->modify("+1 day"); | |
return $object; |
This file contains 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 | |
$dateTime = require "a.php"; | |
print_r($dateTime); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment