title: PHP5 - What is the cost of RTTI (get class' name and etc.) in PHP5?
body: <p>I notice that some PHP frameworks, such as Kohana and CodeIgniter would look at the class name of a class to perform auto-loading. Traditionally, RTTI is expensive for C++; how expensive it is for PHP5, in comparison to:</p>
  
  <ol>
  <li>A direct message call</li>
  <li>Looking up a key in an associative array</li>
  <li>Doing a message call via variables ( $class = 'foobar'; $method = 'foo'; $class->$method() )</li>
  </ol>