3v4l.org

run code in 300+ PHP versions simultaneously
<?php $con=mysqli_connect("localhost","lveggdon_newmem","ADMIN123","lveggdon_amember2"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/r2HfQ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $con
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'mysqli_connect'
          1        SEND_VAL_EX                                              'localhost'
          2        SEND_VAL_EX                                              'lveggdon_newmem'
          3        SEND_VAL_EX                                              'ADMIN123'
          4        SEND_VAL_EX                                              'lveggdon_amember2'
          5        DO_FCALL                                      0  $1      
          6        ASSIGN                                                   !0, $1
    5     7        INIT_FCALL_BY_NAME                                       'mysqli_connect_errno'
          8        DO_FCALL                                      0  $3      
          9      > JMPZ                                                     $3, ->14
    6    10    >   INIT_FCALL_BY_NAME                                       'mysqli_connect_error'
         11        DO_FCALL                                      0  $4      
         12        CONCAT                                           ~5      'Failed+to+connect+to+MySQL%3A+', $4
         13        ECHO                                                     ~5
    7    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.82 ms | 1393 KiB | 13 Q