PHP code example of aydin-hassan / strip-indent
1. Go to this page and download the library: Download aydin-hassan/strip-indent 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/ */
aydin-hassan / strip-indent example snippets
use function AydinHassan\stripIndent;
$multiLineString = '
<VirtualHost>
<one>
<two>
</two>
</one>
</VirtualHost>
';
echo stripIndent($line);
/**
<VirtualHost>
<one>
<two>
</two>
</one>
</VirtualHost>
**/