Voting

: min(three, five)?
(Example: nine)

The Note You're Voting On

dense
8 years ago
well, if you call get_class() on an aliased class, you will get the original class name

<?php

class Person {}

class_alias('Person', 'User');

$me = new User;

var_dump( get_class($me) ); // 'Person'

?>

<< Back to user notes page

To Top