note 117633 deleted from function.get-class by cmb

From: Date: Mon, 13 Jul 2015 07:36:11 +0000
Subject: note 117633 deleted from function.get-class by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-203087@lists.php.net to get a copy of this message
Note Submitter: romeki ---- <?php class hello { public $name; public function sayhello() { echo "hello " . $this->name; } } $person = new hello(); $person->name='kevin'; $person->sayhello(); //next row do a warning: NOT define function sayhello(); //echo sayhello() . "<br />"; ?>

« previous php.notes (#203087) next »