Created
March 10, 2015 11:38
-
-
Save tao-s/0b9220a80b04b91bb6eb 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 ほげ{ | |
var $プロパティ; | |
function ほげ(){ | |
$this->プロパティ = "ほげ"; | |
} | |
function はげ(){ | |
echo $this->プロパティ; | |
} | |
} | |
$ほげ = new ほげ(); | |
$ほげ->はげ(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment