PHP code example of aternus / stringy-patterns

1. Go to this page and download the library: Download aternus/stringy-patterns 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/ */

    

aternus / stringy-patterns example snippets


use Stringy\Patterns as P;

// get all patterns
$results_array = P::create('abcdabcdab')->getPatterns();

// get all patterns, 





use Stringy\Patterns as P;