3v4l.org

run code in 300+ PHP versions simultaneously
<?php $atts = array(); $value = 'test'; if (!isset($atts['context'])) { $atts['context'] = 'wpml-shortcode'; } if (!isset($atts['name'])) { $atts['name'] = 'wpml-shortcode-' . md5( $value ); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 7
filename:       /in/laf98
function name:  (null)
number of ops:  17
compiled vars:  !0 = $atts, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 'test'
    5     2        ISSET_ISEMPTY_DIM_OBJ                         0  ~4      !0, 'context'
          3        BOOL_NOT                                         ~5      ~4
          4      > JMPZ                                                     ~5, ->7
    6     5    >   ASSIGN_DIM                                               !0, 'context'
          6        OP_DATA                                                  'wpml-shortcode'
    8     7    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~7      !0, 'name'
          8        BOOL_NOT                                         ~8      ~7
          9      > JMPZ                                                     ~8, ->16
    9    10    >   INIT_FCALL                                               'md5'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $10     
         13        CONCAT                                           ~11     'wpml-shortcode-', $10
         14        ASSIGN_DIM                                               !0, 'name'
         15        OP_DATA                                                  ~11
   10    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.5 ms | 1395 KiB | 15 Q