Développement Web Multi-Applicatif

Sur mon github
https://github.com/Duwab/nginx-https-php-nodejs-websocket

var message = "Hello world!";
function doTheAlert() {
    alert(message);
}
doTheAlert();
/*
   Person Class
*/
public class Person {
    private $name = "anonym";
    public function __construct($name) {
        $this->name = $name
    }
    public function getName(){
        return $this->name;
    }
}

$me = new Person("Leonardo");
echo $me->getName();

Leave a Reply

Your email address will not be published. Required fields are marked *