3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(token_get_all('<?php interface Foo { public function boo(): \Goo\Hoo;}', TOKEN_PARSE));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/09i9Z
function name:  (null)
number of ops:  8
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+interface+Foo+%7B+public+function+boo%28%29%3A+%5CGoo%5CHoo%3B%7D'
          3        SEND_VAL                                                 1
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.87 ms | 1397 KiB | 18 Q