Added a default_charset for this test (otherwise this one fails if the php.ini is set to something different)
Fixed some segfaults when passing objects (instead of arrays) to user methods or predefined methods (+ added test)
Used HASH_OF in favour of Z_ARRVAL_P (since this macro takes care of objects)
Fixed 2 more segfaults with objects (include and if) + added tests
Merge pull request #2 from poison/fixes-objects

Fixes objects