3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nachos = 'over'; $nachos == 'over' ? print_r('boo') : print_r('baa');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 8
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9jG8v
function name:  (null)
number of ops:  14
compiled vars:  !0 = $nachos
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'over'
    5     1        IS_EQUAL                                                 !0, 'over'
          2      > JMPZ                                                     ~2, ->8
          3    >   INIT_FCALL                                               'print_r'
          4        SEND_VAL                                                 'boo'
          5        DO_ICALL                                         $3      
          6        QM_ASSIGN                                        ~4      $3
          7      > JMP                                                      ->12
          8    >   INIT_FCALL                                               'print_r'
          9        SEND_VAL                                                 'baa'
         10        DO_ICALL                                         $5      
         11        QM_ASSIGN                                        ~4      $5
         12    >   FREE                                                     ~4
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.37 ms | 1394 KiB | 15 Q