Skip to content

Commit 8eb63a2

Browse files
committed
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: Use PHP 8+ square brackets for array elements
2 parents ac0dc98 + c4084bb commit 8eb63a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/html_tables/html_table_gen.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ enum entity_charset charset;
180180

181181
/* process file */
182182
$map = array();
183-
$lines = explode("\n", file_get_contents($e{'file'}));
183+
$lines = explode("\n", file_get_contents($e['file']));
184184
foreach ($lines as $l) {
185185
if (preg_match("/^0x([0-9A-Z]{2})\t0x([0-9A-Z]{2,})/i", $l, $matches))
186186
$map[] = array($matches[1], $matches[2]);
@@ -323,7 +323,7 @@ enum entity_charset charset;
323323

324324
/* process file */
325325
$map = array();
326-
$lines = explode("\n", file_get_contents($e{'file'}));
326+
$lines = explode("\n", file_get_contents($e['file']));
327327
foreach ($lines as $l) {
328328
if (preg_match("/^0x([0-9A-Z]{2})\t0x([0-9A-Z]{2,})\s+#\s*(.*)$/i", $l, $matches))
329329
$map[] = array($matches[1], $matches[2], rtrim($matches[3]));

0 commit comments

Comments
 (0)