3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(token_get_all($a === null && print(123)));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/tsdin
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'token_get_all'
          2        TYPE_CHECK                                    2  ~1      !0
          3      > JMPZ_EX                                          ~1      ~1, ->6
          4    >   ECHO                                                     123
          5        BOOL                                             ~1      1
          6    >   SEND_VAL                                                 ~1
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.18 ms | 1394 KiB | 17 Q