Created
March 3, 2010 16:12
-
-
Save xosofox/320706 to your computer and use it in GitHub Desktop.
stdClass (note to self)
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
// I can never remember the "stdClass" - but it's extremely handy when creating an object that needs to be converted to JSON afterwards... | |
$c = new stdClass; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment