Topic on Extension talk:SyntaxHighlight

37.212.37.47 (talkcontribs)

This plugin does not support modern PHP syntax:

$person = new class
{
    public $firstName = "John";
    public $lastName = "Smith";

    public function name(){
        return "$this->firstName $this->lastName";
    }
};
Gib Senf dazu! (talkcontribs)

Thank you, but we cannot help that.

Update needs to be made upstream, by everybody, at: https://pygments.org/

Reply to "PHP syntax"