Created
June 18, 2012 15:48
-
-
Save stealth35/2949028 to your computer and use it in GitHub Desktop.
Alias weird
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use DomDocument as Parser; | |
$p = new Parser(); | |
var_dump( | |
method_exists($p, 'load'), | |
method_exists('Parser', 'load') | |
); | |
/* | |
bool(true) | |
bool(false) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment