3v4l.org

run code in 300+ PHP versions simultaneously
$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/Q7J2D
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%24tokens+%3D+token_get_all%28%22'
          1        ECHO                                                     ''
          2        ECHO                                                     '%22%29%3B%0Aprint_r%28%24tokens%29%3B%0A%24tokens+%3D+token_get_all%28%27%2F%2A+comment+%2A%2F%27%29%3B%0Aprint_r%28%24tokens%29%3B'
    4     3      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.25 ms | 1392 KiB | 13 Q