3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ops = parsekit_compile_string('TRUE ? print "OK" : NULL;', $errors, PARSEKIT_QUIET);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2qE5X
function name:  (null)
number of ops:  8
compiled vars:  !0 = $ops, !1 = $errors
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'parsekit_compile_string'
          1        SEND_VAL_EX                                              'TRUE+%3F+print+%22OK%22+%3A+NULL%3B'
          2        SEND_VAR_EX                                              !1
          3        FETCH_CONSTANT                                   ~2      'PARSEKIT_QUIET'
          4        SEND_VAL_EX                                              ~2
          5        DO_FCALL                                      0  $3      
          6        ASSIGN                                                   !0, $3
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.77 ms | 1384 KiB | 13 Q