diff --git a/ext/standard/html_tables/html_table_gen.php b/ext/standard/html_tables/html_table_gen.php
index 02fc0c26d3d85..bc76f6f7e945f 100755
--- a/ext/standard/html_tables/html_table_gen.php
+++ b/ext/standard/html_tables/html_table_gen.php
@@ -180,7 +180,7 @@ enum entity_charset charset;
/* process file */
$map = array();
- $lines = explode("\n", file_get_contents($e{'file'}));
+ $lines = explode("\n", file_get_contents($e['file']));
foreach ($lines as $l) {
if (preg_match("/^0x([0-9A-Z]{2})\t0x([0-9A-Z]{2,})/i", $l, $matches))
$map[] = array($matches[1], $matches[2]);
@@ -323,7 +323,7 @@ enum entity_charset charset;
/* process file */
$map = array();
- $lines = explode("\n", file_get_contents($e{'file'}));
+ $lines = explode("\n", file_get_contents($e['file']));
foreach ($lines as $l) {
if (preg_match("/^0x([0-9A-Z]{2})\t0x([0-9A-Z]{2,})\s+#\s*(.*)$/i", $l, $matches))
$map[] = array($matches[1], $matches[2], rtrim($matches[3]));