Created
May 17, 2013 00:50
-
-
Save kaja47/5596254 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| namespace Really\Long\Namespace; | |
| class A { | |
| static function myfunc() {} | |
| const myfunc = 'Really\Long\Namespace\A::myfunc' | |
| } |
This file contains hidden or 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 Really\Long\Namespace\A; | |
| $f = 'Really\Long\Namespace\A::myfunc'; // class-ter fuck | |
| $f = A::myfunc; // it almost look like we don't fuck around with strings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment