Last active
December 30, 2015 21:25
-
-
Save gabrieljmj/686f41aeaf99516d3b83 to your computer and use it in GitHub Desktop.
PHP OO
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 | |
| class PhpVanilla | |
| { | |
| public function __call($name, array $args) | |
| { | |
| return call_user_func_array($name, $args); | |
| } | |
| } | |
| $php = new PhpVanilla; | |
| echo $php->strlen('Hello'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment