PHP code example of sasezaki / php-extension-stub-generator

1. Go to this page and download the library: Download sasezaki/php-extension-stub-generator 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/ */

    

sasezaki / php-extension-stub-generator example snippets


$ php-extension-stub-generator.phar dump-files {extension name} {dir} 

$ php-extension-stub-generator.phar dump-files ast tmp

$ php -d extension=/home/you/git/nikic_php-ast/modules/ast.so php-extension-stub-generator.phar dump-files ast tmp