PHP code example of vyacheslavlebedev / palindrome-counter
1. Go to this page and download the library: Download vyacheslavlebedev/palindrome-counter 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/ */
vyacheslavlebedev / palindrome-counter example snippets
$pc = new PalindromeCounter();
echo $pc->count(['Eva, can I see bees in a cave?', 'hello world', 'madam']); // 2