|
From: Bob D. <bd...@si...> - 2005-05-13 15:12:28
|
Hi,
>
> Definitely. The ability to hook into a custom function would be great.
> The PHP interface seems a little low level, though, I wonder if there's
> a way to hide some details.
>
> If it gets that far, it might not be too much of a stretch to run built
> in PHP functions on rlib data. That would open up a great wealth of
> functions, obviously.
>
I could make it:
<?
custom_function($name, $value) {
return $$name[$value];
}
?>
(I guess that simplifies things for PHP People ;) )
If you can tell me how to call a PHP function w/ variables from c I'll
make this the "short term" solution.
It would probably only take me an hour or 2 to do this.
|