3v4l.org

run code in 300+ PHP versions simultaneously
<?php $j1 = '[{"id":"1","texto":"Vamos newells 17471934","fecha":"2019-06-24 12:09:12","categoria":"1","idpayment":"Reference_1561388952","provincia":"1","estado":"NO","email":"newells@gmail.com"}]'; $j1arr = json_decode($j1, true); $j2 = ' { "Texto": " VENDO O PERMUTO", "imageJob": { "pathConvertido": "ClasificadosPNG/0011311247.png", "convertido": true, "id": 5011 }, "rubroClasificado": { "CodigoRubro": 150, "id": 76 } }'; $j2arr = json_decode($j2, true); $r = array_merge($j1arr[0], $j2arr); print_r($r);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [id] => 1 [texto] => Vamos newells 17471934 [fecha] => 2019-06-24 12:09:12 [categoria] => 1 [idpayment] => Reference_1561388952 [provincia] => 1 [estado] => NO [email] => newells@gmail.com [Texto] => VENDO O PERMUTO [imageJob] => Array ( [pathConvertido] => ClasificadosPNG/0011311247.png [convertido] => 1 [id] => 5011 ) [rubroClasificado] => Array ( [CodigoRubro] => 150 [id] => 76 ) )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
30.81 ms | 407 KiB | 5 Q