3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"emppin":"test"}'; $data = json_decode($json, true); var_dump($data); $emppin=$data['emp_pin'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RWCUK
function name:  (null)
number of ops:  12
compiled vars:  !0 = $json, !1 = $data, !2 = $emppin
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22emppin%22%3A%22test%22%7D'
    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                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    7     9        FETCH_DIM_R                                      ~7      !1, 'emp_pin'
         10        ASSIGN                                                   !2, ~7
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.55 ms | 997 KiB | 15 Q