示例#1
0
 def bytecode(self, code):
     return bytecode('/tmp/example.php', code)
示例#2
0
 def run(self, code):
     bc = bytecode('/tmp/example.php', code)
     intrepreter = Interpreter()
     return intrepreter.run_return(bc)
示例#3
0
文件: __init__.py 项目: codewizz/pyhp
 def bytecode(self, code):
     filename = self._init(code)
     return bytecode(filename)