Closed Xerkus closed 6 years ago
I was digging it a bit before, and now I think it is not possible to have Traversable $_SESSION
and not StorageInterface
. I think this because we allow only StorageInterface
as session storage, and we should check only this.
I know that before we check there for Traversable
but I think it was wrong (it doesn't work correctly anyway) - so I think now we should remove traversable conditions at all.
It is superglobal, it can be set by something else and for that reason check makes sense.
@Xerkus
It is superglobal, it can be set by something else and for that reason check makes sense.
Should we care about it if it was set by something else, and it's not compatible with the library?
I'm not sure this conversion to array for traversable, because it is not recursive, and not sure if it should be....
yay. way to go pecl, way to go...
$ pecl -q install mongodb
pecl/mongodb is already installed and is the same as the released version 1.3.3
install failed
Thanks, @Xerkus
Traversable case is already covered in previous conditional block