lib/php_ruby/io/functions.rb in php_ruby-0.0.2 vs lib/php_ruby/io/functions.rb in php_ruby-0.0.3
- old
+ new
@@ -1,10 +1,10 @@
module PhpRuby
module Io
module Functions
extend self
def echo(*args)
- $stdout.write(args)
+ $stdout.write(args.join(' '))
end
def print_r(*args)
pp(*args)
end