PHP code example of mukhametali-kussaiynov / otus-composer-package
1. Go to this page and download the library: Download mukhametali-kussaiynov/otus-composer-package 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/ */
mukhametali-kussaiynov / otus-composer-package example snippets
$checker = new PalindromeChecker();
$string = "A man, a plan, a canal, Panama";
echo $checker->isPalindrome($string) ? "Palindrome" : "Not a palindrome";
echo PHP_EOL;