3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '012e0098'; $u->id = $str; $a = array('id'=>$u->id); var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2fn4d
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str, !1 = $u, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '012e0098'
    3     1        ASSIGN_OBJ                                               !1, 'id'
          2        OP_DATA                                                  !0
    4     3        FETCH_OBJ_R                                      ~5      !1, 'id'
          4        INIT_ARRAY                                       ~6      ~5, 'id'
          5        ASSIGN                                                   !2, ~6
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.86 ms | 1394 KiB | 15 Q