Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a683dc9

Browse files
committed
Add test file
1 parent c8fff33 commit a683dc9

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

tests/assets/Setting.php

5.44 KB
Binary file not shown.

tests/test.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,12 @@
2121
echo $e->getTraceAsString();
2222
exit(2);
2323
}
24+
25+
$code = file_get_contents(__DIR__ . '/assets/Setting.php');
26+
try {
27+
$code = \Ganlv\EnphpDecoder\AutoDecoder::decode($code);
28+
echo $code, PHP_EOL;
29+
} catch (Exception $e) {
30+
echo $e->getTraceAsString();
31+
exit(3);
32+
}

0 commit comments

Comments
 (0)