php-zephir-parser
php-zephir-parser copied to clipboard
Object type declaration, syntax error
The parser doesn't recognize type object declaration. Maybe it's not a native C type so I just want to point it out. But method argument hint type works as intended.
object obj = new stdClass; //---> throw error syntax
A workaround is to use var obj
@flyingangel Thank you for pointing this out. Actually this was in my personal TODO list.