Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 194 Bytes

InaccessibleClassConstant.md

File metadata and controls

12 lines (9 loc) · 194 Bytes

InaccessibleClassConstant

Emitted when a public/private class constant is not accessible from the calling context

<?php

class A {
    protected const FOO = 'FOO';
}
echo A::FOO;