Hi!

> For example, I just recently fixed a bug, that did this: `$array['key'] +=
> $cost` - the array key was not initialised. Well, turned out that in this
> case instead of null, it actually grabbed some garbage number out of memory

This would be a serious engine bug that you should submit to
bugs.php.net (probably as security issue, because "garbage from memory"
can contain sensitive data, and such bug could leak things like SSL
private keys outside). This however should not be part of this
discussion since this is engine bug, not expected behavior.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to