You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I expected this output instead: (actually this is wrong too, since it's not "private" either, since ReflectionProperty fails. Not sure what is going on here)
Well, don't know about that extension (consider to ask Tideways), but I would assume that these properties are implemented similar to DateTime properties (see https://3v4l.org/Y684E). That is certainly not a bug in var_dump() or property_exists(), but rather a limitation of the extension.
Description
I was using tideways PHP https://tideways.com/profiler/downloads "Span" https://support.tideways.com/documentation/reference/php-extension/custom-timespans.html
For some reason
var_dump
shows that the object has public properties, but upon accessing them, it fails, since these properties are not actually public.property_exists()
also returns false on itReflectionProperty also fails
Which would mean it doesn't exist at all, neither privately nor publically.
Not sure what is going on here
The following code:
https://support.tideways.com/documentation/reference/php-extension/custom-timespans.html
Resulted in this output:
But I expected this output instead: (actually this is wrong too, since it's not "private" either, since ReflectionProperty fails. Not sure what is going on here)
PHP Version
8.3
Operating System
No response
The text was updated successfully, but these errors were encountered: