3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hostname_pds = "localhost"; $database_pds = "pds"; $username_pds = "root"; $password_pds = ""; $pds = mysql_pconnect($hostname_pds, $username_pds, $password_pds) or trigger_error(mysql_error(),E_USER_ERROR); $query = "select emplid from statistics"; $result = mysql_query($query, $pds) or trigger_error('Query failed: ' . mysql_error($pds), E_USER_ERROR); while($result_row = mysql_fetch_assoc($result) ) { $emplid_val=$result_row['emplid']; $sql_text_tuition= "sqlplus -s 'gradsch_query/g18a4s3h@(DESCRIPTION =(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = CS900RPT.et.ncsu.edu)(PORT = 16210)))(CONNECT_DATA =(SERVICE_NAME = CS900RPT.et.ncsu.edu)))' @/etc/oracle/gsoars_residency_by_type $emplid_val"; $tuition_output1=""; $sql_line_tuition = exec($sql_text_tuition,$tuition_output1); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 11, Position 2 = 18
Branch analysis from position: 11
2 jumps found. (Code = 47) Position 1 = 25, Position 2 = 34
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 46
Branch analysis from position: 46
2 jumps found. (Code = 44) Position 1 = 51, Position 2 = 35
Branch analysis from position: 51
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 51, Position 2 = 35
Branch analysis from position: 51
Branch analysis from position: 35
Branch analysis from position: 34
Branch analysis from position: 18
filename:       /in/kluGN
function name:  (null)
number of ops:  52
compiled vars:  !0 = $hostname_pds, !1 = $database_pds, !2 = $username_pds, !3 = $password_pds, !4 = $pds, !5 = $query, !6 = $result, !7 = $emplid_val, !8 = $result_row, !9 = $sql_text_tuition, !10 = $tuition_output1, !11 = $sql_line_tuition
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'localhost'
    3     1        ASSIGN                                                   !1, 'pds'
    4     2        ASSIGN                                                   !2, 'root'
    5     3        ASSIGN                                                   !3, ''
    6     4        INIT_FCALL_BY_NAME                                       'mysql_pconnect'
          5        SEND_VAR_EX                                              !0
          6        SEND_VAR_EX                                              !2
          7        SEND_VAR_EX                                              !3
          8        DO_FCALL                                      0  $16     
          9        ASSIGN                                           ~17     !4, $16
         10      > JMPNZ_EX                                         ~17     ~17, ->18
         11    >   INIT_FCALL                                               'trigger_error'
         12        INIT_FCALL_BY_NAME                                       'mysql_error'
         13        DO_FCALL                                      0  $18     
         14        SEND_VAR                                                 $18
         15        SEND_VAL                                                 256
         16        DO_ICALL                                         $19     
         17        BOOL                                             ~17     $19
    8    18    >   ASSIGN                                                   !5, 'select+emplid+from+statistics'
    9    19        INIT_FCALL_BY_NAME                                       'mysql_query'
         20        SEND_VAR_EX                                              !5
         21        SEND_VAR_EX                                              !4
         22        DO_FCALL                                      0  $21     
         23        ASSIGN                                           ~22     !6, $21
         24      > JMPNZ_EX                                         ~22     ~22, ->34
         25    >   INIT_FCALL                                               'trigger_error'
         26        INIT_FCALL_BY_NAME                                       'mysql_error'
         27        SEND_VAR_EX                                              !4
         28        DO_FCALL                                      0  $23     
         29        CONCAT                                           ~24     'Query+failed%3A+', $23
         30        SEND_VAL                                                 ~24
         31        SEND_VAL                                                 256
         32        DO_ICALL                                         $25     
         33        BOOL                                             ~22     $25
   10    34    > > JMP                                                      ->46
   11    35    >   FETCH_DIM_R                                      ~26     !8, 'emplid'
         36        ASSIGN                                                   !7, ~26
   12    37        NOP                                                      
         38        FAST_CONCAT                                      ~28     'sqlplus+-s+%27gradsch_query%2Fg18a4s3h%40%28DESCRIPTION+%3D%28ADDRESS_LIST+%3D+%28ADDRESS+%3D+%28PROTOCOL+%3D+TCP%29%28HOST+%3D+CS900RPT.et.ncsu.edu%29%28PORT+%3D+16210%29%29%29%28CONNECT_DATA+%3D%28SERVICE_NAME+%3D+CS900RPT.et.ncsu.edu%29%29%29%27+%40%2Fetc%2Foracle%2Fgsoars_residency_by_type+', !7
         39        ASSIGN                                                   !9, ~28
   13    40        ASSIGN                                                   !10, ''
   14    41        INIT_FCALL                                               'exec'
         42        SEND_VAR                                                 !9
         43        SEND_REF                                                 !10
         44        DO_ICALL                                         $31     
         45        ASSIGN                                                   !11, $31
   10    46    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_assoc'
         47        SEND_VAR_EX                                              !6
         48        DO_FCALL                                      0  $33     
         49        ASSIGN                                           ~34     !8, $33
         50      > JMPNZ                                                    ~34, ->35
   15    51    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.58 ms | 1400 KiB | 17 Q