3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Report_Filter { public $And_Or; public $Report_Field_ID; public $Comparison; public $Value; } class Report_Order_By { public $Report_Field_ID; public $Direction; } class Text_Export_Formatting { public $Field_Delimiter = ","; public $Text_Qualifier = "\""; public $Include_Headers = true; public $Apply_Delimiter_To_Headers = true; public $Apply_Qualifier_To_Headers = true; public $Fixed_Width = false; public $Fixed_Widths = array(); // array with Fixed_Width_Info objects } class Fixed_Width_Info { public $Report_Field_ID; public $Column_Width; } class Column_Formatting { public $Report_Field_ID; public $Bold; public $Italic; public $Underline; public $Alignment; public $Data_Type; // Data_Type type public $Summary_Type; // Summary_Type type public $Total; public $Pivot_Table_Field; } class Header_Formatting { public $Report_Field_ID; public $Bold; public $Italic; public $Underline; public $Alignment; } class Excel_Export_Formatting { public $Type; public $Include_Headers; public $Include_Data_Tab; public $Header_Format = array(); // array of Header_Formatting objects public $Column_Format = array(); // array of Column_Formatting objects public $Table_Theming; } class Delivery_Method { public $Type; public $Share_Drive_Info; public $EMail_Info; public $FTP_Info; } class FTP_Information { public $Secure; public $Address; public $Port; public $Path; public $Username; public $Password; } class EMail_Information { public $Recipient; public $CC_Recipient; public $BCC_Recipient; public $Subject; public $Body; } class Share_Drive_Information { public $Address; public $Username; public $Password; } class ReportSettings { public $Report_Platform_ID = null; public $Report_Type_ID = null; public $Zip_File = null; public $Encrypt_File = null; public $AES_Encrypt = null; public $Encrypt_Password = "RANDOM PASSWORD"; public $Export_Filename = null; public $Export_Type = "Text"; public $Report_Field_IDs = array(); // array with native type /* Requires setter methods */ // Setter method: setReportFilters() public $Report_Filters = array(); // array with Report_Filter objects // Setter method: setReportOrderBy() public $Report_Order_Bys = array(); // array with Report_Order_By objects // Setter method: setTextExport() public $Text_Export; // Setter method: setExcelExport() public $Excel_Export; // Setter method: setDeliveryMethod() public $Delivery_Methods; public function setReportFilters($data) { foreach($data as $d) { $o = new Report_Filter(); $o->Report_Field_ID = $d['Report_Field_ID']; $o->Comparison = $d['Comparison']; $o->Value = $d['Value']; $o->And_Or = $d['And_Or']; $this->Report_Filters[] = $o; } } public function setReportOrderBy($data) { foreach($data as $d) { $o = new Report_Order_By(); $o->Report_Field_ID = $d['Report_Field_ID']; $o->Direction = $d['Direction']; $this->Report_Order_Bys[] = $o; } } public function setTextExport($data) { $o = new Text_Export_Formatting(); $o->Field_Delimiter = $data['Field_Delimiter']; $o->Text_Qualifier = $data['Text_Qualifier']; $o->Apply_Delimiter_To_Headers = $data['Apply_Delimiter_To_Headers']; $o->Apply_Qualifier_To_Headers = $data['Apply_Qualifier_To_Headers']; $o->Include_Headers = $data['Include_Headers']; $o->Fixed_Width = $data['Fixed_Width']; if($data['Fixed_Width']) { foreach ($data['Fixed_Widths'] as $w) { $fw = new Fixed_Width_Info(); $fw->Column_Width = $w['Column_Width']; $fw->Report_Field_ID = $w['Report_Field_ID']; $o->Fixed_Widths[] = $fw; } } } public function setExcelExport($data) { $o = new Excel_Export_Formatting(); $o->Type = $data['Type']; $o->Include_Headers = $data['Include_Headers']; $o->Include_Data_Tab = $data['Include_Data_Tab']; if($data['Header_Format']) { foreach ($data['Header_Format'] as $d) { $hf = new Header_Formatting(); $hf->Report_Field_ID = $d['Report_Field_ID']; $hf->Alignment = $d['Alignment']; $hf->Bold = $d['Bold']; $hf->Italic = $d['Italic']; $hf->Underline = $d['Underline']; $o->Column_Format[] = $hf; } } if($data['Column_Format']) { foreach ($data['Column_Format'] as $d) { $cf = new Column_Formatting(); $cf->Report_Field_ID = $d['Report_Field_ID']; $cf->Alignment = $d['Alignment']; $cf->Bold = $d['Bold']; $cf->Italic = $d['Italic']; $cf->Data_Type = $d['Data_Type']; $cf->Underline = $d['Underline']; $cf->Summary_Type = $d['Summary_Type']; $cf->Total = $d['Total']; $o->Column_Format[] = $cf; } } } public function setDeliveryMethod($data) { $o = new Delivery_Method(); $o->Type = $data['Type']; switch ($data['Type']) { case 'ftp' : $f = new FTP_Information(); $f->Address = $data['Address']; $f->Path = $data['Path']; $f->Port = $data['Port']; $f->Username = $data['Username']; $f->Password = $data['Password']; $f->Secure = $data['Secure']; $o->FTP_Info = $f; break; case 'email' : $e = new EMail_Information(); $e->Subject = $data['Subject']; $e->Recipient = $data['Recipient']; $e->CC_Recipient = $data['CC_Recipient']; $e->BCC_Recipient = $data['BCC_Recipient']; $e->Body = $data['Body']; $o->EMail_Info = $e; break; case 'shared': $s = new Share_Drive_Information(); $s->Username = $data['Username']; $s->Password = $data['Password']; $s->Address = $data['Address']; $o->Share_Drive_Info = $s; break; default: } } } // class /*****************************************************************************************************************************/ $array = array(); $report = new ReportSettings(); $report->Report_Platform_ID = '11'; $report->Report_Type_ID = '11'; $report->Report_Field_IDs = array(11,21,31,45,6); $report->Zip_File = 'true'; $report->Encrypt_File = 'true'; $report->AES_Encrypt = 'true'; $report->Encrypt_Password = "RANDOM PASSWORD"; $report->Export_Filename = "myexport_filename.txt"; $report->Export_Type = "Text"; $fixed_widths = array( array( 'Column_Width' => '50', 'Report_Field_ID' => '24' ), array( 'Column_Width' => '50', 'Report_Field_ID' => '31' ), array( 'Column_Width' => '50', 'Report_Field_ID' => '21' ), array( 'Column_Width' => '50', 'Report_Field_ID' => '56' ) ); $report->setTextExport(array( 'Field_Delimiter' => ',', 'Text_Qualifier' => '"', 'Apply_Delimiter_To_Headers' => 'true', 'Apply_Qualifier_To_Headers' => 'true', 'Include_Headers' => 'true', 'Fixed_Width' => 'true', 'Fixed_Widths' => $fixed_widths )); $report->setDeliveryMethod(array( 'Type' => "ftp", 'Address' => "169.111.222.1", 'Path' => "/home/htdocs/uploads", 'Port' => "22", 'Username' => "myftpuser", 'Password' => "pazzwordz", 'Secure' => "false" )); var_dump($report);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WVHuV
function name:  (null)
number of ops:  40
compiled vars:  !0 = $array, !1 = $report, !2 = $fixed_widths
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  289     0  E >   ASSIGN                                                   !0, <array>
  291     1        NEW                                              $4      'ReportSettings'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $4
  293     4        ASSIGN_OBJ                                               !1, 'Report_Platform_ID'
          5        OP_DATA                                                  '11'
  294     6        ASSIGN_OBJ                                               !1, 'Report_Type_ID'
          7        OP_DATA                                                  '11'
  295     8        ASSIGN_OBJ                                               !1, 'Report_Field_IDs'
          9        OP_DATA                                                  <array>
  296    10        ASSIGN_OBJ                                               !1, 'Zip_File'
         11        OP_DATA                                                  'true'
  297    12        ASSIGN_OBJ                                               !1, 'Encrypt_File'
         13        OP_DATA                                                  'true'
  298    14        ASSIGN_OBJ                                               !1, 'AES_Encrypt'
         15        OP_DATA                                                  'true'
  299    16        ASSIGN_OBJ                                               !1, 'Encrypt_Password'
         17        OP_DATA                                                  'RANDOM+PASSWORD'
  300    18        ASSIGN_OBJ                                               !1, 'Export_Filename'
         19        OP_DATA                                                  'myexport_filename.txt'
  301    20        ASSIGN_OBJ                                               !1, 'Export_Type'
         21        OP_DATA                                                  'Text'
  304    22        ASSIGN                                                   !2, <array>
  323    23        INIT_METHOD_CALL                                         !1, 'setTextExport'
  324    24        INIT_ARRAY                                       ~17     '%2C', 'Field_Delimiter'
  325    25        ADD_ARRAY_ELEMENT                                ~17     '%22', 'Text_Qualifier'
  326    26        ADD_ARRAY_ELEMENT                                ~17     'true', 'Apply_Delimiter_To_Headers'
  327    27        ADD_ARRAY_ELEMENT                                ~17     'true', 'Apply_Qualifier_To_Headers'
  328    28        ADD_ARRAY_ELEMENT                                ~17     'true', 'Include_Headers'
  329    29        ADD_ARRAY_ELEMENT                                ~17     'true', 'Fixed_Width'
  330    30        ADD_ARRAY_ELEMENT                                ~17     !2, 'Fixed_Widths'
         31        SEND_VAL_EX                                              ~17
         32        DO_FCALL                                      0          
  334    33        INIT_METHOD_CALL                                         !1, 'setDeliveryMethod'
  335    34        SEND_VAL_EX                                              <array>
         35        DO_FCALL                                      0          
  344    36        INIT_FCALL                                               'var_dump'
         37        SEND_VAR                                                 !1
         38        DO_ICALL                                                 
         39      > RETURN                                                   1

Class Report_Filter: [no user functions]
Class Report_Order_By: [no user functions]
Class Text_Export_Formatting: [no user functions]
Class Fixed_Width_Info: [no user functions]
Class Column_Formatting: [no user functions]
Class Header_Formatting: [no user functions]
Class Excel_Export_Formatting: [no user functions]
Class Delivery_Method: [no user functions]
Class FTP_Information: [no user functions]
Class EMail_Information: [no user functions]
Class Share_Drive_Information: [no user functions]
Class ReportSettings:
Function setreportfilters:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 22
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 22
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/WVHuV
function name:  setReportFilters
number of ops:  24
compiled vars:  !0 = $data, !1 = $d, !2 = $o
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  134     0  E >   RECV                                             !0      
  136     1      > FE_RESET_R                                       $3      !0, ->22
          2    > > FE_FETCH_R                                               $3, !1, ->22
  138     3    >   NEW                                              $4      'Report_Filter'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !2, $4
  140     6        FETCH_DIM_R                                      ~8      !1, 'Report_Field_ID'
          7        ASSIGN_OBJ                                               !2, 'Report_Field_ID'
          8        OP_DATA                                                  ~8
  141     9        FETCH_DIM_R                                      ~10     !1, 'Comparison'
         10        ASSIGN_OBJ                                               !2, 'Comparison'
         11        OP_DATA                                                  ~10
  142    12        FETCH_DIM_R                                      ~12     !1, 'Value'
         13        ASSIGN_OBJ                                               !2, 'Value'
         14        OP_DATA                                                  ~12
  143    15        FETCH_DIM_R                                      ~14     !1, 'And_Or'
         16        ASSIGN_OBJ                                               !2, 'And_Or'
         17        OP_DATA                                                  ~14
  145    18        FETCH_OBJ_W                                      $15     'Report_Filters'
         19        ASSIGN_DIM                                               $15
         20        OP_DATA                                                  !2
  136    21      > JMP                                                      ->2
         22    >   FE_FREE                                                  $3
  147    23      > RETURN                                                   null

End of function setreportfilters

Function setreportorderby:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 16
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 16
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/WVHuV
function name:  setReportOrderBy
number of ops:  18
compiled vars:  !0 = $data, !1 = $d, !2 = $o
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  149     0  E >   RECV                                             !0      
  151     1      > FE_RESET_R                                       $3      !0, ->16
          2    > > FE_FETCH_R                                               $3, !1, ->16
  153     3    >   NEW                                              $4      'Report_Order_By'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !2, $4
  155     6        FETCH_DIM_R                                      ~8      !1, 'Report_Field_ID'
          7        ASSIGN_OBJ                                               !2, 'Report_Field_ID'
          8        OP_DATA                                                  ~8
  156     9        FETCH_DIM_R                                      ~10     !1, 'Direction'
         10        ASSIGN_OBJ                                               !2, 'Direction'
         11        OP_DATA                                                  ~10
  158    12        FETCH_OBJ_W                                      $11     'Report_Order_Bys'
         13        ASSIGN_DIM                                               $11
         14        OP_DATA                                                  !2
  151    15      > JMP                                                      ->2
         16    >   FE_FREE                                                  $3
  160    17      > RETURN                                                   null

End of function setreportorderby

Function settextexport:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 41
Branch analysis from position: 24
2 jumps found. (Code = 77) Position 1 = 26, Position 2 = 40
Branch analysis from position: 26
2 jumps found. (Code = 78) Position 1 = 27, Position 2 = 40
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
Branch analysis from position: 40
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 40
Branch analysis from position: 41
filename:       /in/WVHuV
function name:  setTextExport
number of ops:  42
compiled vars:  !0 = $data, !1 = $o, !2 = $w, !3 = $fw
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  162     0  E >   RECV                                             !0      
  164     1        NEW                                              $4      'Text_Export_Formatting'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $4
  166     4        FETCH_DIM_R                                      ~8      !0, 'Field_Delimiter'
          5        ASSIGN_OBJ                                               !1, 'Field_Delimiter'
          6        OP_DATA                                                  ~8
  167     7        FETCH_DIM_R                                      ~10     !0, 'Text_Qualifier'
          8        ASSIGN_OBJ                                               !1, 'Text_Qualifier'
          9        OP_DATA                                                  ~10
  168    10        FETCH_DIM_R                                      ~12     !0, 'Apply_Delimiter_To_Headers'
         11        ASSIGN_OBJ                                               !1, 'Apply_Delimiter_To_Headers'
         12        OP_DATA                                                  ~12
  169    13        FETCH_DIM_R                                      ~14     !0, 'Apply_Qualifier_To_Headers'
         14        ASSIGN_OBJ                                               !1, 'Apply_Qualifier_To_Headers'
         15        OP_DATA                                                  ~14
  170    16        FETCH_DIM_R                                      ~16     !0, 'Include_Headers'
         17        ASSIGN_OBJ                                               !1, 'Include_Headers'
         18        OP_DATA                                                  ~16
  171    19        FETCH_DIM_R                                      ~18     !0, 'Fixed_Width'
         20        ASSIGN_OBJ                                               !1, 'Fixed_Width'
         21        OP_DATA                                                  ~18
  173    22        FETCH_DIM_R                                      ~19     !0, 'Fixed_Width'
         23      > JMPZ                                                     ~19, ->41
  175    24    >   FETCH_DIM_R                                      ~20     !0, 'Fixed_Widths'
         25      > FE_RESET_R                                       $21     ~20, ->40
         26    > > FE_FETCH_R                                               $21, !2, ->40
  177    27    >   NEW                                              $22     'Fixed_Width_Info'
         28        DO_FCALL                                      0          
         29        ASSIGN                                                   !3, $22
  179    30        FETCH_DIM_R                                      ~26     !2, 'Column_Width'
         31        ASSIGN_OBJ                                               !3, 'Column_Width'
         32        OP_DATA                                                  ~26
  180    33        FETCH_DIM_R                                      ~28     !2, 'Report_Field_ID'
         34        ASSIGN_OBJ                                               !3, 'Report_Field_ID'
         35        OP_DATA                                                  ~28
  182    36        FETCH_OBJ_W                                      $29     !1, 'Fixed_Widths'
         37        ASSIGN_DIM                                               $29
         38        OP_DATA                                                  !3
  175    39      > JMP                                                      ->26
         40    >   FE_FREE                                                  $21
  185    41    > > RETURN                                                   null

End of function settextexport

Function setexcelexport:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 41
Branch analysis from position: 15
2 jumps found. (Code = 77) Position 1 = 17, Position 2 = 40
Branch analysis from position: 17
2 jumps found. (Code = 78) Position 1 = 18, Position 2 = 40
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 40
2 jumps found. (Code = 43) Position 1 = 43, Position 2 = 78
Branch analysis from position: 43
2 jumps found. (Code = 77) Position 1 = 45, Position 2 = 77
Branch analysis from position: 45
2 jumps found. (Code = 78) Position 1 = 46, Position 2 = 77
Branch analysis from position: 46
1 jumps found. (Code = 42) Position 1 = 45
Branch analysis from position: 45
Branch analysis from position: 77
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 77
Branch analysis from position: 78
Branch analysis from position: 40
Branch analysis from position: 41
filename:       /in/WVHuV
function name:  setExcelExport
number of ops:  79
compiled vars:  !0 = $data, !1 = $o, !2 = $d, !3 = $hf, !4 = $cf
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  187     0  E >   RECV                                             !0      
  189     1        NEW                                              $5      'Excel_Export_Formatting'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $5
  191     4        FETCH_DIM_R                                      ~9      !0, 'Type'
          5        ASSIGN_OBJ                                               !1, 'Type'
          6        OP_DATA                                                  ~9
  192     7        FETCH_DIM_R                                      ~11     !0, 'Include_Headers'
          8        ASSIGN_OBJ                                               !1, 'Include_Headers'
          9        OP_DATA                                                  ~11
  193    10        FETCH_DIM_R                                      ~13     !0, 'Include_Data_Tab'
         11        ASSIGN_OBJ                                               !1, 'Include_Data_Tab'
         12        OP_DATA                                                  ~13
  195    13        FETCH_DIM_R                                      ~14     !0, 'Header_Format'
         14      > JMPZ                                                     ~14, ->41
  197    15    >   FETCH_DIM_R                                      ~15     !0, 'Header_Format'
         16      > FE_RESET_R                                       $16     ~15, ->40
         17    > > FE_FETCH_R                                               $16, !2, ->40
  199    18    >   NEW                                              $17     'Header_Formatting'
         19        DO_FCALL                                      0          
         20        ASSIGN                                                   !3, $17
  201    21        FETCH_DIM_R                                      ~21     !2, 'Report_Field_ID'
         22        ASSIGN_OBJ                                               !3, 'Report_Field_ID'
         23        OP_DATA                                                  ~21
  202    24        FETCH_DIM_R                                      ~23     !2, 'Alignment'
         25        ASSIGN_OBJ                                               !3, 'Alignment'
         26        OP_DATA                                                  ~23
  203    27        FETCH_DIM_R                                      ~25     !2, 'Bold'
         28        ASSIGN_OBJ                                               !3, 'Bold'
         29        OP_DATA                                                  ~25
  204    30        FETCH_DIM_R                                      ~27     !2, 'Italic'
         31        ASSIGN_OBJ                                               !3, 'Italic'
         32        OP_DATA                                                  ~27
  205    33        FETCH_DIM_R                                      ~29     !2, 'Underline'
         34        ASSIGN_OBJ                                               !3, 'Underline'
         35        OP_DATA                                                  ~29
  207    36        FETCH_OBJ_W                                      $30     !1, 'Column_Format'
         37        ASSIGN_DIM                                               $30
         38        OP_DATA                                                  !3
  197    39      > JMP                                                      ->17
         40    >   FE_FREE                                                  $16
  211    41    >   FETCH_DIM_R                                      ~32     !0, 'Column_Format'
         42      > JMPZ                                                     ~32, ->78
  213    43    >   FETCH_DIM_R                                      ~33     !0, 'Column_Format'
         44      > FE_RESET_R                                       $34     ~33, ->77
         45    > > FE_FETCH_R                                               $34, !2, ->77
  215    46    >   NEW                                              $35     'Column_Formatting'
         47        DO_FCALL                                      0          
         48        ASSIGN                                                   !4, $35
  217    49        FETCH_DIM_R                                      ~39     !2, 'Report_Field_ID'
         50        ASSIGN_OBJ                                               !4, 'Report_Field_ID'
         51        OP_DATA                                                  ~39
  218    52        FETCH_DIM_R                                      ~41     !2, 'Alignment'
         53        ASSIGN_OBJ                                               !4, 'Alignment'
         54        OP_DATA                                                  ~41
  219    55        FETCH_DIM_R                                      ~43     !2, 'Bold'
         56        ASSIGN_OBJ                                               !4, 'Bold'
         57        OP_DATA                                                  ~43
  220    58        FETCH_DIM_R                                      ~45     !2, 'Italic'
         59        ASSIGN_OBJ                                               !4, 'Italic'
         60        OP_DATA                                                  ~45
  221    61        FETCH_DIM_R                                      ~47     !2, 'Data_Type'
         62        ASSIGN_OBJ                                               !4, 'Data_Type'
         63        OP_DATA                                                  ~47
  222    64        FETCH_DIM_R                                      ~49     !2, 'Underline'
         65        ASSIGN_OBJ                                               !4, 'Underline'
         66        OP_DATA                                                  ~49
  223    67        FETCH_DIM_R                                      ~51     !2, 'Summary_Type'
         68        ASSIGN_OBJ                                               !4, 'Summary_Type'
         69        OP_DATA                                                  ~51
  224    70        FETCH_DIM_R                                      ~53     !2, 'Total'
         71        ASSIGN_OBJ                                               !4, 'Total'
         72        OP_DATA                                                  ~53
  226    73        FETCH_OBJ_W                                      $54     !1, 'Column_Format'
         74        ASSIGN_DIM                                               $54
         75        OP_DATA                                                  !4
  213    76      > JMP                                                      ->45
         77    >   FE_FREE                                                  $34
  229    78    > > RETURN                                                   null

End of function setexcelexport

Function setdeliverymethod:
Finding entry points
Branch analysis from position: 0
5 jumps found. (Code = 188) Position 1 = 16, Position 2 = 40, Position 3 = 61, Position 4 = 76, Position 5 = 9
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 76
Branch analysis from position: 76
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 40
1 jumps found. (Code = 42) Position 1 = 76
Branch analysis from position: 76
Branch analysis from position: 61
1 jumps found. (Code = 42) Position 1 = 76
Branch analysis from position: 76
Branch analysis from position: 76
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 40
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 61
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 76
Branch analysis from position: 76
Branch analysis from position: 61
Branch analysis from position: 40
Branch analysis from position: 16
filename:       /in/WVHuV
function name:  setDeliveryMethod
number of ops:  78
compiled vars:  !0 = $data, !1 = $o, !2 = $f, !3 = $e, !4 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  231     0  E >   RECV                                             !0      
  233     1        NEW                                              $5      'Delivery_Method'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $5
  235     4        FETCH_DIM_R                                      ~9      !0, 'Type'
          5        ASSIGN_OBJ                                               !1, 'Type'
          6        OP_DATA                                                  ~9
  237     7        FETCH_DIM_R                                      ~10     !0, 'Type'
          8      > SWITCH_STRING                                            ~10, [ 'ftp':->16, 'email':->40, 'shared':->61, ], ->76
  239     9    >   CASE                                                     ~10, 'ftp'
         10      > JMPNZ                                                    ~11, ->16
  254    11    >   CASE                                                     ~10, 'email'
         12      > JMPNZ                                                    ~11, ->40
  268    13    >   CASE                                                     ~10, 'shared'
         14      > JMPNZ                                                    ~11, ->61
         15    > > JMP                                                      ->76
  241    16    >   NEW                                              $12     'FTP_Information'
         17        DO_FCALL                                      0          
         18        ASSIGN                                                   !2, $12
  243    19        FETCH_DIM_R                                      ~16     !0, 'Address'
         20        ASSIGN_OBJ                                               !2, 'Address'
         21        OP_DATA                                                  ~16
  244    22        FETCH_DIM_R                                      ~18     !0, 'Path'
         23        ASSIGN_OBJ                                               !2, 'Path'
         24        OP_DATA                                                  ~18
  245    25        FETCH_DIM_R                                      ~20     !0, 'Port'
         26        ASSIGN_OBJ                                               !2, 'Port'
         27        OP_DATA                                                  ~20
  246    28        FETCH_DIM_R                                      ~22     !0, 'Username'
         29        ASSIGN_OBJ                                               !2, 'Username'
         30        OP_DATA                                                  ~22
  247    31        FETCH_DIM_R                                      ~24     !0, 'Password'
         32        ASSIGN_OBJ                                               !2, 'Password'
         33        OP_DATA                                                  ~24
  248    34        FETCH_DIM_R                                      ~26     !0, 'Secure'
         35        ASSIGN_OBJ                                               !2, 'Secure'
         36        OP_DATA                                                  ~26
  250    37        ASSIGN_OBJ                                               !1, 'FTP_Info'
         38        OP_DATA                                                  !2
  252    39      > JMP                                                      ->76
  256    40    >   NEW                                              $28     'EMail_Information'
         41        DO_FCALL                                      0          
         42        ASSIGN                                                   !3, $28
  258    43        FETCH_DIM_R                                      ~32     !0, 'Subject'
         44        ASSIGN_OBJ                                               !3, 'Subject'
         45        OP_DATA                                                  ~32
  259    46        FETCH_DIM_R                                      ~34     !0, 'Recipient'
         47        ASSIGN_OBJ                                               !3, 'Recipient'
         48        OP_DATA                                                  ~34
  260    49        FETCH_DIM_R                                      ~36     !0, 'CC_Recipient'
         50        ASSIGN_OBJ                                               !3, 'CC_Recipient'
         51        OP_DATA                                                  ~36
  261    52        FETCH_DIM_R                                      ~38     !0, 'BCC_Recipient'
         53        ASSIGN_OBJ                                               !3, 'BCC_Recipient'
         54        OP_DATA                                                  ~38
  262    55        FETCH_DIM_R                                      ~40     !0, 'Body'
         56        ASSIGN_OBJ                                               !3, 'Body'
         57        OP_DATA                                                  ~40
  264    58        ASSIGN_OBJ                                               !1, 'EMail_Info'
         59        OP_DATA                                                  !3
  266    60      > JMP                                                      ->76
  270    61    >   NEW                                              $42     'Share_Drive_Information'
         62        DO_FCALL                                      0          
         63        ASSIGN                                                   !4, $42
  272    64        FETCH_DIM_R                                      ~46     !0, 'Username'
         65        ASSIGN_OBJ                                               !4, 'Username'
         66        OP_DATA                                                  ~46
  273    67        FETCH_DIM_R                                      ~48     !0, 'Password'
         68        ASSIGN_OBJ                                               !4, 'Password'
         69        OP_DATA                                                  ~48
  274    70        FETCH_DIM_R                                      ~50     !0, 'Address'
         71        ASSIGN_OBJ                                               !4, 'Address'
         72        OP_DATA                                                  ~50
  276    73        ASSIGN_OBJ                                               !1, 'Share_Drive_Info'
         74        OP_DATA                                                  !4
  278    75      > JMP                                                      ->76
  280    76    >   FREE                                                     ~10
  283    77      > RETURN                                                   null

End of function setdeliverymethod

End of class ReportSettings.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.95 ms | 1424 KiB | 15 Q