From: Charles O Nutter Date: 2006-10-02T13:43:31+09:00 Subject: Re: Can PHP be used in Ruby? On 10/1/06, terrywu1526@gmail.com wrote: > Can I run some PHP code in Ruby, and access the variables? Not really with stock Ruby. However along with JRuby there is a project to run PHP on the JVM. A design goal for all the languages now being supported is that there should be as little barrier to calling from one to another as possible. It's reasonable to think that as JRuby and the PHP implementation (Quercus) mature, the boundary between the two will lessen. Indeed, we've already discussed with some of the Javascript-oriented folks at Sun how to make Javascript and Ruby work well together in the JVM. Interoperability will happen, so you may get what you're looking for in the near future. -- Contribute to RubySpec! @ www.headius.com/rubyspec Charles Oliver Nutter @ headius.blogspot.com Ruby User @ ruby.mn