3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tokens = token_get_all("<?php echo'' ?>"); print_r($tokens); $tokens = token_get_all('/* comment */'); print_r($tokens);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BMfvH
function name:  (null)
number of ops:  15
compiled vars:  !0 = $tokens
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'token_get_all'
          1        SEND_VAL                                                 '%3C%3Fphp+echo%27%27+%3F%3E'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'print_r'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'token_get_all'
          8        SEND_VAL                                                 '%2F%2A+comment+%2A%2F'
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
    5    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.98 ms | 1394 KiB | 17 Q