php list all the functions in a class

this should return in an array the methods or functions for a class


// get_class_methods ( mixed $class_name ) : array

// print the methods nicely from the array
$functions_methods = get_class_methods ( $functions );
$functions_methods_print = print_r ( $functions_methods , true );
echo $functions_methods_print = "<h4>Functions Class Methods</h4><pre class='pre-line'>$functions_methods_print</pre>";

External Link for php list all the functions in a class

Other Items in php

No Items Found.

Add Comment
Type in a Nick Name here
Page Views

This page has been viewed 120 times.

Search Code
Search Code by entering your search text above.

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.


Random Quote
therock Somewhere along this crazy road I learned (often times the hard way) the most important things I can do is be authentic, trust my gut, be the hardest worker in the room, celebrate the mistakes, be a grateful man and always remember that it's nice to be important, but it's more important to be nice.
The Rock