library TestLib;
{$mode objfpc}{$H+}
uses
Classes;
function ReturnPHP(aText:string) :string; cdecl;
begin
ReturnPHP:='Success :'+aText;
end;
exports
vrni;
end.
The question is?
Can this ReturnPHP use in PHP?
I would like this lib "ReturnPHP" to load in php and execute the function in PHP
Is this possible?
This lib is written correctly for use in PHP?
How to use lib and function in php?