3v4l.org

run code in 300+ PHP versions simultaneously
<?php $servername = "klinischonderzoek.com.mysql"; $username = "klgnischonderzo"; $password = "TSCH2014"; // Create connection $conn = mysqli_connect($servername, $username, $password); // Check connection if (!$conn) { die("Connection failed: " . mysqli_connect_error()); } echo "Connected successfully"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TEPQv
function name:  (null)
number of ops:  17
compiled vars:  !0 = $servername, !1 = $username, !2 = $password, !3 = $conn
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'klinischonderzoek.com.mysql'
    3     1        ASSIGN                                                   !1, 'klgnischonderzo'
    4     2        ASSIGN                                                   !2, 'TSCH2014'
    7     3        INIT_FCALL_BY_NAME                                       'mysqli_connect'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAR_EX                                              !1
          6        SEND_VAR_EX                                              !2
          7        DO_FCALL                                      0  $7      
          8        ASSIGN                                                   !3, $7
   10     9        BOOL_NOT                                         ~9      !3
         10      > JMPZ                                                     ~9, ->15
   11    11    >   INIT_FCALL_BY_NAME                                       'mysqli_connect_error'
         12        DO_FCALL                                      0  $10     
         13        CONCAT                                           ~11     'Connection+failed%3A+', $10
         14      > EXIT                                                     ~11
   13    15    >   ECHO                                                     'Connected+successfully'
   14    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.69 ms | 1385 KiB | 13 Q