Ajouter un commentaire

markove
php5

bonjour je viens de travailler avec php5 je ne sais pas l'erreur que j'ai met merci en avance

<?php 
Class personne
{public $nom="mourad";
public $prenom="nihad";
public function__construct($nom,$prenom)
{
$this->nom=$nom;
$this->prenom=$prenom;}
$test= new personne("mourad","nihad");
print($test->nom);} 
?>

Filtered HTML

Plain text

CAPTCHA
Cette question permet de vérifier que vous n'êtes pas un robot spammeur :-)
 ZZZZZ  ZZZZZ  K  K  BBBB   RRRR  
Z Z K K B B R R
Z Z KK BBBB RRRR
Z Z K K B B R R
ZZZZZ ZZZZZ K K BBBB R RR