3v4l.org

run code in 300+ PHP versions simultaneously
<?php $host = "1.2.3.4"; $usr = "root"; $pw = ""; $db = "x"; try { $mysqli = new mysqli($host,$usr,$pw,$db); $connected = true; } catch (mysqli_sql_exception $e) { throw $e; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 13
Branch analysis from position: 13
2 jumps found. (Code = 107) Position 1 = 14, Position 2 = -2
Branch analysis from position: 14
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/NO0uM
function name:  (null)
number of ops:  16
compiled vars:  !0 = $host, !1 = $usr, !2 = $pw, !3 = $db, !4 = $mysqli, !5 = $connected, !6 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1.2.3.4'
    3     1        ASSIGN                                                   !1, 'root'
    4     2        ASSIGN                                                   !2, ''
    5     3        ASSIGN                                                   !3, 'x'
    7     4        NEW                                              $11     'mysqli'
          5        SEND_VAR_EX                                              !0
          6        SEND_VAR_EX                                              !1
          7        SEND_VAR_EX                                              !2
          8        SEND_VAR_EX                                              !3
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !4, $11
    8    11        ASSIGN                                                   !5, <true>
         12      > JMP                                                      ->15
    9    13  E > > CATCH                                       last         'mysqli_sql_exception'
   10    14    > > THROW                                         0          !6
   11    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.68 ms | 1394 KiB | 13 Q