prefix to infix in php
I'm trying to implement prefix to infix in php, that's what i've got so far. The input should be for example something like this:

    prefix  * + 3 2 4
    infix   ((3+2)*4)


    I want to convert prefix expression like (* + 3 2 4) into infix expression using php or javascript (((3+2)*4)).
prefix to infix in php
===

I'm trying to implement prefix to infix in php, that's what i've got so far. The input should be for example something like this:

    prefix  * + 3 2 4
    infix   ((3+2)*4)


    I want to convert prefix expression like (* + 3 2 4) into infix expression using php or javascript (((3+2)*4)).