class Foo{
public function testIt(){
$arg='';
$t='';
$d=array(
'name'=>self::testStatic($arg).'-'.$t; // < wtf here?
);
}
public static function testStatic($foo){}
}
is converted to
function Foo(){
this.testIt = function (){
var arg='';
var t='';
var d={
'name':Foo.testStatic(arg) + "" + 0 : '-' + "" + t; // < wtf here?
};
};
}
Foo.testStatic = function (foo){}
is converted to