Calling SWI-Prolog from PHP (short)

Prolog 
was called 
from PHP 
successfully.
successfully.
Array
(
    [0] => Prolog
    [1] => was called
    [2] => from PHP
    [3] => successfully.
)

Prolog 
was called 
from PHP 
successfully.