REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 638 B
Close
//proc/thread-self/root/home/getspomw/itechservicellc.com/vendor/masterminds/html5/bin/entities.php
Text
Base64
<?php /** * Fetch the entities.json file and convert to PHP datastructure. */ // The URL to the official entities JSON file. $ENTITIES_URL = 'http://www.w3.org/TR/2012/CR-html5-20121217/entities.json'; $payload = file_get_contents($ENTITIES_URL); $json = json_decode($payload); $table = array(); foreach ($json as $name => $obj) { $sname = substr($name, 1, -1); $table[$sname] = $obj->characters; } echo '<?php namespace Masterminds\\HTML5; /** Entity lookup tables. This class is automatically generated. */ class Entities { public static $byName = '; var_export($table); echo '; }' . PHP_EOL; //print serialize($table);
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
entities.php
638 B
lrw-r--r--
2025-10-28 20:22:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).