Posts by Rafael Corrêa • 1 point
1 post
-
-3
votes3
answers104
viewsA: How does inheritance work with "Constructor Property Promotion" in PHP 8?
Yes, it will work. See the official PHP documentation has an example very similar to yours: https://www.php.net/manual/en/language.oop5.inheritance.php…