On 13.11.2015 12:59, Bob Weinand wrote:
The alternative is replacing the resources by proper objects, without methods
and public properties.
Then we could integrate it into our object hierarchy in a very lightweight way
with proper typing.
Having special syntax doesn't really improve it much...
Bob
I just looked at this again, and I don't know how I could miss this for
so long, but we already have SplFileObject. Wouldn't it make sense to
let fopen() and complementary functions use that?
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@dasprids.de
Zend Framework | http://www.dasprids.de
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php