3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"refData":{"id":"52985275","tarih":"2017-09-06 17:58:39","baslangic":"1504709915","baslik":"JON SNOW","mesaj":"Yeni Siparis 145000006 Uye: fool Urun: Tori Tank,Tori Tank B250","adet":"1","numaralar":{"bekleyen":[],"gonderilmis":["5305305302"],"hata":[]},"iade_durumu":null,"dusulen_kredi":1,"adet_bekleyen":0,"adet_gonderilmis":1,"adet_hata":0},"status":true}'; $arr = json_decode($json, true); $num = $arr['refData']['numaralar']; print_r($num); print_r(array_filter($num));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [bekleyen] => Array ( ) [gonderilmis] => Array ( [0] => 5305305302 ) [hata] => Array ( ) ) Array ( [gonderilmis] => Array ( [0] => 5305305302 ) )

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:
43.1 ms | 401 KiB | 8 Q