3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(token_get_all(<<<EOD <?php function ifit() { echo "WAT?"; } if (false) { // blah } else ifit(); EOD ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e1Zi5
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'token_get_all'
    4     2        SEND_VAL                                                     '%3C%3Fphp%0Afunction+ifit%28%29+%7B%0A++++echo+%22WAT%3F%22%3B%0A%7D%0A%0Aif+%28false%29+%7B%0A++++%2F%2F+blah%0A%7D+else+ifit%28%29%3B'
    3     3        DO_ICALL                                             $0      
    4     4        SEND_VAR                                                     $0
    3     5        DO_ICALL                                                     
   13     6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
315.48 ms | 2697 KiB | 15 Q