3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.4 ms | 1396 KiB | 13 Q