Problem with PHP-BBCode under PHP8.3 - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Development (https://community.mybb.com/forum-161.html) +--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html) +---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html) +---- Thread: Problem with PHP-BBCode under PHP8.3 (/thread-240859.html) |
Problem with PHP-BBCode under PHP8.3 - bv64 - 2024-05-01 After I updated to 1.8.38, I saw that my forum had a problem when using the PHP BBCode. At first I attributed it to the update, but that was then ruled out. I also have the problem in a fresh MyBB with standard style and without plugins But, the problem only occurs when using PHP 8.3 In the output, a <?php is then inserted in front of what you wanted to post, see screenshot RE: Problem with PHP-BBCode under PHP8.3 - Devilshakerz - 2024-05-01 Looks like changes in the highlighting functions https://php.watch/versions/8.3/highlight_file-highlight_string-html-changes will need to be applied to https://github.com/mybb/mybb/blob/mybb_1838/inc/class_parser.php#L1080 (possibly with a PHP version check). |