PHP code example of jitsu / wrap
1. Go to this page and download the library: Download jitsu/wrap 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/ */
jitsu / wrap example snippets
use Jitsu\XArray;
use Jitsu\XString;
// Wisdom from the ancient Romans?
$s = new XString('Repus Terces Egassem');
// Maybe not...
echo $s->split()->map(function($s) {
return (new XString($s))->lowerFirst()->reverse()->capitalize();
})->join(' '), "\n";
// => Super Secret Message