3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = "ok"; if($user == "ok") { define("OKAY", "Chandra"); echo OKAY; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 9
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/kpjgL
function name:  (null)
number of ops:  10
compiled vars:  !0 = $user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'ok'
    4     1        IS_EQUAL                                                 !0, 'ok'
          2      > JMPZ                                                     ~2, ->9
    6     3    >   INIT_FCALL                                               'define'
          4        SEND_VAL                                                 'OKAY'
          5        SEND_VAL                                                 'Chandra'
          6        DO_ICALL                                                 
    8     7        FETCH_CONSTANT                                   ~4      'OKAY'
          8        ECHO                                                     ~4
    9     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.24 ms | 1394 KiB | 15 Q