Nikita Popov
Nikita Popov
Thanks for testing! And yeah, I can put up a LangRef patch sometime next week.
Does that mean that `__toString()` will be a debugging handler? I don't think that matches usual semantics, and we already have `var_dump()`.
Why does this need a global at all?
Why can't it be passed along as a context pointer? As you aren't using zend_hash_sort, you shouldn't be limited by a context-free comparator.
Huh, you're right. I could have sworn there was a qsort_ex variant, but looks like there isn't :(
@rtheunissen Yes-ish. I'd assume you wouldn't want to have the same comparison semantics as a property comparison would give you. In particular, those would be weak and I doubt you'd...
However, shouldn't sorting also be forbidden while iterating? If you mix modcount usage for both, this will not be properly enforced, right?
@githubeing Please create a report on bugs.php.net. That UNKNOWN:0 is definitely a bug.
@rtheunissen #34 fixed the loading order issue for static builds. I guess to fix it for so's we should add ``` PHP_ADD_EXTENSION_DEP(ds, spl) PHP_ADD_EXTENSION_DEP(ds, json) ``` to the config.m4.
The w32 variant is `ADD_EXTENSION_DEP('ds', 'spl')` etc.