Answers for "php how to get function pointer of object"

PHP
0

php pointer function

function plus_by_reference( &$param ) {
      // what ever you do, will affect the actual parameter outside the function
      $param++;
}

$a=2;
plus_by_reference( $a );
echo $a;
// output is 3
Posted by: Guest on February-19-2021

Code answers related to "php how to get function pointer of object"

Browse Popular Code Answers by Language