summaryrefslogtreecommitdiff
path: root/bin/entities.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/entities.php')
-rw-r--r--bin/entities.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/entities.php b/bin/entities.php
index 0fbd6ec..56323a3 100644
--- a/bin/entities.php
+++ b/bin/entities.php
@@ -11,16 +11,16 @@ $json = json_decode($payload);
$table = array();
foreach ($json as $name => $obj) {
- $sname = substr($name, 1, -1);
- $table[$sname] = $obj->characters;
+ $sname = substr($name, 1, -1);
+ $table[$sname] = $obj->characters;
}
-print '<?php
+echo '<?php
namespace Masterminds\\HTML5;
/** Entity lookup tables. This class is automatically generated. */
class Entities {
public static $byName = ';
var_export($table);
-print ';
+echo ';
}' . PHP_EOL;
//print serialize($table);