Created
July 15, 2015 06:48
-
-
Save jjsty1e/d575f0a89488c9a54927 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 | |
echo "hello"; | |
class Jake{ | |
private $name; | |
public function set($name){ | |
$this->name = $name; | |
} | |
} | |
$man = new Jake('Jakesoft'); | |
echo $man->name; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment