PHP code example of aleksandr-dolgov / otus-student-package

1. Go to this page and download the library: Download aleksandr-dolgov/otus-student-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/ */

    

aleksandr-dolgov / otus-student-package example snippets



$reverser = new IntReverser();
echo $reverser->reverseInt(1234567); // 7654321
echo $reverser->reverseString('abc'); // cba