Closed deenrookie closed 4 years ago
When I parsed this with jsondumper
<?php class A{ function a($b){ eval($b); } } class B{ function __construct(){ $this->session = new A(); } } class C extends B{ } class C extends B{ }
The output not right. But the site https://php-parser.com/ output is right. The site source code in open?
I have solved it. astString = strings.Replace(astString, "}{", "},{", -1)
astString = strings.Replace(astString, "}{", "},{", -1)
When I parsed this with jsondumper
The output not right. But the site https://php-parser.com/ output is right. The site source code in open?