Last active
July 3, 2018 14:54
-
-
Save kurtroberts/a5c630792e786313e0e1 to your computer and use it in GitHub Desktop.
When only the least elegant solution will do...
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 | |
//I have made a lot of nice things with PHP. But this isn't one of them. | |
if (!function_exists('lets_confuse_strings_and_symbols')) { | |
function lets_confuse_strings_and_symbols ($funny_function_name) { | |
return eval($$funny_function_name); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment