3v4l.org

run code in 300+ PHP versions simultaneously
<?php // NOT THE REAL JSON!!! ;-) $json='[{"DateGps":"2016-08-04T00:36:59+02:00","DateReceived":"2016-08-04T00:37:00.439+02:00","Longitude":5.05322,"Latitude":52.64543,"Track":0,"Speed":0,"Dop":1,"Trackee":"2459","Bps":"6b 626-32,4","Number":"89100"},{"DateGps":"2016-08-04T00:36:53+02:00","DateReceived":"2016-08-04T00:36:54.786+02:00","Longitude":4.80568,"Latitude":52.45854,"Track":358,"Speed":10,"Dop":1,"Trackee":"2978","Bps":"WO 078-68,9","Number":"4082"},{"DateGps":"2016-08-04T00:36:59+02:00","DateReceived":"2016-08-04T00:37:00.179+02:00","Longitude":5.47268,"Latitude":52.50864,"Track":0,"Speed":0,"Dop":1,"Trackee":"2439","Bps":"2003 135-40,0","Number":"805771"},{"DateGps":"2016-08-04T00:36:59+02:00","DateReceived":"2016-08-04T00:37:00.675+02:00","Longitude":5.97375,"Latitude":50.89125,"Track":0,"Speed":0,"Dop":1,"Trackee":"2975","Bps":"71B 504-18,4","Number":"23581"},{"DateGps":"2016-08-04T00:36:56+02:00","DateReceived":"2016-08-04T00:36:57.555+02:00","Longitude":4.38265,"Latitude":52.0745,"Track":0,"Speed":0,"Dop":1,"Trackee":"2407","Bps":"15 922-18,4","Number":"89146"},{"DateGps":"2016-08-04T00:36:55+02:00","DateReceived":"2016-08-04T00:36:56.63+02:00","Longitude":4.38354,"Latitude":52.07441,"Track":0,"Speed":0,"Dop":1,"Trackee":"2952","Bps":null,"Number":"89143"},{"DateGps":"2016-08-04T00:36:54+02:00","DateReceived":"2016-08-04T00:36:55.973+02:00","Longitude":5.51033,"Latitude":52.54892,"Track":0,"Speed":0,"Dop":1,"Trackee":"2449","Bps":"23 135-46,1","Number":"80180"},{"DateGps":"2016-08-04T00:36:51+02:00","DateReceived":"2016-08-04T00:36:52.991+02:00","Longitude":5.34946,"Latitude":52.15931,"Track":0,"Speed":0,"Dop":1,"Trackee":"2122","Bps":"211 940-42,8","Number":"5877"},{"DateGps":"2016-08-04T00:36:58+02:00","DateReceived":"2016-08-04T00:36:59.629+02:00","Longitude":6.88329,"Latitude":52.22188,"Track":0,"Speed":0,"Dop":1,"Trackee":"3433","Bps":"405b 028-53,0","Number":"7967"},{"DateGps":"2016-08-04T00:36:56+02:00","DateReceived":"2016-08-04T00:36:57.749+02:00","Longitude":6.0933,"Latitude":52.50419,"Track":0,"Speed":0,"Dop":1,"Trackee":"2654","Bps":"5b 603-3,0","Number":"4683"},{"DateGps":"2016-08-04T00:36:55+02:00","DateReceived":"2016-08-04T00:36:56.904+02:00","Longitude":4.86603,"Latitude":52.3921,"Track":0,"Speed":0,"Dop":1,"Trackee":"2973","Bps":"981R 917-78,0","Number":"89066"},{"DateGps":"2016-08-04T00:36:54+02:00","DateReceived":"2016-08-04T00:36:55.813+02:00","Longitude":4.3087,"Latitude":52.0525,"Track":354,"Speed":50,"Dop":1,"Trackee":"2469","Bps":"MC 112-63,3","Number":"15184"},{"DateGps":"2016-08-04T00:36:53+02:00","DateReceived":"2016-08-04T00:36:54.819+02:00","Longitude":5.0491,"Latitude":52.64562,"Track":85,"Speed":36,"Dop":1,"Trackee":"2971","Bps":"5BV 626-32,1","Number":"14889"},{"DateGps":"2016-08-04T00:36:57+02:00","DateReceived":"2016-08-04T00:36:58.636+02:00","Longitude":4.6487,"Latitude":52.01814,"Track":1,"Speed":100,"Dop":1,"Trackee":"2614","Bps":"AA 226-5,2","Number":"9584"},{"DateGps":"2016-08-04T00:36:58+02:00","DateReceived":"2016-08-04T00:37:00.275+02:00","Longitude":5.47198,"Latitude":51.44219,"Track":94,"Speed":50,"Dop":1,"Trackee":"2994","Bps":"37 618-58,4","Number":"9689"},{"DateGps":"2016-08-01T06:01:46+02:00","DateReceived":"2016-08-01T06:01:47.669+02:00","Longitude":4.87081,"Latitude":52.39069,"Track":0,"Speed":0,"Dop":1,"Trackee":"1774","Bps":"937 917-78,4","Number":"82016"},{"DateGps":"2016-08-04T00:36:51+02:00","DateReceived":"2016-08-04T00:36:52.602+02:00","Longitude":5.02111,"Latitude":52.1019,"Track":97,"Speed":115,"Dop":1,"Trackee":"2968","Bps":"672 100-6,4","Number":"4086"}]'; $array = json_decode($json,true); $resulted_array = array_filter($array,function($v){ return ($v['Trackee'] == '2469');}); echo json_encode($resulted_array); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CnbbQ
function name:  (null)
number of ops:  17
compiled vars:  !0 = $json, !1 = $array, !2 = $resulted_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5B%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A59%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A37%3A00.439%2B02%3A00%22%2C%22Longitude%22%3A5.05322%2C%22Latitude%22%3A52.64543%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222459%22%2C%22Bps%22%3A%226b+626-32%2C4%22%2C%22Number%22%3A%2289100%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A53%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A54.786%2B02%3A00%22%2C%22Longitude%22%3A4.80568%2C%22Latitude%22%3A52.45854%2C%22Track%22%3A358%2C%22Speed%22%3A10%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222978%22%2C%22Bps%22%3A%22WO+078-68%2C9%22%2C%22Number%22%3A%224082%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A59%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A37%3A00.179%2B02%3A00%22%2C%22Longitude%22%3A5.47268%2C%22Latitude%22%3A52.50864%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222439%22%2C%22Bps%22%3A%222003+135-40%2C0%22%2C%22Number%22%3A%22805771%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A59%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A37%3A00.675%2B02%3A00%22%2C%22Longitude%22%3A5.97375%2C%22Latitude%22%3A50.89125%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222975%22%2C%22Bps%22%3A%2271B+504-18%2C4%22%2C%22Number%22%3A%2223581%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A56%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A57.555%2B02%3A00%22%2C%22Longitude%22%3A4.38265%2C%22Latitude%22%3A52.0745%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222407%22%2C%22Bps%22%3A%2215+922-18%2C4%22%2C%22Number%22%3A%2289146%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A55%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A56.63%2B02%3A00%22%2C%22Longitude%22%3A4.38354%2C%22Latitude%22%3A52.07441%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222952%22%2C%22Bps%22%3Anull%2C%22Number%22%3A%2289143%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A54%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A55.973%2B02%3A00%22%2C%22Longitude%22%3A5.51033%2C%22Latitude%22%3A52.54892%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222449%22%2C%22Bps%22%3A%2223+135-46%2C1%22%2C%22Number%22%3A%2280180%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A51%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A52.991%2B02%3A00%22%2C%22Longitude%22%3A5.34946%2C%22Latitude%22%3A52.15931%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222122%22%2C%22Bps%22%3A%22211+940-42%2C8%22%2C%22Number%22%3A%225877%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A58%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A59.629%2B02%3A00%22%2C%22Longitude%22%3A6.88329%2C%22Latitude%22%3A52.22188%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%223433%22%2C%22Bps%22%3A%22405b+028-53%2C0%22%2C%22Number%22%3A%227967%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A56%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A57.749%2B02%3A00%22%2C%22Longitude%22%3A6.0933%2C%22Latitude%22%3A52.50419%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222654%22%2C%22Bps%22%3A%225b+603-3%2C0%22%2C%22Number%22%3A%224683%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A55%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A56.904%2B02%3A00%22%2C%22Longitude%22%3A4.86603%2C%22Latitude%22%3A52.3921%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222973%22%2C%22Bps%22%3A%22981R+917-78%2C0%22%2C%22Number%22%3A%2289066%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A54%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A55.813%2B02%3A00%22%2C%22Longitude%22%3A4.3087%2C%22Latitude%22%3A52.0525%2C%22Track%22%3A354%2C%22Speed%22%3A50%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222469%22%2C%22Bps%22%3A%22MC+112-63%2C3%22%2C%22Number%22%3A%2215184%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A53%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A54.819%2B02%3A00%22%2C%22Longitude%22%3A5.0491%2C%22Latitude%22%3A52.64562%2C%22Track%22%3A85%2C%22Speed%22%3A36%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222971%22%2C%22Bps%22%3A%225BV+626-32%2C1%22%2C%22Number%22%3A%2214889%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A57%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A58.636%2B02%3A00%22%2C%22Longitude%22%3A4.6487%2C%22Latitude%22%3A52.01814%2C%22Track%22%3A1%2C%22Speed%22%3A100%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222614%22%2C%22Bps%22%3A%22AA+226-5%2C2%22%2C%22Number%22%3A%229584%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A58%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A37%3A00.275%2B02%3A00%22%2C%22Longitude%22%3A5.47198%2C%22Latitude%22%3A51.44219%2C%22Track%22%3A94%2C%22Speed%22%3A50%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222994%22%2C%22Bps%22%3A%2237+618-58%2C4%22%2C%22Number%22%3A%229689%22%7D%2C%7B%22DateGps%22%3A%222016-08-01T06%3A01%3A46%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-01T06%3A01%3A47.669%2B02%3A00%22%2C%22Longitude%22%3A4.87081%2C%22Latitude%22%3A52.39069%2C%22Track%22%3A0%2C%22Speed%22%3A0%2C%22Dop%22%3A1%2C%22Trackee%22%3A%221774%22%2C%22Bps%22%3A%22937+917-78%2C4%22%2C%22Number%22%3A%2282016%22%7D%2C%7B%22DateGps%22%3A%222016-08-04T00%3A36%3A51%2B02%3A00%22%2C%22DateReceived%22%3A%222016-08-04T00%3A36%3A52.602%2B02%3A00%22%2C%22Longitude%22%3A5.02111%2C%22Latitude%22%3A52.1019%2C%22Track%22%3A97%2C%22Speed%22%3A115%2C%22Dop%22%3A1%2C%22Trackee%22%3A%222968%22%2C%22Bps%22%3A%22672+100-6%2C4%22%2C%22Number%22%3A%224086%22%7D%5D'
    4     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    5     6        INIT_FCALL                                               'array_filter'
          7        SEND_VAR                                                 !1
          8        DECLARE_LAMBDA_FUNCTION                          ~6      [0]
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
    7    12        INIT_FCALL                                               'json_encode'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                         $9      
         15        ECHO                                                     $9
    8    16      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CnbbQ
function name:  {closure}
number of ops:  5
compiled vars:  !0 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        FETCH_DIM_R                                      ~1      !0, 'Trackee'
          2        IS_EQUAL                                         ~2      ~1, '2469'
          3      > RETURN                                                   ~2
          4*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.91 ms | 1456 KiB | 16 Q