title: Are private constants possible in PHP?
body: <p>PHP does not allow</p>
  
  <pre><code>class Foo
  {
      private const my_private_const;
  </code></pre>
  
  <p>but of course allows</p>
  
  <pre><code>const my_const;
  </code></pre>
  
  <p>So in effect constants are global because I can access <code>my_const</code> anywhere using <code>Foo::my_const</code></p>
  
  <p>Is there a way to make private constants?</p>