1. cd your-php-src/ext
2. ./ext_skel.php --ext wcl
3. write your code
cd cd your-php-src/ext/wcl
make clean
# product configure file
phpize
# generate compile need
./configure --with-php-config=`which php-config`
# compile
make
make install
cat main.php
# var_dump(wcl('/var/www/html/ext/main.php'));
php -d "wcl.filter_blank=0" -c your-php-install-path/php.ini main.php