Created
May 31, 2015 22:35
-
-
Save nicolopignatelli/743c3cb5a036c5698ad3 to your computer and use it in GitHub Desktop.
PHP namespace fail
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 | |
function bar(){ | |
echo 'foo'; | |
}; | |
namespace Foo; | |
function foo(){ | |
echo 'foo'; | |
} | |
namespace Bar; | |
function foo(){ | |
echo 'foo'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment