3v4l.org

run code in 300+ PHP versions simultaneously
<?php $host = "http://akmaliah.net"; $username = "mysql"; $password = "12345"; $database = "nama_database"; $conn = mysql_connect("$host","$username","$password"); if (!$conn) die ("Gagal Melakukan Koneksi"); mysql_select_db($database,$conn) or die ("Database Tidak Diketemukan di Server"); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 16
2 jumps found. (Code = 47) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EGTQh
function name:  (null)
number of ops:  24
compiled vars:  !0 = $host, !1 = $username, !2 = $password, !3 = $database, !4 = $conn
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fakmaliah.net'
    3     1        ASSIGN                                                   !1, 'mysql'
    4     2        ASSIGN                                                   !2, '12345'
    5     3        ASSIGN                                                   !3, 'nama_database'
    7     4        INIT_FCALL_BY_NAME                                       'mysql_connect'
          5        CAST                                          6  ~9      !0
          6        SEND_VAL_EX                                              ~9
          7        CAST                                          6  ~10     !1
          8        SEND_VAL_EX                                              ~10
          9        CAST                                          6  ~11     !2
         10        SEND_VAL_EX                                              ~11
         11        DO_FCALL                                      0  $12     
         12        ASSIGN                                                   !4, $12
    8    13        BOOL_NOT                                         ~14     !4
         14      > JMPZ                                                     ~14, ->16
         15    > > EXIT                                                     'Gagal+Melakukan+Koneksi'
    9    16    >   INIT_FCALL_BY_NAME                                       'mysql_select_db'
         17        SEND_VAR_EX                                              !3
         18        SEND_VAR_EX                                              !4
         19        DO_FCALL                                      0  $15     
         20      > JMPNZ_EX                                         ~16     $15, ->23
         21    > > EXIT                                                     'Database+Tidak+Diketemukan+di+Server'
         22*       BOOL                                             ~16     <true>
   10    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.67 ms | 1394 KiB | 13 Q