Re: Re: PHP (anti) crash policy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On October 3, 2004 12:46, Olaf van der Spek wrote:
> Manuel Lemos wrote:
> > Hello,
> >
> > On 10/03/2004 12:27 PM, Olaf Van Der Spek wrote:
> >>> I think that making all failed memory allocations recoverable is not
> >>> viable because more PHP C code that makes memory allocations assumes
> >>> it only returns if it succeeds. Trying to change that everywhere
> >>> memory is allocated is and monster job that I doubt that any PHP core
> >>> developer will agree on doing.
> >>
> >> You could just create a new function for that: alloc_no_exception
> >> There's no need to change every call, you'd only need to change the
> >> calls that can take a NULL result.
> >
> > I find it hard to justify such function
>
> Why?
> I think a large number of data handling functions would benefit from
> such a function.
> And it'd make PHP more robust.

Olaf, PHP is an open source language is it not?  Since you're so smart why 
don't YOU write the code?
-- 
Regards,
David Bevan

http://www.getanyideas.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux