??= will also assign the value on first call, besides checking if it's set, meaning that the second time it gets reached it will have a value assigned and PropertyAccess::createPropertyAccessor() will no longer get called.
?? is just a classic isset check meaning the call to createProperyAccesor() is made every time it gets reached.
They're quite different although they look similar.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
??= will also assign the value on first call, besides checking if it's set, meaning that the second time it gets reached it will have a value assigned and
PropertyAccess::createPropertyAccessor()
will no longer get called.?? is just a classic isset check meaning the call to
createProperyAccesor()
is made every time it gets reached.They're quite different although they look similar.