3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace app\Test; class Test{ function Dd() { var_dump(__CLASS__, __METHOD__); } } echo basename(Test::class);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kSvEo
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_NS_FCALL_BY_NAME                                    'app%5CTest%5Cbasename'
          1        SEND_VAL_EX                                              'app%5CTest%5CTest'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Class app\Test\Test:
Function dd:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kSvEo
function name:  Dd
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_NS_FCALL_BY_NAME                                    'app%5CTest%5Cvar_dump'
          1        SEND_VAL_EX                                              'app%5CTest%5CTest'
          2        SEND_VAL_EX                                              'app%5CTest%5CTest%3A%3ADd'
          3        DO_FCALL                                      0          
    9     4      > RETURN                                                   null

End of function dd

End of class app\Test\Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.05 ms | 1394 KiB | 17 Q