jsonRPC calling createrawtransaction in PHP
you should pass parameters as an array.

try like that: 

$bitcoin-&gt;createrawtransaction(
    array(
        array(
            "txid"=&gt;"aed23bb3ec7e93d69450d7e5ea49d52fcfbef9d380108f2be8fe14ef705fcea5",
            "vout"=&gt;2
        ),
        array(
            "txid"=&gt;"b28c740c66726ab2f0397be29f2d25f091b8ab353b98b9ebf9e6ccfd080cdf49",
            "vout"=&gt;3
        ),
    ),
    array(
        "1GTDT3hYk4x4wzaa9k38pRsHy9SPJ7qPzT"=&gt;0.006,
        "1ApD64wpNUM6GBeSmKYhsyaNwFot3FMC5y"=&gt;0.004,
    )
);