Skip to content

brackets are lost #23

@cuixiping

Description

@cuixiping
function foo( a, b, c, d ) {
	return ( a + b ) * ( c + d );
}

is incorrectly converted to

<?php
function foo($a, $b, $c, $d) {
	return $a + $b * $c + $d;  //should be ($a + $b) * ($c + $d)
}

the brackets are lost.

tested on http://endel.me/js2php/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions