Last active
December 11, 2015 21:29
-
-
Save cirpo/4662880 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
class bar extends Foo | |
{ | |
public function hello($name, $surname) | |
{ | |
echo "hello"; | |
} | |
} | |
?> | |
This file contains hidden or 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 | |
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