Welcome, Guest
Username: Password: Remember me
Components and Libraries for Web Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

How make lib for PHP 5 years 7 months ago #10843

  • usbdoo
  • usbdoo's Avatar Topic Author
  • Visitor
  • Visitor
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?

Please Log in or Create an account to join the conversation.

Last edit: by usbdoo.
  • Page:
  • 1