note 124500 added to function.call-user-func

From: Date: Wed, 11 Dec 2019 12:08:35 +0000
Subject: note 124500 added to function.call-user-func
Groups: php.notes 
Request: Send a blank email to php-notes+get-213507@lists.php.net to get a copy of this message
<?php class MyClass{ public function hello($str) { echo 'hello ' . $str; } } $obj = new MyClass(); [$obj, 'hello']('World'); // the array can be called as a function ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.195 (proxied: 240e:100:50:b3df:df94:d04a:5499:6161) ---- Manual Page -- http://php.net/manual/en/function.call-user-func.php Edit -- https://master.php.net/note/edit/124500 Del: integrated -- https://master.php.net/note/delete/124500/integrated Del: useless -- https://master.php.net/note/delete/124500/useless Del: bad code -- https://master.php.net/note/delete/124500/bad+code Del: spam -- https://master.php.net/note/delete/124500/spam Del: non-english -- https://master.php.net/note/delete/124500/non-english Del: in docs -- https://master.php.net/note/delete/124500/in+docs Del: other reasons-- https://master.php.net/note/delete/124500 Reject -- https://master.php.net/note/reject/124500 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#213507) next »