3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_name = "mysql"; $password = "12345"; $database = "db_salikin"; $host_name = "akmaliah.net"; $connect_db=_connect($host_name, $user_name, $password); $find_db=_select_db($database); if ($find_db) { echo "Database Ada"; }else { echo "Database Tidak Ada"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/unKpj
function name:  (null)
number of ops:  19
compiled vars:  !0 = $user_name, !1 = $password, !2 = $database, !3 = $host_name, !4 = $connect_db, !5 = $find_db
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'mysql'
    4     1        ASSIGN                                                   !1, '12345'
    5     2        ASSIGN                                                   !2, 'db_salikin'
    6     3        ASSIGN                                                   !3, 'akmaliah.net'
    8     4        INIT_FCALL_BY_NAME                                       '_connect'
          5        SEND_VAR_EX                                              !3
          6        SEND_VAR_EX                                              !0
          7        SEND_VAR_EX                                              !1
          8        DO_FCALL                                      0  $10     
          9        ASSIGN                                                   !4, $10
   10    10        INIT_FCALL_BY_NAME                                       '_select_db'
         11        SEND_VAR_EX                                              !2
         12        DO_FCALL                                      0  $12     
         13        ASSIGN                                                   !5, $12
   12    14      > JMPZ                                                     !5, ->17
   14    15    >   ECHO                                                     'Database++Ada'
         16      > JMP                                                      ->18
   18    17    >   ECHO                                                     'Database+Tidak+Ada'
   20    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.75 ms | 1394 KiB | 13 Q