Re: Re: Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13

From: Date: Fri, 20 Jun 2014 00:58:54 +0000
Subject: Re: Re: Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-75014@lists.php.net to get a copy of this message
Hi! > Wouldn't it be much easier to just revert for 5.4 and 5.5 and then > patching ReflectionClass#newInstanceWithoutConstructor() to > just > handle internal PHP classes as well? We can not just handle internal PHP classes without calling their ctor. That's the whole problem - for internal class, if ctor is not called, you can get segfault on anything you do with the class. > Is there a technical limitation for this? > Are there security problems related to the patch that broke > phpunit/doctrine? If not, can the patch simply be delayed and only > applied to 5.6? Right now we know this thing can produce segfaults. But running code on unititialized data may be worse than that. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#75014) next »