Created
June 29, 2010 20:48
-
-
Save brennen/457794 to your computer and use it in GitHub Desktop.
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 | |
class foo { | |
function __construct ($arg) { | |
echo $arg; | |
} | |
} | |
class bar extends foo { | |
} | |
$baz = new foo('hi'); | |
?> | |
# sez hi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment