Found such a problem if one operation is wrong then the whole transaction is wrong.
ZuluCrypto\StellarSdk\Horizon\Api\PostTransactionResponse Object
(
[result:protected] =>
[rawData:protected] => Array
(
[type] => https://stellar.org/horizon-errors/transaction_failed
[title] => Transaction Failed
[status] => 400
[detail] => The transaction failed when submitted to the stellar network. The `extras.result_codes` field on this response contains further details. Descriptions of each code can be found at: https://www.stellar.org/developers/learn/concepts/list-of-operations.html
[extras] => Array
(
[envelope_xdr] => AAAAAG................................................==
[result_codes] => Array
(
[transaction] => tx_failed
[operations] => Array
(
[0] => op_success
[1] => op_success
[2] => op_malformed
[3] => op_success
)
)
[result_xdr] => AAAAAAAAAZD/.....................................=
)
)
)