3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("DB_HOST", "sql2.webzdarma.cz"); define("DB_USER", "taxidiary.wz6133"); define("DB_PASSWORD", "v6ir53b3"); define("DB_DATABASE", "taxidiary.wz6133"); $conn = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if(!mysql_select_db(DB_DATABASE)) { print "Připojení k DB selhalo..."; } $selected_db = mysql_select_db("jizdy", $conn); if(!$selefcted_db) { echo "DB not found"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 32
Branch analysis from position: 31
2 jumps found. (Code = 43) Position 1 = 39, Position 2 = 40
Branch analysis from position: 39
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 40
Branch analysis from position: 32
filename:       /in/TOXun
function name:  (null)
number of ops:  41
compiled vars:  !0 = $conn, !1 = $selected_db, !2 = $selefcted_db
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'DB_HOST'
          2        SEND_VAL                                                 'sql2.webzdarma.cz'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 'DB_USER'
          6        SEND_VAL                                                 'taxidiary.wz6133'
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'define'
          9        SEND_VAL                                                 'DB_PASSWORD'
         10        SEND_VAL                                                 'v6ir53b3'
         11        DO_ICALL                                                 
    5    12        INIT_FCALL                                               'define'
         13        SEND_VAL                                                 'DB_DATABASE'
         14        SEND_VAL                                                 'taxidiary.wz6133'
         15        DO_ICALL                                                 
    7    16        INIT_FCALL_BY_NAME                                       'mysql_connect'
         17        FETCH_CONSTANT                                   ~7      'DB_HOST'
         18        SEND_VAL_EX                                              ~7
         19        FETCH_CONSTANT                                   ~8      'DB_USER'
         20        SEND_VAL_EX                                              ~8
         21        FETCH_CONSTANT                                   ~9      'DB_PASSWORD'
         22        SEND_VAL_EX                                              ~9
         23        DO_FCALL                                      0  $10     
         24        ASSIGN                                                   !0, $10
    8    25        INIT_FCALL_BY_NAME                                       'mysql_select_db'
         26        FETCH_CONSTANT                                   ~12     'DB_DATABASE'
         27        SEND_VAL_EX                                              ~12
         28        DO_FCALL                                      0  $13     
         29        BOOL_NOT                                         ~14     $13
         30      > JMPZ                                                     ~14, ->32
    9    31    >   ECHO                                                     'P%C5%99ipojen%C3%AD+k+DB+selhalo...'
   12    32    >   INIT_FCALL_BY_NAME                                       'mysql_select_db'
         33        SEND_VAL_EX                                              'jizdy'
         34        SEND_VAR_EX                                              !0
         35        DO_FCALL                                      0  $15     
         36        ASSIGN                                                   !1, $15
   13    37        BOOL_NOT                                         ~17     !2
         38      > JMPZ                                                     ~17, ->40
   14    39    >   ECHO                                                     'DB+not+found'
   15    40    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.13 ms | 1400 KiB | 15 Q