Browse Source

Decompiler: namespace is case insense

master
Xuefer 6 years ago
parent
commit
4fa6d95cdc
  1. 2
      lib/Decompiler.class.php

2
lib/Decompiler.class.php

@ -703,7 +703,7 @@ class Decompiler
$name = str($name);
$len = strlen($this->namespace) + 1;
if (substr($name, 0, $len) == $this->namespace . '\\') {
if (strncasecmp($name, $this->namespace . '\\', $len) == 0) {
return substr($name, $len);
}
else {

Loading…
Cancel
Save