11 lines
126 B
Plaintext
11 lines
126 B
Plaintext
|
<?php
|
||
|
// A sample class
|
||
|
class Human {
|
||
|
$age = 0;
|
||
|
function birthday() {
|
||
|
$age++;
|
||
|
echo 'Happy Birthday!';
|
||
|
}
|
||
|
}
|
||
|
?>
|