Skip to content

Instantly share code, notes, and snippets.

@maeharin
Created January 17, 2013 11:10
Show Gist options
  • Save maeharin/4555247 to your computer and use it in GitHub Desktop.
Save maeharin/4555247 to your computer and use it in GitHub Desktop.
<?php
namespace A;
class C
{
static function foo() {echo "A_foo\n";}
}
namespace B;
class C
{
static function foo() {echo "B_foo\n";}
}
\A\C::foo();
\B\C::foo();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment