3v4l.org

run code in 300+ PHP versions simultaneously
<?php $link=mysql_connect("localhost", "usuario", "clave"); mysql_select_db("nombrebd",$link) OR DIE ("Error: No es posible establecer la conexión");
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TXFcZ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $link
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'mysql_connect'
          1        SEND_VAL_EX                                              'localhost'
          2        SEND_VAL_EX                                              'usuario'
          3        SEND_VAL_EX                                              'clave'
          4        DO_FCALL                                      0  $1      
          5        ASSIGN                                                   !0, $1
    3     6        INIT_FCALL_BY_NAME                                       'mysql_select_db'
          7        SEND_VAL_EX                                              'nombrebd'
          8        SEND_VAR_EX                                              !0
          9        DO_FCALL                                      0  $3      
         10      > JMPNZ_EX                                         ~4      $3, ->13
         11    > > EXIT                                                     'Error%3A+No+es+posible+establecer+la+conexi%C3%B3n'
         12*       BOOL                                             ~4      <true>
         13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.07 ms | 1393 KiB | 13 Q