note 117633 added to function.get-class

From: Date: Mon, 13 Jul 2015 05:19:07 +0000
Subject: note 117633 added to function.get-class
Groups: php.notes 
Request: Send a blank email to php-notes+get-203086@lists.php.net to get a copy of this message
<?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 />"; ?> ---- Server IP: 72.52.91.14 Probable Submitter: 121.23.134.61 ---- Manual Page -- http://php.net/manual/en/function.get-class.php Edit -- https://master.php.net/note/edit/117633 Del: integrated -- https://master.php.net/note/delete/117633/integrated Del: useless -- https://master.php.net/note/delete/117633/useless Del: bad code -- https://master.php.net/note/delete/117633/bad+code Del: spam -- https://master.php.net/note/delete/117633/spam Del: non-english -- https://master.php.net/note/delete/117633/non-english Del: in docs -- https://master.php.net/note/delete/117633/in+docs Del: other reasons-- https://master.php.net/note/delete/117633 Reject -- https://master.php.net/note/reject/117633 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#203086) next »