我正试图找到解决这个问题的方法.我有一个Ruby脚本需要运行一些PHP代码,但我是Ruby新手,所以我不知道如何去做.
def run_my_code
#execute some PHP code here
# $person = new Person();
# $person->doSomething();
end
Run Code Online (Sandbox Code Playgroud)
我怎样才能做到这一点?
| 归档时间: |
|
| 查看次数: |
4424 次 |
| 最近记录: |