title: PHP "Object" class
body: <p>I'd like to create a class called "Object" to be able to implement "toString()", "equal()"... The problem is that the "object" keyword is already taken and I wonder what would be the best implementation.</p>
  
  <p>The first option that comes up to my head is by using namespaces so I don't have any concurrency between php's "object" class and mine. The problem is that if I want to use the two "Object" class, I'll need to rename one of them in my code later.</p>
  
  <pre><code>namespace System
  {
      class Object
      {
  
      }
  }
  </code></pre>
  
  <p>...</p>
  
  <pre><code>use System\Object as Object1;
  use object as Object2;
  </code></pre>
  
  <p>An other option would be to call it differently. If you think its the best option, how would you call it?</p>
  
  <pre><code>class ObjectD
  {
  
  }
  </code></pre>
  
  <p>Do you have any better options?</p>