SvenRtbg

Results 80 comments of SvenRtbg

IMHO, if it is not creating a huge mess attempting to describe what is valid for which version, I would always opt for keeping outdated PHP versions in the documentation....

I'll restrict myself to these two pages then, to avoid reworking the whole documentation. :) Didn't knew archived PHP5-docs were available.

JsonMapper usually works with public properties, or explicit setters, may even use reflection to gain access to protected/private properties. The error message you are presenting points at the classes you...

Assuming that you want to map to a class that is effectively utilizing/inheriting from that collection, and the collection inherits from `Model`, this `Model` class only implements `__get`, but has...

Depending on your interoperability requirements, I'd suggest using PHPs own `serialize()` and `unserialize()` functions. They may also not work in certain situations because some PHP strutures like closures are not...

This modified code does work: https://3v4l.org/H6dK5 class Foo { private array $i; public function &__get($key) { $this->i = [new stdclass]; return $this->i; } } $c = new Foo(); $c->bar[0]->barbar =...

Can you add a bit more context and explain the change you are proposing? Currently you are referring to "this behaviour" without explicitly stating which. What do you do? What...

I'm still on this, but things are a little bit more complicated. Even though I like the idea that the generated class can validate based on the schema, a schema...

Just to rephrase: - `bStrictNullTypes` defaults to on and will create a breaking behaviour by rejecting array entries that are NULL. - A new compatibility flag is added to retain...

This will fix the broken CI status, so please merge this first before any other pull requests are considered. They may be turn to successful build state afterwards if currently...