3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Tdate{ static function getJour(){} } $a=$b=null; var_dump( token_get_all('<?php Tdate::getJour($a,$b); ?>'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r3tkg
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                           ~2      !1, null
          1        ASSIGN                                                   !0, ~2
    4     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'token_get_all'
          4        SEND_VAL                                                 '%3C%3Fphp+Tdate%3A%3AgetJour%28%24a%2C%24b%29%3B+%3F%3E'
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Class Tdate:
Function getjour:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r3tkg
function name:  getJour
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > RETURN                                                   null

End of function getjour

End of class Tdate.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.94 ms | 1394 KiB | 17 Q