On Wed, 3 Mar 2004, Todd Ruth wrote:
> Finding those bugs when you have tens of thousands of lines of > php can be a real headache. That's why I'd very much like > a disallow_copies function.
But as you demonstrated with your patch you need to modify some of the basic data types that PHP uses and thus increasing memory footprint and decreasing performance. It is therefore very unlikely that this will be ever allowed into the PHP source.
Yep, I agree with Derick. Needless to say that it's very dangerous to try and make sense out of the low level stuff the engine and the PHP extensions are doing (such as copy constructing, separating and other stuff).
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php