Skip to content

Instantly share code, notes, and snippets.

@jamiehannaford
Created September 12, 2013 21:39
Show Gist options
  • Save jamiehannaford/6544206 to your computer and use it in GitHub Desktop.
Save jamiehannaford/6544206 to your computer and use it in GitHub Desktop.
PHP test
<?php
class TestA {
public $foo = 'bar';
}
$class = new TestA();
var_dump((array) $class);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment