3v4l.org

run code in 300+ PHP versions simultaneously
<?php $src = <<<SRC class X { /** * @docblock1 */ public \$x = "x", \$y = 'y', /** @docblock2 */ \$z = 'z' ; } SRC; var_dump(token_get_all($src));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OK12k
function name:  (null)
number of ops:  8
compiled vars:  !0 = $src
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'class+X+%7B%0A++++%2F%2A%2A%0A+++++%2A+%40docblock1%0A+++++%2A%2F%0A++++public%0A++++++++%24x+%3D+%22x%22%2C%0A++++++++%24y+%3D+%27y%27%2C%0A++++++++%2F%2A%2A+%40docblock2+%2A%2F%0A++++++++%24z+%3D+%27z%27%0A++++%3B%0A%7D'
   17     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'token_get_all'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.09 ms | 1394 KiB | 17 Q