Comments - PHP source for UDF in Maria

8 years, 5 months ago Federico Razzoli

Technically, UDF's can only be written in C.

But you can achieve this by using Gearman. You should install Gearman UDF, anche use it to call a PHP script via Gearman. https://launchpad.net/gearman-mysql-udf

Or you can write a C UDF that calls a PHP script. The script should return its output as text (just like scripts called via the command line) and the UDF will convert it to the right type.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.