3v4l.org

run code in 300+ PHP versions simultaneously
<?php function isval($v) { var_dump($v); } $a = []; isval(@$a['foo']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/snAJn
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'isval'
          2        BEGIN_SILENCE                                    ~2      
          3        FETCH_DIM_R                                      ~3      !0, 'foo'
          4        END_SILENCE                                              ~2
          5        SEND_VAL                                                 ~3
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Function isval:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/snAJn
function name:  isval
number of ops:  5
compiled vars:  !0 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    6     4      > RETURN                                                   null

End of function isval

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.08 ms | 1011 KiB | 15 Q