3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { private $i = 'foo'; } class Y extends X { public $a, $b = 2; protected $c, $d = 'd'; private $e, $i = 'bar'; } echo serialize(new Y);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vkKAI
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   INIT_FCALL                                               'serialize'
          1        NEW                                              $0      'Y'
          2        DO_FCALL                                      0          
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                         $2      
          5        ECHO                                                     $2
          6      > RETURN                                                   1

Class X: [no user functions]
Class Y: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.75 ms | 1393 KiB | 15 Q