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));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/erYNm
function name:  (null)
number of ops:  19
compiled vars:  !0 = $json, !1 = $arr, !2 = $num
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22refData%22%3A%7B%22id%22%3A%2252985275%22%2C%22tarih%22%3A%222017-09-06+17%3A58%3A39%22%2C%22baslangic%22%3A%221504709915%22%2C%22baslik%22%3A%22JON+SNOW%22%2C%22mesaj%22%3A%22Yeni+Siparis+145000006+Uye%3A+fool+Urun%3A+Tori+Tank%2CTori+Tank++B250%22%2C%22adet%22%3A%221%22%2C%22numaralar%22%3A%7B%22bekleyen%22%3A%5B%5D%2C%22gonderilmis%22%3A%5B%225305305302%22%5D%2C%22hata%22%3A%5B%5D%7D%2C%22iade_durumu%22%3Anull%2C%22dusulen_kredi%22%3A1%2C%22adet_bekleyen%22%3A0%2C%22adet_gonderilmis%22%3A1%2C%22adet_hata%22%3A0%7D%2C%22status%22%3Atrue%7D'
    5     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    7     6        FETCH_DIM_R                                      ~6      !1, 'refData'
          7        FETCH_DIM_R                                      ~7      ~6, 'numaralar'
          8        ASSIGN                                                   !2, ~7
    8     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
    9    12        INIT_FCALL                                               'print_r'
         13        INIT_FCALL                                               'array_filter'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                         $10     
         16        SEND_VAR                                                 $10
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.86 ms | 1395 KiB | 19 Q