Created
September 11, 2015 00:35
-
-
Save wbars/2442d44fd67b6e7b5937 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
class Ancestor | |
{ | |
private static test() | |
{ | |
echo "Ancestor::test"; | |
} | |
public static proxy() | |
{ | |
self::test(); | |
} | |
} | |
class Offspring extends Ancestor | |
{ | |
private static test() | |
{ | |
echo "Offspring::test"; | |
} | |
} | |
Offspring::proxy(); |
ivkalita
commented
Sep 11, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment