Sha256: 9a95412b00f46d084155120f98d7f7de4668463e08c5074a783ff675a0f58ec3

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

#!/usr/bin/env ruby

require "knj/autoload"
include Knj

parser = Php_parser.new(
	"file" => File.dirname(__FILE__) + "/test_function.php"
)

begin
	cont = parser.parse
rescue RuntimeError => e
	print "Retcont:\n#{parser.retcont}\n\n"
	print "Cont:\n#{parser.cont}\n\n"
	
	raise e
end

print cont + "\n"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
knjrbfw-0.0.8 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.7 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.4 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.3 lib/knj/php_parser/tests/test_function_run.rb