Force evaluation order for PHP 7 conpat
As per http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.variable-handling.indirect In PHP 7, indirect access to variables, properties, and methods is now evaluated strictly in left-to-right order. Code that used the old right-to-left evaluation order must be rewritten to explicitly use that evaluation order with curly braces
This commit is contained in:
parent
846d111947
commit
c7fcfb38b1
|
|
@ -1409,7 +1409,7 @@ class Parsedown
|
|||
|
||||
if (isset($Element['handler']))
|
||||
{
|
||||
$markup .= $this->$Element['handler']($Element['text']);
|
||||
$markup .= $this->{$Element['handler']}($Element['text']);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue