Created
October 20, 2018 06:12
-
-
Save AbirHasnat/88c8827c3531ba56505be73e01d0149d 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 | |
class person{ | |
public $name = "Hello World"; | |
public $username ="Abir Hasnat"; | |
public $password = "123"; | |
public function login(){ | |
return "Login Hosse.."; | |
} | |
} | |
$dummy = new person(); | |
echo $dummy -> username."<br>"; | |
echo $dummy -> password; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment