3v4l.org

run code in 300+ PHP versions simultaneously
<?php $post=array ( 'data' => '[{"page":{"identifierInteraction":"caf4282eaa1e9c79722baae95e7837b2","path":"game_form","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"16:40:23","date":"2013-12-02"}},{"page":{"identifierInteraction":"caf4282eaa1e9c79722baae95e7837b2","path":"game_slotmachine","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"16:41:22","date":"2013-12-02"}},{"page":{"identifierInteraction":"caf4282eaa1e9c79722baae95e7837b2","path":"game_win","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"16:41:31","date":"2013-12-02"}},{"page":{"identifierInteraction":"caf4282eaa1e9c79722baae95e7837b2","path":"game_end","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"16:41:46","date":"2013-12-02"}},{"page":{"identifierInteraction":"537545ab89d9747a8ca1765fb8f9d449","path":"game_form","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"17:05:36","date":"2013-12-02"}},{"page":{"identifierInteraction":"537545ab89d9747a8ca1765fb8f9d449","path":"game_slotmachine","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"17:06:45","date":"2013-12-02"}},{"page":{"identifierInteraction":"537545ab89d9747a8ca1765fb8f9d449","path":"game_loose","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"17:06:58","date":"2013-12-02"}},{"page":{"identifierInteraction":"537545ab89d9747a8ca1765fb8f9d449","path":"game_end","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"17:07:04","date":"2013-12-02"}},{"page":{"identifierInteraction":"dc457cd9ef26bb2a7f3ab40ac5530307","path":"game_form","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"17:24:08","date":"2013-12-02"}},{"page":{"identifierInteraction":"6a1d6939637e018a0da753708d2387f5","path":"game_form","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"08:55:09","date":"2013-12-03"}}]', ); $data = $post['data']; if(!is_array($data)) { $data = json_decode($data, true); echo "json decode done"; } var_dump($data); foreach ($data as $information) { print_r($information); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 21
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 21
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
Branch analysis from position: 12
filename:       /in/Pc3bG
function name:  (null)
number of ops:  23
compiled vars:  !0 = $post, !1 = $data, !2 = $information
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    7     1        FETCH_DIM_R                                      ~4      !0, 'data'
          2        ASSIGN                                                   !1, ~4
   10     3        TYPE_CHECK                                  128  ~6      !1
          4        BOOL_NOT                                         ~7      ~6
          5      > JMPZ                                                     ~7, ->12
   11     6    >   INIT_FCALL                                               'json_decode'
          7        SEND_VAR                                                 !1
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $8      
         10        ASSIGN                                                   !1, $8
   12    11        ECHO                                                     'json+decode+done'
   15    12    >   INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
   17    15      > FE_RESET_R                                       $11     !1, ->21
         16    > > FE_FETCH_R                                               $11, !2, ->21
   19    17    >   INIT_FCALL                                               'print_r'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                                 
   17    20      > JMP                                                      ->16
         21    >   FE_FREE                                                  $11
   21    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.97 ms | 1395 KiB | 19 Q