>> seems to work fine here.
>> What are your php.ini (memory related) settings?
>> /usr/local/bin/php --ini
>> and get the location of the php.ini file that is getting used. Check
>> our the memory settings in that file.
> Some general options:
> max_input_time = 60
> max_execution_time = 120
> memory_limit = 128M
> and the last one I have just noticed (that is why it reports the leak):
> report_memleaks = On
> In case I set this to Off it just stops bugging me. But is there a
> memory leak?
> And if yes should I report this as a bug ?
1. report_memleaks is a core php.ini setting (not suhosin) (I don't
2. you still get the leak if you disable suhosin extension
3. you can create a small reproduction script (seems you have one, but
check that it's the getopt() call that triggers the leak)
4. you can show the mem leak in 5.2.9RC2 and/or php5.3dev
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php