note 120213 added to class.reflectionclass

From: Date: Wed, 23 Nov 2016 05:17:17 +0000
Subject: note 120213 added to class.reflectionclass
Groups: php.notes 
Request: Send a blank email to php-notes+get-207523@lists.php.net to get a copy of this message
<?php function myReflectionFunction($fname) { $reflFunc = new ReflectionFunction($fname); //print $reflFunc->getFileName() . ':' . $reflFunc->getStartLine(); $array['function_name'] = $fname; $array['getFileName'] = $reflFunc->getFileName(); $array['getStartLine'] = $reflFunc->getStartLine(); $array['getParameters'] = $reflFunc->getParameters(); $array['getNamespaceName'] = $reflFunc->getNamespaceName(); $array['getNumberOfParameters'] = $reflFunc->getNumberOfParameters(); pr($array); die(); } ?> ---- Server IP: 103.24.202.177 Probable Submitter: 115.249.5.210 ---- Manual Page -- http://php.net/manual/en/class.reflectionclass.php Edit -- https://master.php.net/note/edit/120213 Del: integrated -- https://master.php.net/note/delete/120213/integrated Del: useless -- https://master.php.net/note/delete/120213/useless Del: bad code -- https://master.php.net/note/delete/120213/bad+code Del: spam -- https://master.php.net/note/delete/120213/spam Del: non-english -- https://master.php.net/note/delete/120213/non-english Del: in docs -- https://master.php.net/note/delete/120213/in+docs Del: other reasons-- https://master.php.net/note/delete/120213 Reject -- https://master.php.net/note/reject/120213 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#207523) next »