3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(empty($command['controller'])) $command['controller'] = null; if(empty($command['action'])) $command['action'] = null; if(empty($command['data'])) $command['data'] = null;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
Branch analysis from position: 8
Branch analysis from position: 4
filename:       /in/JSrgh
function name:  (null)
number of ops:  13
compiled vars:  !0 = $command
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ISSET_ISEMPTY_DIM_OBJ                         1          !0, 'controller'
          1      > JMPZ                                                     ~1, ->4
          2    >   ASSIGN_DIM                                               !0, 'controller'
          3        OP_DATA                                                  null
    3     4    >   ISSET_ISEMPTY_DIM_OBJ                         1          !0, 'action'
          5      > JMPZ                                                     ~3, ->8
          6    >   ASSIGN_DIM                                               !0, 'action'
          7        OP_DATA                                                  null
    4     8    >   ISSET_ISEMPTY_DIM_OBJ                         1          !0, 'data'
          9      > JMPZ                                                     ~5, ->12
         10    >   ASSIGN_DIM                                               !0, 'data'
         11        OP_DATA                                                  null
         12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.66 ms | 1393 KiB | 13 Q