update page now

Voting

: two minus one?
(Example: nine)

The Note You're Voting On

Anonymous
12 years ago
Reflecting an alias will give you a reflection of the resolved class.

<?php

class X {
    
}

class_alias('X','Y');
class_alias('Y','Z');
$z = new ReflectionClass('Z');
echo $z->getName(); // X

?>

<< Back to user notes page

To Top