Decompilation of opcodes, AST (abstract syntax tree) into source code implies full or partial restoration of data based on available methods. As an example:
Xcache (decompiler.class.php) or
Php-parser (AST tree works). Since php is an open language recovery can reach 100% as 2015 RAID research.