Re: [PHP-DEV] PHP 7 : Cannot use stream wrappers during MINIT

2015-11-20 Thread François Laupretre
Le 09/11/2015 16:41, Dan Ackroyd a écrit : On 6 November 2015 at 00:08, François Laupretre wrote: Hi, An uninitialized HashTable generally is filled with 0s. Today, using an uninitialized HashTable goes undetected, even in debug mode (because HT_OK == 0), and is very hard

Re: [PHP-DEV] PHP 7 : Cannot use stream wrappers during MINIT

2015-11-09 Thread Dan Ackroyd
On 6 November 2015 at 00:08, François Laupretre wrote: > Hi, > > An uninitialized HashTable generally is > filled with 0s. Today, using an uninitialized HashTable goes undetected, > even in debug mode (because HT_OK == 0), and is very hard to track. Uninitialized variables

[PHP-DEV] PHP 7 : Cannot use stream wrappers during MINIT

2015-11-05 Thread François Laupretre
Hi, First, I don't know if this must be considered as a bug, because a lot of features are not available during MINIT but it seems quite inconsistent. I precise I'm using the 7.x master branch (I don't know if it works on 5.x or not). I am writing an extension where I need to read a file