PHP code example of crocciari / htmlchars

1. Go to this page and download the library: Download crocciari/htmlchars 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/ */

    

crocciari / htmlchars example snippets




rocciari\HtmlChars;

$html = new HtmlChars;

$result = $html->getString("Hello World 2024");

var_dump($result);