Hi Marco, Marco Pivetta wrote:
Since the engine is clueless about types until autoloading happens, this is easily solvable by providing a marker syntax for non-object hints. For instance `function foo() : enym:MyEnum {}`
If we're going to do prefixes for non-classes, we might as well copy C outright: `enum MyEnum`.
Thanks. -- Andrea Faulds https://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php