Sha256: 8520ca1773f3cb309e1d8b6b03fcfb6d298df96a903f80f5d1f48b978013f0ec

Contents?: true

Size: 295 Bytes

Versions: 61

Compression:

Stored size: 295 Bytes

Contents

require "knj/autoload"
require "#{$knjpath}php"
require "#{$knjpath}php_parser/php_parser"

module Knj::Php_parser::Functions
  def self.my_function(phpvar_arg)
    Knj::Php.print("Hejsa.\n")
    Knj::Php.print(phpvar_arg + "\n")
  end
end
Knj::Php_parser::Functions.my_function("Helloworld.")

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
knjrbfw-0.0.9 lib/knj/php_parser/tests/test.rb