Browse Source

Decompiler: namespace is case insense

master
Xuefer 5 years ago
parent
commit
4fa6d95cdc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/Decompiler.class.php

+ 1
- 1
lib/Decompiler.class.php View File

@ -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