3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=['name'=>'test']; echo strlen(''); var_dump(isset($arr['ge'])); var_dump($arr['ge']); var_dump(empty(null)); var_dump(null ==''); function get($a){echo $a;} get();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3tmFe
function name:  (null)
number of ops:  19
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ECHO                                                     0
    5     2        INIT_FCALL                                               'var_dump'
          3        ISSET_ISEMPTY_DIM_OBJ                         0  ~2      !0, 'ge'
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                                 
    6     6        INIT_FCALL                                               'var_dump'
          7        FETCH_DIM_R                                      ~4      !0, 'ge'
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                                 
    7    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAL                                                 <true>
         12        DO_ICALL                                                 
    8    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAL                                                 <true>
         15        DO_ICALL                                                 
    9    16        INIT_FCALL                                               'get'
         17        DO_FCALL                                      0          
         18      > RETURN                                                   1

Function get:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3tmFe
function name:  get
number of ops:  3
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1        ECHO                                                     !0
          2      > RETURN                                                   null

End of function get

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.99 ms | 1398 KiB | 16 Q