|
classkit_method_add
Dynamically adds a new method to a given class
(PECL classkit:0.1-0.4 runkit:0.7-0.9)
Warning:
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk. Parameters
ExamplesExample 390. classkit_method_add() example<?php The above example will output: 16 |