3v4l.org

run code in 500+ PHP versions simultaneously
simplexml_load_string('', NULL, LIBXML_NOCDATA); die(); var_dump($rm->getDocComment()); <?php class T { /** * @GET test/resource */ public function actionDefault() { } } $rc = new ReflectionClass(new T()); $rm = $rc->getMethod('actionDefault'); var_dump($rm->getDocComment());
Output for master
simplexml_load_string('', NULL, LIBXML_NOCDATA); die(); var_dump($rm->getDocComment()); string(37) "/** * @GET test/resource */"

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
16.29 ms | 1176 KiB | 7 Q