Problem with PHP-BBCode under PHP8.3
#1
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


Attached Files Thumbnail(s)
   
 
Reply
#2
Looks like changes in the highlighting functions https://php.watch/versions/8.3/highlight...ml-changes will need to be applied to https://github.com/mybb/mybb/blob/mybb_1....php#L1080 (possibly with a PHP version check).
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)