Last active
October 12, 2015 18:28
-
-
Save sarfraznawaz2005/268b17b866ef377d9f09 to your computer and use it in GitHub Desktop.
example of how to know about methods of a class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
foreach(get_class_methods(new ArrayObject()) as $key=>$method) | |
{ | |
echo $key.' -> '.$method.'<br />'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment