Hi!

Working on unserialize edge case patches backporting, I've discovered
that object_properties_load() function crashes if the properties array
contains non-string keys (which can happen on unserialize). Now, I can
fix the crash, but I can fix it in two ways:
1. Ignore such keys (i.e. such properties will be banned, BC break
against 5.x)
2. Treat such keys as in 5.x i.e. insert them in the hash.

So, I wanted to know if dropping non-string keys there was intentional
or not?
-- 
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