]> granicus.if.org Git - php/commit
Implement a php function so that the following SQL can be used:
authorWez Furlong <wez@php.net>
Thu, 17 Apr 2003 03:14:14 +0000 (03:14 +0000)
committerWez Furlong <wez@php.net>
Thu, 17 Apr 2003 03:14:14 +0000 (03:14 +0000)
commitc73e304dc25c44a45505f60450f788fac773ac61
tree71e1551b70b4cf35904dcdc828f475f7387c5137
parent2cd55ce73bb5de9a842276c5acf0b619863ca756
Implement a php function so that the following SQL can be used:

  SELECT php('md5', sql) from sqlite_master

The php function has takes the name of a php function to call as the first
parameter; each additional parameter is passed on to the function, much like
call_user_func().

You can call both built-in and script-defined functions in this way.
ext/sqlite/sqlite.c