3v4l.org

run code in 500+ PHP versions simultaneously
<?php class ReplacementArray { private $data; public function __construct( $data ) { $this->data = $data; } } $o = new ReplacementArray( [ 1 ] ); var_export( serialize( $o ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wevr0
function name:  (null)
number of ops:  11
compiled vars:  !0 = $o
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   NEW                                                  $1      'ReplacementArray'
          1        SEND_VAL_EX                                                  <array>
          2        DO_FCALL                                          0          
          3        ASSIGN                                                       !0, $1
   13     4        INIT_FCALL                                                   'var_export'
          5        INIT_FCALL                                                   'serialize'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $4      
          8        SEND_VAR                                                     $4
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Class ReplacementArray:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wevr0
function name:  __construct
number of ops:  4
compiled vars:  !0 = $data
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   RECV                                                 !0      
    7     1        ASSIGN_OBJ                                                   'data'
          2        OP_DATA                                                      !0
    8     3      > RETURN                                                       null

End of function __construct

End of class ReplacementArray.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.8 ms | 1297 KiB | 15 Q