3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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 = 7, Position 2 = 16
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 17
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 17
Branch analysis from position: 33
Branch analysis from position: 17
Branch analysis from position: 16
filename:       /in/oBJoD
function name:  (null)
number of ops:  34
compiled vars:  !0 = $query, !1 = $result, !2 = $pds, !3 = $emplid_val, !4 = $result_row, !5 = $sql_text_tuition, !6 = $tuition_output1, !7 = $sql_line_tuition
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'select+emplid+from+statistics'
    3     1        INIT_FCALL_BY_NAME                                       'mysql_query'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAR_EX                                              !2
          4        DO_FCALL                                      0  $9      
          5        ASSIGN                                           ~10     !1, $9
          6      > JMPNZ_EX                                         ~10     ~10, ->16
          7    >   INIT_FCALL                                               'trigger_error'
          8        INIT_FCALL_BY_NAME                                       'mysql_error'
          9        SEND_VAR_EX                                              !2
         10        DO_FCALL                                      0  $11     
         11        CONCAT                                           ~12     'Query+failed%3A+', $11
         12        SEND_VAL                                                 ~12
         13        SEND_VAL                                                 256
         14        DO_ICALL                                         $13     
         15        BOOL                                             ~10     $13
    4    16    > > JMP                                                      ->28
    5    17    >   FETCH_DIM_R                                      ~14     !4, 'emplid'
         18        ASSIGN                                                   !3, ~14
    6    19        NOP                                                      
         20        FAST_CONCAT                                      ~16     '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+', !3
         21        ASSIGN                                                   !5, ~16
    7    22        ASSIGN                                                   !6, ''
    8    23        INIT_FCALL                                               'exec'
         24        SEND_VAR                                                 !5
         25        SEND_REF                                                 !6
         26        DO_ICALL                                         $19     
         27        ASSIGN                                                   !7, $19
    4    28    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_assoc'
         29        SEND_VAR_EX                                              !1
         30        DO_FCALL                                      0  $21     
         31        ASSIGN                                           ~22     !4, $21
         32      > JMPNZ                                                    ~22, ->17
    9    33    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.13 ms | 1400 KiB | 17 Q