#4453 Wrong PHP highlighting

1.x
open
nobody
5
2013-08-24
2013-08-22
Donator
No

I have noticed that Np++ is not highlighting PHP's source code properly. This occurs from time to time and I was just ignoring it, but now I would like to post it. Code below is an example, copy it to Your Np++. Also look at attachments. I have tested it on several styles, as also at Np++ demo page (http://notepad-plus-plus.org/demo.html).

<?php
//$a = '2';
//$n = '57885161';
$a = '4294967296';
$n = '1808911';

//echo bcsub(bcpow($a, $n, 0), '1', 0);

$TStart = microtime(true);
$l = bcsub(bcmul('512', bcpow($a, $n, 0), 0), '1', 0);
$TEnd = microtime(true) - $TStart;

echo $TEnd.'<br />';
echo $l;
?>
2 Attachments

Discussion