endel/js2php

JS string concat issue

Closed this issue · 1 comments

Hi i try to print var value with some string.

js code
function print(a)
{
print("var a value "+a+"");
}
print(10);

php convert code.
< ? php
function print($a) {
print("var a value " + $a + "");
}
print(10);

Error
print("var a value " + $a + "");
expect - print("var a value " . $a . "");

endel commented

@2pha fixed this on #31 👏 version 0.1.1 has been released.