3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); namespace Slevomat\Dibi; /** * @deprecated */ interface DibiTransaction { public function commit(); public function rollback(); } $ref = new \ReflectionClass(DibiTransaction::class); var_dump($ref->isAbstract()); var_dump($ref->isInterface());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0nUgc
function name:  (null)
number of ops:  15
compiled vars:  !0 = $ref
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   NEW                                              $1      'ReflectionClass'
          1        SEND_VAL_EX                                              'Slevomat%5CDibi%5CDibiTransaction'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   13     4        INIT_NS_FCALL_BY_NAME                                    'Slevomat%5CDibi%5Cvar_dump'
          5        INIT_METHOD_CALL                                         !0, 'isAbstract'
          6        DO_FCALL                                      0  $4      
          7        SEND_VAR_NO_REF_EX                                       $4
          8        DO_FCALL                                      0          
   14     9        INIT_NS_FCALL_BY_NAME                                    'Slevomat%5CDibi%5Cvar_dump'
         10        INIT_METHOD_CALL                                         !0, 'isInterface'
         11        DO_FCALL                                      0  $6      
         12        SEND_VAR_NO_REF_EX                                       $6
         13        DO_FCALL                                      0          
         14      > RETURN                                                   1

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

End of function commit

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

End of function rollback

End of class Slevomat\Dibi\DibiTransaction.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.59 ms | 1395 KiB | 15 Q