Skip to content

Instantly share code, notes, and snippets.

@lukehedger
Created Mar 20, 2014
Embed
What would you like to do?
Quick object in PHP
$obj = (object) array('prop' => value, 'prop' => $var);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment