PHP code example of itsmelepassos / palindrome
1. Go to this page and download the library: Download itsmelepassos/palindrome 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/ */
itsmelepassos / palindrome example snippets
/**
* Calls the composer autoload. Then, calls the respective class for the palindrome.
* Chama o autoload do composer. Então, chame a classe respectiva para o palindrome.
*/
tipo número ou texto que podem ser avaliados pelo método setPalindrome()
* Examples of number or text values that can be evaluated by the setPalindrome() method
*/
$palindrome01 = $palindrome->setPalindrome('105501');
$palindrome02 = $palindrome->setPalindrome('160678');
$palindrome03 = $palindrome->setPalindrome('Subi no ônibus');
$palindrome04 = $palindrome->setPalindrome('Socorram-me! Subi no ônibus em Marrocos');