3v4l.org

run code in 300+ PHP versions simultaneously
<?php class TestIgor { public function __construct() { throw new \RuntimeException("test"); } } var_dump(unserialize('O:8:"TestIgor":0:{}'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZOVAf
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'unserialize'
          2        SEND_VAL                                                 'O%3A8%3A%22TestIgor%22%3A0%3A%7B%7D'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Class TestIgor:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/ZOVAf
function name:  __construct
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   NEW                                              $0      'RuntimeException'
          1        SEND_VAL_EX                                              'test'
          2        DO_FCALL                                      0          
          3      > THROW                                         0          $0
    7     4*     > RETURN                                                   null

End of function __construct

End of class TestIgor.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.43 ms | 1386 KiB | 17 Q