Skip to content

Instantly share code, notes, and snippets.

@nicolopignatelli
Created May 31, 2015 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicolopignatelli/743c3cb5a036c5698ad3 to your computer and use it in GitHub Desktop.
Save nicolopignatelli/743c3cb5a036c5698ad3 to your computer and use it in GitHub Desktop.
PHP namespace fail
<?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