Re: [PHP-DEV] trigger GC before memory limit is exhausted

2015-05-15 Thread Dan Ackroyd
Hi Christopher, On 15 May 2015 at 23:14, Christoph Becker wrote: > Hello internals, > > today I have been pointed to bug #60982[1], which appears to be an > unpleasant limitation. > It sure is! > I wonder why the GC is not triggered when the memory limit is exhausted, To hopefully point you in

[PHP-DEV] trigger GC before memory limit is exhausted

2015-05-15 Thread Christoph Becker
Hello internals, today I have been pointed to bug #60982[1], which appears to be an unpleasant limitation. I wonder why the GC is not triggered when the memory limit is exhausted, what would avoid the script to end prematurely if there are uncollected cycles. I've tried out a (maybe too simplist

Re: [PHP-DEV] PHP 5.6.9 is available

2015-05-15 Thread Ferenc Kovacs
On Fri, May 15, 2015 at 10:04 PM, Rainer Jung wrote: > Am 15.05.2015 um 11:11 schrieb Ferenc Kovacs: > >> Hello! >> >> The PHP development team announces the immediate availability of PHP >> 5.6.9. Seven security-related bugs were fixed in this release. >> >> All PHP 5.6 users are encouraged to u

Re: [PHP-DEV] PHP 5.6.9 is available

2015-05-15 Thread Rainer Jung
Am 15.05.2015 um 11:11 schrieb Ferenc Kovacs: Hello! The PHP development team announces the immediate availability of PHP 5.6.9. Seven security-related bugs were fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version. For source downloads of PHP 5.6.9 please visit o

Re: [PHP-DEV] Bug #69640 Unhandled EngineExceptions thrown from userland do not produce any output

2015-05-15 Thread Dan Ackroyd
On 15 May 2015 at 17:12, Xinchen Hui wrote: >> How would that work when people want to write unit/integration tests >> to test the behaviour of a module when an EngineException is thrown? >> >> If you can't create a certain type of exception, it would mean that >> some code is basically untestable

Re: [PHP-DEV] Bug #69640 Unhandled EngineExceptions thrown from userland do not produce any output

2015-05-15 Thread Xinchen Hui
Hey: >> On May 16, 2015, at 12:35 AM, Dan Ackroyd wrote: >> >> On 15 May 2015 at 14:38, Xinchen Hui wrote: >> Hey: >> >> as described in https://bugs.php.net/bug.php?id=69640&thanks=1 >> >> instead of fixing it by exam the error type, I'd prefer to >> disallow initializing a engine excep

Re: [PHP-DEV] Bug #69640 Unhandled EngineExceptions thrown from userland do not produce any output

2015-05-15 Thread Dan Ackroyd
On 15 May 2015 at 14:38, Xinchen Hui wrote: > Hey: > > as described in https://bugs.php.net/bug.php?id=69640&thanks=1 > > instead of fixing it by exam the error type, I'd prefer to > disallow initializing a engine exception from user land.. How would that work when people want to write

[PHP-DEV] PHP 5.5.25 is available

2015-05-15 Thread Julien Pauli
Hello! The PHP development team announces the immediate availability of PHP 5.5.25. Several bugs have been fixed. All PHP 5.5 users are encouraged to upgrade to this version. For source downloads of PHP 5.5.25 please visit our downloads page: http://www.php.net/downloads.php Windows binaries c

[PHP-DEV] Bug #69640 Unhandled EngineExceptions thrown from userland do not produce any output

2015-05-15 Thread Xinchen Hui
Hey: as described in https://bugs.php.net/bug.php?id=69640&thanks=1 instead of fixing it by exam the error type, I'd prefer to disallow initializing a engine exception from user land.. like if you try to initialize a engine/type/parser exception, an E_ERROR of: PHP Fatal erro

Re: [PHP-DEV] PHP 5.4.41 Released

2015-05-15 Thread Yasuo Ohgaki
Hi Stas, Thank you for pcntl_exec() null byte fix. I forgot this. I've closed the bug. I'll start dealing with assigned bugs soon... Regards, -- Yasuo Ohgaki yohg...@ohgaki.net On Fri, May 15, 2015 at 4:20 PM, Stanislav Malyshev wrote: > Hello! > > The PHP development team announces the imme

Re: [PHP-DEV] Adding "numeric" type hint

2015-05-15 Thread Yasuo Ohgaki
Hi David, On Fri, May 15, 2015 at 2:12 PM, David Muir wrote: > I still don’t see how you can put the blame for the unhanded exception on > type hints. The problem you’re describing is not new and exists today with > libraries using code like this: > > function foo($int) { > if(!is_int($int))

[PHP-DEV] PHP 5.6.9 is available

2015-05-15 Thread Ferenc Kovacs
Hello! The PHP development team announces the immediate availability of PHP 5.6.9. Seven security-related bugs were fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version. For source downloads of PHP 5.6.9 please visit our downloads page: http://www.php.net/downloads.

[PHP-DEV] PHP 5.4.41 Released

2015-05-15 Thread Stanislav Malyshev
Hello! The PHP development team announces the immediate availability of PHP 5.4.41. Seven security-related bugs were fixed in this release. All PHP 5.4 users are encouraged to upgrade to this version. For source downloads of PHP 5.4.41 please visit our downloads page: http://www.php.net/download