Closed taniokaeiji closed 4 years ago
This is the output before fix brackets.
$ php ./rfc2epub 1034 1034.epub
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /Users/eternal/github/rfc2epub/rfc2epub on line 96
Deprecated: Array and string offset access syntax with curly braces is deprecated in /Users/eternal/github/rfc2epub/rfc2epub on line 96
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /Users/eternal/github/rfc2epub/rfc2epub on line 96
Deprecated: Array and string offset access syntax with curly braces is deprecated in /Users/eternal/github/rfc2epub/rfc2epub on line 96
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /Users/eternal/github/rfc2epub/rfc2epub on line 96
Deprecated: Array and string offset access syntax with curly braces is deprecated in /Users/eternal/github/rfc2epub/rfc2epub on line 96
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /Users/eternal/github/rfc2epub/rfc2epub on line 96
Deprecated: Array and string offset access syntax with curly braces is deprecated in /Users/eternal/github/rfc2epub/rfc2epub on line 96
Thanks for you contribution, looks good.
After PHP 7.4, curly brace syntax for accessing array elements and string offsets was deprecated. https://wiki.php.net/rfc/deprecate_curly_braces_array_access
Fixed it and tested with PHP 7.4.6 on macOS 10.15.4, installed from Homebrew.