3v4l.org

run code in 300+ PHP versions simultaneously
<?php $server = "CASPER\SQLEXPRESS"; $myUser = "sa"; $myPass = "sa123"; $myDB = "AdisyonDB"; echo('zort'); // Connect to MSSQL $link = mssql_connect($server, 'sa', 'sa123'); echo('zort'); if (!$link) { die('Something went wrong while connecting to MSSQL'); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 15
Branch analysis from position: 14
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i4qgd
function name:  (null)
number of ops:  16
compiled vars:  !0 = $server, !1 = $myUser, !2 = $myPass, !3 = $myDB, !4 = $link
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'CASPER%5CSQLEXPRESS'
    3     1        ASSIGN                                                   !1, 'sa'
    4     2        ASSIGN                                                   !2, 'sa123'
    5     3        ASSIGN                                                   !3, 'AdisyonDB'
    8     4        ECHO                                                     'zort'
   11     5        INIT_FCALL_BY_NAME                                       'mssql_connect'
          6        SEND_VAR_EX                                              !0
          7        SEND_VAL_EX                                              'sa'
          8        SEND_VAL_EX                                              'sa123'
          9        DO_FCALL                                      0  $9      
         10        ASSIGN                                                   !4, $9
   12    11        ECHO                                                     'zort'
   13    12        BOOL_NOT                                         ~11     !4
         13      > JMPZ                                                     ~11, ->15
   14    14    > > EXIT                                                     'Something+went+wrong+while+connecting+to+MSSQL'
   17    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.41 ms | 1393 KiB | 13 Q