3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo var_dump(token_get_all('<?php function(int $a){};')[3]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IJK0G
function name:  (null)
number of ops:  9
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'
          2        SEND_VAL                                                 '%3C%3Fphp+function%28int+%24a%29%7B%7D%3B'
          3        DO_ICALL                                         $0      
          4        FETCH_DIM_R                                      ~1      $0, 3
          5        SEND_VAL                                                 ~1
          6        DO_ICALL                                         $2      
          7        ECHO                                                     $2
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.7 ms | 1385 KiB | 17 Q