3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SG_Endpoint{ var $secret_password; public function __construct( $secret_password ){ $this->secret_password = $secret_password; } } $sgendpoint = new SG_Endpoint( "foobar" ); // echo $sgendpoint->secret_password
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wa6Cb
function name:  (null)
number of ops:  5
compiled vars:  !0 = $sgendpoint
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $1      'SG_Endpoint'
          1        SEND_VAL_EX                                              'foobar'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   15     4      > RETURN                                                   1

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

End of function __construct

End of class SG_Endpoint.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.2 ms | 1393 KiB | 13 Q