Adding a function
15/35
Adding a function
Function parameters
After generating and compiling the new extension we can test it using the folling small script:
<?php
// x3.php
dl
(
"x3.so"
);
echo
foobar
();
?>
And, as expected, the result of this little script is
'foobar'
$ php x3.php foobar