Skip to content

Instantly share code, notes, and snippets.

@cirpo
Last active December 11, 2015 21:29
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 cirpo/4662880 to your computer and use it in GitHub Desktop.
Save cirpo/4662880 to your computer and use it in GitHub Desktop.
<?php
class bar extends Foo
{
public function hello($name, $surname)
{
echo "hello";
}
}
?>
<?php
class Foo
{
public function hello($name)
{
echo "hello".$name;
}
public function sayWhat()
{
echo $foo;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment