Closed johntor closed 1 year ago
Can you post a reproducible example?
You can try the following...
<?php
class Example {
public function __construct() {
$result = DB::getResult();
foreach ($result as $row => $data) {
echo($data)
}
}
}
Which gives:
A quick and dirty solution I found is to disable 'angle' brackets for php from settings file, adding another "scope_exclude" for 'embedding.php'
Keep on the great work!!!
J!
Yeah, the syntax keeps changing, that is why there are so many PHP exclusion rules. I don't use PHP very often, so I'm often not aware of the changes until a heavy PHP user brings it to my attention.
Thanks for the detailed info and the solution. I'll update the rule for the next release.
We thank you for your effort to make us more productive!!
J!
Okay, we are actually going to go with embedding.php punctuation.separator.key-value.php
as embedding.php
will break tag matching in PHP.
When angle brackets are enabled in php and there is a n array assignment symbol '=>' the BracketHighlighter is unable to match brackets...