3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'str'; $str === 'str' ?: print_r('here');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oKJog
function name:  (null)
number of ops:  9
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'str'
    5     1        IS_IDENTICAL                                     ~2      !0, 'str'
          2        JMP_SET                                          ~3      ~2, ->7
          3        INIT_FCALL                                               'print_r'
          4        SEND_VAL                                                 'here'
          5        DO_ICALL                                         $4      
          6        QM_ASSIGN                                        ~3      $4
          7        FREE                                                     ~3
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.08 ms | 1394 KiB | 15 Q