note 118161 rejected from function.array-filter by cmb
| From: | cmb@php.net | Date: | Wed, 16 Dec 2015 15:13:17 +0000 |
| Subject: | note 118161 rejected from function.array-filter by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-204405@lists.php.net to get a copy of this message | ||
Note Submitter: josephyala at gmail dot com
----
Dose this has a good look?
<?php
class FP{
public $result;
public function info($data) {
$a = function($data)
{
return $data;
};
$this->result = $a($data);
return $this->result;
}
}
$obj = new FP();
echo $obj->info("I will like to go to the university for studies");
?>