3v4l.org

run code in 300+ PHP versions simultaneously
<?php class sqlConnection{ public $mysqli; public function __construct(){ $this->mysqli = new mysqli("private","private","private","private"); if($this->mysqli->connect_errno){ echo "MySQL Connection Is FUCKED!, Error:" . $this->mysqli->connect_error; die("EOF"); } } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ntSDG
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   1

Class sqlConnection:
Function __construct:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ntSDG
function name:  __construct
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $1      'mysqli'
          1        SEND_VAL_EX                                              'private'
          2        SEND_VAL_EX                                              'private'
          3        SEND_VAL_EX                                              'private'
          4        SEND_VAL_EX                                              'private'
          5        DO_FCALL                                      0          
          6        ASSIGN_OBJ                                               'mysqli'
          7        OP_DATA                                                  $1
    6     8        FETCH_OBJ_R                                      ~3      'mysqli'
          9        FETCH_OBJ_R                                      ~4      ~3, 'connect_errno'
         10      > JMPZ                                                     ~4, ->16
    7    11    >   FETCH_OBJ_R                                      ~5      'mysqli'
         12        FETCH_OBJ_R                                      ~6      ~5, 'connect_error'
         13        CONCAT                                           ~7      'MySQL+Connection+Is+FUCKED%21%2C+Error%3A', ~6
         14        ECHO                                                     ~7
    8    15      > EXIT                                                     'EOF'
   10    16    > > RETURN                                                   null

End of function __construct

End of class sqlConnection.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.17 ms | 1394 KiB | 13 Q