mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-26 10:25:41 +00:00
The core issue is that undefined variables are refcounted (refcount != 0) while is_ref is still set to 0. I don't know whether this is a bug in the engine, but is it not the first time this irregularity has caused problems for the session extension. The irregularity confused ZEND_SET_SYMBOL_WITH_LENGTH which then did the wrong thing WRT null values. Fortunately, nulls can simply be ignored in this case, thus the old code is restored and a new condition is added.