Ancestors
Toot
Written by dseguy on 2025-01-17 at 16:44
When using dynamic code with #PHP, the code must provide a string for the method or property name. Although,
- for methods, a non-string yields a Fatal error
- for properties, a non-string yields a silent type cast to string. That helps.
[#]phptip #phptrick
https://php-tips.readthedocs.io/en/latest/tips/method_not_property_name_must_be_string.html
=> View attached media
=> More informations about this toot | More toots from dseguy@phpc.social
Descendants
Proxy Information
- Original URL
- gemini://mastogem.picasoft.net/thread/113844700113055405
- Status Code
- Success (20)
- Meta
text/gemini
- Capsule Response Time
- 235.194061 milliseconds
- Gemini-to-HTML Time
- 0.320991 milliseconds
This content has been proxied by September (ba2dc).