Ioncube> проблема с return в условиях

Issue #53 new
sidxx55 created an issue
        if (is_dir($versionFolder)) {

Warning: assert(): Assertion "$blockLast <= $range[1]" failed in C:\xcache54\Decompiler.class.php on line 2219
int(60)
int(58)
2221: ::printBacktrace()
1538: Decompiler::recognizeAndDecompileClosedBlocks(array('Ts' => array, 'indent' => '          ', 'nextbbs' => array, 'op_array' => array, 'opcodes' => array, ...), array(0 => 31, 1 => 58))
2228: Decompiler::decompileComplexBlock(array('Ts' => array, 'indent' => '          ', 'nextbbs' => array, 'op_array' => array, 'opcodes' => array, ...), array(0 => 31, 1 => 60))
2427: Decompiler::recognizeAndDecompileClosedBlocks(array('Ts' => array, 'indent' => '          ', 'nextbbs' => array, 'op_array' => array, 'opcodes' => array, ...), array(0 => 0, 1 => 62), '     ')
3747: Decompiler::dop_array(array('type' => 2, 'function_name' => 'delete', 'fn_flags' => 65792, 'arg_info' => array, 'num_args' => 2, ...), '      ')
4046: Decompiler::dfunction(array('op_array' => array), '   ', array(0 => 'public'), false)
4103: Decompiler::dclass(array('type' => 2, 'name_length' => 10, 'name' => 'versioning', 'parent' => NULL, 'refcount' => 2, ...), '', array('versioning' => array))
13: Decompiler::output()
66: ::_dc('enc/system/modules/versioning/classes/versioning.php', 'dec/system/modules/versioning/classes/versioning.php')
            $rs = $this->fm->deleteDir($versionFolder);

            if ($rs) {
                $rs = $this->deleteFolderIfEmpty($allVersPath);

                if ($rs) {
                    $this->deleteFolderIfEmpty($this->fm->dirname($allVersPath));
                }

                return true;
                return false;
            }
        }
        else {
            return true;
            return false;
        }
    }

Comments (0)

  1. Log in to comment