3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mysqli = new mysqli("192.168.1.201", "dbmaster", "M4lert@dm1n", "malertDB"); if ($mysqli->connect_errno) { echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 15
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/7WGP1
function name:  (null)
number of ops:  16
compiled vars:  !0 = $mysqli
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'mysqli'
          1        SEND_VAL_EX                                              '192.168.1.201'
          2        SEND_VAL_EX                                              'dbmaster'
          3        SEND_VAL_EX                                              'M4lert%40dm1n'
          4        SEND_VAL_EX                                              'malertDB'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !0, $1
    3     7        FETCH_OBJ_R                                      ~4      !0, 'connect_errno'
          8      > JMPZ                                                     ~4, ->15
    4     9    >   FETCH_OBJ_R                                      ~5      !0, 'connect_errno'
         10        CONCAT                                           ~6      'Failed+to+connect+to+MySQL%3A+%28', ~5
         11        CONCAT                                           ~7      ~6, '%29+'
         12        FETCH_OBJ_R                                      ~8      !0, 'connect_error'
         13        CONCAT                                           ~9      ~7, ~8
         14        ECHO                                                     ~9
    5    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.58 ms | 1393 KiB | 13 Q