<?php
'id' => '1',
'nome' => 'bla',
'cobrado' => '1',
),
));
$arraySearchServico = array('searchtiposervico' => array( 'id' => '1',
'tipo_servico' => "Ligacões",
),
'id' => '2',
'tipo_servico' => 'SMS',
),
));
$arrayResultado = array_merge($arraySearchId, $arraySearchServico); $json = json_encode($arrayResultado, JSON_UNESCAPED_UNICODE
);
PD9waHAKCiRhcnJheVNlYXJjaElkID0gYXJyYXkoJ3NlYXJjaGlkJyA9PiBhcnJheSgKCSAgICAgICAgICAgICcwJyA9PiBhcnJheSgKCSAgICAgICAgICAgICdpZCcgPT4gJzEnLCAKCSAgICAgICAgICAgICdub21lJyA9PiAnYmxhJywKCSAgICAgICAgICAgICdjb2JyYWRvJyA9PiAnMScsCgkgICAgICAgICAgICApLAopKTsKCSAgICAgICAKJGFycmF5U2VhcmNoU2VydmljbyA9IGFycmF5KCdzZWFyY2h0aXBvc2VydmljbycgPT4gYXJyYXkoCgkgICAgICAgICAgICAnMCcgPT4gYXJyYXkoCgkgICAgICAgICAgICAnaWQnID0+ICcxJywgCgkgICAgICAgICAgICAndGlwb19zZXJ2aWNvJyA9PiAiTGlnYWPDtWVzIiwKCSAgICAgICAgICAgICksCgkgICAgICAgICAgICAKCSAgICAgICAgICAgICcxJyA9PiBhcnJheSgKCSAgICAgICAgICAgICdpZCcgPT4gJzInLCAKCSAgICAgICAgICAgICd0aXBvX3NlcnZpY28nID0+ICdTTVMnLAoJICAgICAgICAgICAgKSwJICAgICAgICAgICAgCikpOwoJICAgICAgIAokYXJyYXlSZXN1bHRhZG8gPSBhcnJheV9tZXJnZSgkYXJyYXlTZWFyY2hJZCwgJGFycmF5U2VhcmNoU2Vydmljbyk7CiRqc29uID0ganNvbl9lbmNvZGUoJGFycmF5UmVzdWx0YWRvLCBKU09OX1VORVNDQVBFRF9VTklDT0RFKTsKcHJpbnRfcigkanNvbik7