3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $source = <<< SOURCE <?php class Test { } SOURCE; var_dump(token_get_call($source));
based on 9jNGL
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0aQXi
function name:  (null)
number of ops:  8
compiled vars:  !0 = $source
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   ASSIGN                                                   !0, '%3C%3Fphp%0A%0Aclass+Test%0A%7B%0A%7D'
  11     1        INIT_FCALL                                               'var_dump'
         2        INIT_FCALL_BY_NAME                                       'token_get_call'
         3        SEND_VAR_EX                                              !0
         4        DO_FCALL                                      0  $2      
         5        SEND_VAR                                                 $2
         6        DO_ICALL                                                 
         7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0