PHP code example of xtlsoft / zephir-c-call

1. Go to this page and download the library: Download xtlsoft/zephir-c-call library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

xtlsoft / zephir-c-call example snippets


composer 

composer g 

c_

c_call(
    string ret_type, string func_name,
    [string param1_type, string param1_value,
    [string param2_type, string param2_value,
    [string...
);

c_runf(
    string ret_type, string expr,
    [string arg1, [string arg2, [string arg3...
);