3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class PHPUnit_Framework_Error { } class PHPUnit_Framework_Error_Warning extends PHPUnit_Framework_Error { public static $enabled = TRUE; } $exception = 'PHPUnit_Framework_Error_Warning'; var_dump($exception::$enabled);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FJ6EP
function name:  (null)
number of ops:  7
compiled vars:  !0 = $exception
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ASSIGN                                                   !0, 'PHPUnit_Framework_Error_Warning'
   14     1        INIT_FCALL                                               'var_dump'
          2        FETCH_CLASS                                   0  $2      !0
          3        FETCH_STATIC_PROP_R          global lock         ~3      'enabled'
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Class PHPUnit_Framework_Error: [no user functions]
Class PHPUnit_Framework_Error_Warning: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.13 ms | 1398 KiB | 15 Q