Quote:
Originally Posted by Killswitch
PHP Code:
<?php
class person {
var $email = 'foo';
}
class user extends person {
function showEmail() {
echo $this->email;
}
}
$u = new user();
$u->showEmail();
?>
 
|
Sure, but that's gone back to PHP4 style OOP...