PHP code example of fgsl / filter
1. Go to this page and download the library: Download fgsl/filter 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/ */
fgsl / filter example snippets
use Fgsl\Filter\FourOperations;
$filter = new FourOperations(['operation'=>'mul','value'=>2]);
$value = $filter->filter(24);
// $value is equal to 48