Send your favorite #opensource developer on vacation !
"There is currently no way to make a property readable to everyone and writeable only to the containing object, with PHP's visibility specifiers allowing all or nothing: a scope can either both read and write, or do neither. While __get and __set exist, these do not actually allow control of the same property, merely only exposing a separate property, and they are only usable for undeclared properties, which cannot be reflected and are not performant."
it works with a setter
and so does __set()
but only when property is private or protected
anyway.... simply do not understand why readonly can not be initialized directly
wondering whether there is a reason for readonly properties in #php can not be initialized from global scope
anyone got a clue ?
the ext-php-rs project, used to build PHP extensions in Rust, is looking for new maintainers
Web Push is coming to Safari 16 on macOS Ventura. It sends notifications even if Safari is closed. Is built with the same web technologies as other browsers. Doesn’t require an Apple Developer Program membership. And is coming to iOS and iPadOS next year.
If you use Symfony or are interested in doing so, the official Symfony Framework Best Practices are available here. https://symfony.com/doc/current/best_practices.html #Symfony
LazyDocker does look interesting even if I’m quite happy with my current workflow
I really like what @Crell wrote here:
espcially like the Error marker suggestion that would be handled by ?? and ?->