also that would introduce BC issues.
Can you show a use case for BC?
Current implementation:
<?php
class ActiveRecord
{
public static function findByPk($id)
{
var_dump(get_called_class()); // Blog
var_dump(get_class()); // ActiveRecord
var_dump(__CLASS__); // ActiveRecord
}
}
class Blog extends ActiveRecord {}
Blog::findByPk(1);
?>
The __CLASS__ and the get_class() is the same like in the current PHP
version, and the get_called_class() is not yet introduced. Or do I
overlook something?
Best Regards,
Felhő
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php