PHP PHP 8.3の型付きクラス定数で、子クラスの上書きを型で縛る Bynori 8月 24, 2026 型付きクラス定数とは、PHP 8.3から使える const string FOO = ‘bar’; のような書…