3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); $sfid = ''; $sa = ''; $lo = ''; $ra = ''; $numrec = ''; try { $arrayleadurimap= array( "1274235@accela.3ccloud.com" => "Charles Brown", "1274271@accela.3ccloud.com" => "Chad Devero", "1274243@accela.3ccloud.com" => "Chantz Gnad", "1274247@accela.3ccloud.com" => "Chad Lee", "1274275@accela.3ccloud.com" => "Chris Meyn", "1274251@accela.3ccloud.com" => "Jared Borberg", "1274279@accela.3ccloud.com" => "Josh Holloway", "1274283@accela.3ccloud.com" => "Karon McGlinn", "1274287@accela.3ccloud.com" => "Michaell Wallace-Beaven", "1274291@accela.3ccloud.com" => "Matt Fisher", "1274255@accela.3ccloud.com" => "Martin Wehrenberg", "1274295@accela.3ccloud.com" => "Pam Castrey", "1274259@accela.3ccloud.com" => "Terrence Abney", "1274299@accela.3ccloud.com" => "Terence Gunn", "1274263@accela.3ccloud.com" => "Trey Sparks", "12742107@accela.3ccloud.com" => "Caleb Foreman", "12742111@accela.3ccloud.com" => "Greg Weber", "12742115@accela.3ccloud.com" => "Chris Kneedler", "12742119@accela.3ccloud.com" => "Ryan Haynes", "12742123@accela.3ccloud.com" => "Beau Bryan", "12742127@accela.3ccloud.com" => "Nancy Sisson" ); $username = $_GET["username"]; $password = $_GET["password"]; $number = $_GET["number"]; $url="https://login.salesforce.com/services/Soap/c/28.0/0DFd0000000HB01"; $xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>". "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:tns=\"urn:enterprise.soap.sforce.com\">". "<soap:Header>". "<tns:LoginScopeHeader>". "<tns:organizationId/>". "</tns:LoginScopeHeader>". "</soap:Header>". "<soap:Body>". "<tns:login>". "<tns:username>".$username."</tns:username>". "<tns:password>".$password."</tns:password>". "</tns:login>". "</soap:Body>". "</soap:Envelope>"; $headers = array( 'Content-Type:text/xml; charset=utf-8', 'User-Agent:Webastra', 'SOAPAction:login', ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLINFO_HEADER_OUT, true); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); $result = curl_exec($ch); $info = curl_getinfo($ch); curl_close($ch); $oXML = new SimpleXMLElement($result); $oXML->registerXPathNamespace('c', 'http://schemas.xmlsoap.org/soap/envelope/'); $oXML->registerXPathNamespace('f', 'urn:enterprise.soap.sforce.com'); $metadata1 = $oXML->xpath('//f:serverUrl'); $metadata2 = $oXML->xpath('//f:sessionId'); $serverurl = $metadata1[0]; $sessionid = $metadata2[0]; $to = $number; $len = strlen($number); if($len >= 10) { $to = sprintf("(%s) %s-%s", substr($number, 0, 3), substr($number, 3, 3), substr($number, 6)); } //search sfid $xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?> <soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:tns=\"urn:enterprise.soap.sforce.com\"> <soap:Header> <tns:SessionHeader> <tns:sessionId>".$sessionid."</tns:sessionId> </tns:SessionHeader> <tns:QueryOptions/> <tns:MruHeader> <tns:updateMru>true</tns:updateMru> </tns:MruHeader> <tns:PackageVersionHeader/> </soap:Header> <soap:Body> <tns:query> <tns:queryString>select Id,Stips_Agent__c,F9LO__c,Owner.Name,F9Retention_Agent__c from Lead where Phone like '%".$to."%' OR Phone like '%".$number."%'</tns:queryString> </tns:query> </soap:Body> </soap:Envelope>"; $headers = array( 'Content-Type:text/xml; charset=utf-8', 'User-Agent:Webastra', 'SOAPAction:""', ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $serverurl); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLINFO_HEADER_OUT, true); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); $result = curl_exec($ch); $info = curl_getinfo($ch); curl_close($ch); $oXML = new SimpleXMLElement($result); $oXML->registerXPathNamespace('c', 'http://schemas.xmlsoap.org/soap/envelope/'); $oXML->registerXPathNamespace('d', 'urn:enterprise.soap.sforce.com'); $oXML->registerXPathNamespace('f', 'urn:sobject.enterprise.soap.sforce.com'); $metadata1 = $oXML->xpath('//f:Id'); $metadata2 = $oXML->xpath('//f:Stips_Agent__c'); $metadata3 = $oXML->xpath('//f:F9LO__c'); $metadata4 = $oXML->xpath('//f:F9Retention_Agent__c'); $sfid = $metadata1[0]; $sa = $metadata2[0]; $lo = $metadata3[0]; $ra = $metadata4[0]; $leadfield = ''; $agenturi=''; if(strlen($sfid) > 0) { if(strlen($ra) != 0) { $leadfield = $ra; } else if(strlen($sa) != 0) { $leadfield = $sa; } else if(strlen($lo) != 0) { $leadfield = $lo; } } if(strlen($leadfield) != 0) { while ($val1 = current($arrayleadurimap)) { if ($val1==$leadfield) { $agenturi = key($arrayleadurimap); break; } next($arrayleadurimap); } } if(strlen($agenturi) != 0) { print 'call='.$agenturi.',sfid='.$sfid; } else { print 'prom=,result='.$result; } } catch(Exception $e) { echo $e; } ob_flush(); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 125, Position 2 = 146
Branch analysis from position: 125
2 jumps found. (Code = 43) Position 1 = 267, Position 2 = 281
Branch analysis from position: 267
2 jumps found. (Code = 43) Position 1 = 270, Position 2 = 272
Branch analysis from position: 270
1 jumps found. (Code = 42) Position 1 = 281
Branch analysis from position: 281
2 jumps found. (Code = 43) Position 1 = 284, Position 2 = 300
Branch analysis from position: 284
1 jumps found. (Code = 42) Position 1 = 295
Branch analysis from position: 295
2 jumps found. (Code = 44) Position 1 = 300, Position 2 = 285
Branch analysis from position: 300
2 jumps found. (Code = 43) Position 1 = 303, Position 2 = 308
Branch analysis from position: 303
1 jumps found. (Code = 42) Position 1 = 310
Branch analysis from position: 310
1 jumps found. (Code = 42) Position 1 = 313
Branch analysis from position: 313
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 308
1 jumps found. (Code = 42) Position 1 = 313
Branch analysis from position: 313
Branch analysis from position: 285
2 jumps found. (Code = 43) Position 1 = 287, Position 2 = 292
Branch analysis from position: 287
1 jumps found. (Code = 42) Position 1 = 300
Branch analysis from position: 300
Branch analysis from position: 292
2 jumps found. (Code = 44) Position 1 = 300, Position 2 = 285
Branch analysis from position: 300
Branch analysis from position: 285
Branch analysis from position: 300
Branch analysis from position: 272
2 jumps found. (Code = 43) Position 1 = 275, Position 2 = 277
Branch analysis from position: 275
1 jumps found. (Code = 42) Position 1 = 281
Branch analysis from position: 281
Branch analysis from position: 277
2 jumps found. (Code = 43) Position 1 = 280, Position 2 = 281
Branch analysis from position: 280
2 jumps found. (Code = 43) Position 1 = 284, Position 2 = 300
Branch analysis from position: 284
Branch analysis from position: 300
Branch analysis from position: 281
Branch analysis from position: 281
Branch analysis from position: 146
Found catch point at position: 311
Branch analysis from position: 311
2 jumps found. (Code = 107) Position 1 = 312, Position 2 = -2
Branch analysis from position: 312
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3R4Xr
function name:  (null)
number of ops:  316
compiled vars:  !0 = $sfid, !1 = $sa, !2 = $lo, !3 = $ra, !4 = $numrec, !5 = $arrayleadurimap, !6 = $username, !7 = $password, !8 = $number, !9 = $url, !10 = $xml, !11 = $headers, !12 = $ch, !13 = $result, !14 = $info, !15 = $oXML, !16 = $metadata1, !17 = $metadata2, !18 = $serverurl, !19 = $sessionid, !20 = $to, !21 = $len, !22 = $metadata3, !23 = $metadata4, !24 = $leadfield, !25 = $agenturi, !26 = $val1, !27 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    4     2        ASSIGN                                                   !0, ''
    5     3        ASSIGN                                                   !1, ''
    6     4        ASSIGN                                                   !2, ''
    7     5        ASSIGN                                                   !3, ''
    8     6        ASSIGN                                                   !4, ''
   12     7        ASSIGN                                                   !5, <array>
   36     8        FETCH_R                      global              ~35     '_GET'
          9        FETCH_DIM_R                                      ~36     ~35, 'username'
         10        ASSIGN                                                   !6, ~36
   37    11        FETCH_R                      global              ~38     '_GET'
         12        FETCH_DIM_R                                      ~39     ~38, 'password'
         13        ASSIGN                                                   !7, ~39
   38    14        FETCH_R                      global              ~41     '_GET'
         15        FETCH_DIM_R                                      ~42     ~41, 'number'
         16        ASSIGN                                                   !8, ~42
   40    17        ASSIGN                                                   !9, 'https%3A%2F%2Flogin.salesforce.com%2Fservices%2FSoap%2Fc%2F28.0%2F0DFd0000000HB01'
   51    18        CONCAT                                           ~45     '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E%3Csoap%3AEnvelope+xmlns%3Asoap%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%22+xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22+++xmlns%3Axsd%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%22+xmlns%3Atns%3D%22urn%3Aenterprise.soap.sforce.com%22%3E%3Csoap%3AHeader%3E%3Ctns%3ALoginScopeHeader%3E%3Ctns%3AorganizationId%2F%3E%3C%2Ftns%3ALoginScopeHeader%3E%3C%2Fsoap%3AHeader%3E%3Csoap%3ABody%3E%3Ctns%3Alogin%3E%3Ctns%3Ausername%3E', !6
         19        CONCAT                                           ~46     ~45, '%3C%2Ftns%3Ausername%3E'
   52    20        CONCAT                                           ~47     ~46, '%3Ctns%3Apassword%3E'
         21        CONCAT                                           ~48     ~47, !7
         22        CONCAT                                           ~49     ~48, '%3C%2Ftns%3Apassword%3E'
   53    23        CONCAT                                           ~50     ~49, '%3C%2Ftns%3Alogin%3E'
   54    24        CONCAT                                           ~51     ~50, '%3C%2Fsoap%3ABody%3E'
   55    25        CONCAT                                           ~52     ~51, '%3C%2Fsoap%3AEnvelope%3E'
   42    26        ASSIGN                                                   !10, ~52
   57    27        ASSIGN                                                   !11, <array>
   63    28        INIT_FCALL_BY_NAME                                       'curl_init'
         29        DO_FCALL                                      0  $55     
         30        ASSIGN                                                   !12, $55
   64    31        INIT_FCALL_BY_NAME                                       'curl_setopt'
         32        SEND_VAR_EX                                              !12
         33        FETCH_CONSTANT                                   ~57     'CURLOPT_URL'
         34        SEND_VAL_EX                                              ~57
         35        SEND_VAR_EX                                              !9
         36        DO_FCALL                                      0          
   65    37        INIT_FCALL_BY_NAME                                       'curl_setopt'
         38        SEND_VAR_EX                                              !12
         39        FETCH_CONSTANT                                   ~59     'CURLOPT_HEADER'
         40        SEND_VAL_EX                                              ~59
         41        SEND_VAL_EX                                              <false>
         42        DO_FCALL                                      0          
   66    43        INIT_FCALL_BY_NAME                                       'curl_setopt'
         44        SEND_VAR_EX                                              !12
         45        FETCH_CONSTANT                                   ~61     'CURLINFO_HEADER_OUT'
         46        SEND_VAL_EX                                              ~61
         47        SEND_VAL_EX                                              <true>
         48        DO_FCALL                                      0          
   67    49        INIT_FCALL_BY_NAME                                       'curl_setopt'
         50        SEND_VAR_EX                                              !12
         51        FETCH_CONSTANT                                   ~63     'CURLOPT_HTTPHEADER'
         52        SEND_VAL_EX                                              ~63
         53        SEND_VAR_EX                                              !11
         54        DO_FCALL                                      0          
   68    55        INIT_FCALL_BY_NAME                                       'curl_setopt'
         56        SEND_VAR_EX                                              !12
         57        FETCH_CONSTANT                                   ~65     'CURLOPT_POST'
         58        SEND_VAL_EX                                              ~65
         59        SEND_VAL_EX                                              1
         60        DO_FCALL                                      0          
   69    61        INIT_FCALL_BY_NAME                                       'curl_setopt'
         62        SEND_VAR_EX                                              !12
         63        FETCH_CONSTANT                                   ~67     'CURLOPT_POSTFIELDS'
         64        SEND_VAL_EX                                              ~67
         65        SEND_VAR_EX                                              !10
         66        DO_FCALL                                      0          
   70    67        INIT_FCALL_BY_NAME                                       'curl_setopt'
         68        SEND_VAR_EX                                              !12
         69        FETCH_CONSTANT                                   ~69     'CURLOPT_RETURNTRANSFER'
         70        SEND_VAL_EX                                              ~69
         71        SEND_VAL_EX                                              1
         72        DO_FCALL                                      0          
   71    73        INIT_FCALL_BY_NAME                                       'curl_setopt'
         74        SEND_VAR_EX                                              !12
         75        FETCH_CONSTANT                                   ~71     'CURLOPT_SSL_VERIFYPEER'
         76        SEND_VAL_EX                                              ~71
         77        SEND_VAL_EX                                              0
         78        DO_FCALL                                      0          
   72    79        INIT_FCALL_BY_NAME                                       'curl_setopt'
         80        SEND_VAR_EX                                              !12
         81        FETCH_CONSTANT                                   ~73     'CURLOPT_SSL_VERIFYHOST'
         82        SEND_VAL_EX                                              ~73
         83        SEND_VAL_EX                                              0
         84        DO_FCALL                                      0          
   74    85        INIT_FCALL_BY_NAME                                       'curl_exec'
         86        SEND_VAR_EX                                              !12
         87        DO_FCALL                                      0  $75     
         88        ASSIGN                                                   !13, $75
   75    89        INIT_FCALL_BY_NAME                                       'curl_getinfo'
         90        SEND_VAR_EX                                              !12
         91        DO_FCALL                                      0  $77     
         92        ASSIGN                                                   !14, $77
   77    93        INIT_FCALL_BY_NAME                                       'curl_close'
         94        SEND_VAR_EX                                              !12
         95        DO_FCALL                                      0          
   79    96        NEW                                              $80     'SimpleXMLElement'
         97        SEND_VAR_EX                                              !13
         98        DO_FCALL                                      0          
         99        ASSIGN                                                   !15, $80
   80   100        INIT_METHOD_CALL                                         !15, 'registerXPathNamespace'
        101        SEND_VAL_EX                                              'c'
        102        SEND_VAL_EX                                              'http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F'
        103        DO_FCALL                                      0          
   81   104        INIT_METHOD_CALL                                         !15, 'registerXPathNamespace'
        105        SEND_VAL_EX                                              'f'
        106        SEND_VAL_EX                                              'urn%3Aenterprise.soap.sforce.com'
        107        DO_FCALL                                      0          
   83   108        INIT_METHOD_CALL                                         !15, 'xpath'
        109        SEND_VAL_EX                                              '%2F%2Ff%3AserverUrl'
        110        DO_FCALL                                      0  $85     
        111        ASSIGN                                                   !16, $85
   84   112        INIT_METHOD_CALL                                         !15, 'xpath'
        113        SEND_VAL_EX                                              '%2F%2Ff%3AsessionId'
        114        DO_FCALL                                      0  $87     
        115        ASSIGN                                                   !17, $87
   86   116        FETCH_DIM_R                                      ~89     !16, 0
        117        ASSIGN                                                   !18, ~89
   87   118        FETCH_DIM_R                                      ~91     !17, 0
        119        ASSIGN                                                   !19, ~91
   89   120        ASSIGN                                                   !20, !8
   90   121        STRLEN                                           ~94     !8
        122        ASSIGN                                                   !21, ~94
   92   123        IS_SMALLER_OR_EQUAL                                      10, !21
        124      > JMPZ                                                     ~96, ->146
   94   125    >   INIT_FCALL                                               'sprintf'
        126        SEND_VAL                                                 '%28%25s%29+%25s-%25s'
   95   127        INIT_FCALL                                               'substr'
        128        SEND_VAR                                                 !8
        129        SEND_VAL                                                 0
        130        SEND_VAL                                                 3
        131        DO_ICALL                                         $97     
        132        SEND_VAR                                                 $97
   96   133        INIT_FCALL                                               'substr'
        134        SEND_VAR                                                 !8
        135        SEND_VAL                                                 3
        136        SEND_VAL                                                 3
        137        DO_ICALL                                         $98     
        138        SEND_VAR                                                 $98
   97   139        INIT_FCALL                                               'substr'
        140        SEND_VAR                                                 !8
        141        SEND_VAL                                                 6
        142        DO_ICALL                                         $99     
        143        SEND_VAR                                                 $99
        144        DO_ICALL                                         $100    
   94   145        ASSIGN                                                   !20, $100
  105   146    >   CONCAT                                           ~102    '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E%0A%09%09%09%09%3Csoap%3AEnvelope+xmlns%3Asoap%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%22+xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22+xmlns%3Axsd%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%22+xmlns%3Atns%3D%22urn%3Aenterprise.soap.sforce.com%22%3E%0A%09%09%09%09%09%3Csoap%3AHeader%3E%0A%09%09%09%09%09%09%3Ctns%3ASessionHeader%3E%0A%09%09%09%09%09%09%09%3Ctns%3AsessionId%3E', !19
        147        CONCAT                                           ~103    ~102, '%3C%2Ftns%3AsessionId%3E%0A%09%09%09%09%09%09%3C%2Ftns%3ASessionHeader%3E%0A%09%09%09%09%09%09%3Ctns%3AQueryOptions%2F%3E%0A%09%09%09%09%09%09%3Ctns%3AMruHeader%3E%0A%09%09%09%09%09%09%09%3Ctns%3AupdateMru%3Etrue%3C%2Ftns%3AupdateMru%3E%0A%09%09%09%09%09%09%3C%2Ftns%3AMruHeader%3E%0A%09%09%09%09%09%09%3Ctns%3APackageVersionHeader%2F%3E%0A%09%09%09%09%09%3C%2Fsoap%3AHeader%3E%0A%09%09%09%09%09%3Csoap%3ABody%3E%0A%09%09%09%09%09%09%3Ctns%3Aquery%3E%0A%09%09%09%09%09%09%09%3Ctns%3AqueryString%3Eselect+Id%2CStips_Agent__c%2CF9LO__c%2COwner.Name%2CF9Retention_Agent__c+from+Lead+where+Phone+like+%27%25'
  115   148        CONCAT                                           ~104    ~103, !20
        149        CONCAT                                           ~105    ~104, '%25%27+OR+Phone+like+%27%25'
        150        CONCAT                                           ~106    ~105, !8
        151        CONCAT                                           ~107    ~106, '%25%27%3C%2Ftns%3AqueryString%3E%0A%09%09%09%09%09%09%3C%2Ftns%3Aquery%3E%0A%09%09%09%09%09%3C%2Fsoap%3ABody%3E%0A%09%09%09%09%3C%2Fsoap%3AEnvelope%3E'
  101   152        ASSIGN                                                   !10, ~107
  120   153        ASSIGN                                                   !11, <array>
  126   154        INIT_FCALL_BY_NAME                                       'curl_init'
        155        DO_FCALL                                      0  $110    
        156        ASSIGN                                                   !12, $110
  127   157        INIT_FCALL_BY_NAME                                       'curl_setopt'
        158        SEND_VAR_EX                                              !12
        159        FETCH_CONSTANT                                   ~112    'CURLOPT_URL'
        160        SEND_VAL_EX                                              ~112
        161        SEND_VAR_EX                                              !18
        162        DO_FCALL                                      0          
  128   163        INIT_FCALL_BY_NAME                                       'curl_setopt'
        164        SEND_VAR_EX                                              !12
        165        FETCH_CONSTANT                                   ~114    'CURLOPT_HEADER'
        166        SEND_VAL_EX                                              ~114
        167        SEND_VAL_EX                                              <false>
        168        DO_FCALL                                      0          
  129   169        INIT_FCALL_BY_NAME                                       'curl_setopt'
        170        SEND_VAR_EX                                              !12
        171        FETCH_CONSTANT                                   ~116    'CURLINFO_HEADER_OUT'
        172        SEND_VAL_EX                                              ~116
        173        SEND_VAL_EX                                              <true>
        174        DO_FCALL                                      0          
  130   175        INIT_FCALL_BY_NAME                                       'curl_setopt'
        176        SEND_VAR_EX                                              !12
        177        FETCH_CONSTANT                                   ~118    'CURLOPT_HTTPHEADER'
        178        SEND_VAL_EX                                              ~118
        179        SEND_VAR_EX                                              !11
        180        DO_FCALL                                      0          
  131   181        INIT_FCALL_BY_NAME                                       'curl_setopt'
        182        SEND_VAR_EX                                              !12
        183        FETCH_CONSTANT                                   ~120    'CURLOPT_POST'
        184        SEND_VAL_EX                                              ~120
        185        SEND_VAL_EX                                              1
        186        DO_FCALL                                      0          
  132   187        INIT_FCALL_BY_NAME                                       'curl_setopt'
        188        SEND_VAR_EX                                              !12
        189        FETCH_CONSTANT                                   ~122    'CURLOPT_POSTFIELDS'
        190        SEND_VAL_EX                                              ~122
        191        SEND_VAR_EX                                              !10
        192        DO_FCALL                                      0          
  133   193        INIT_FCALL_BY_NAME                                       'curl_setopt'
        194        SEND_VAR_EX                                              !12
        195        FETCH_CONSTANT                                   ~124    'CURLOPT_RETURNTRANSFER'
        196        SEND_VAL_EX                                              ~124
        197        SEND_VAL_EX                                              1
        198        DO_FCALL                                      0          
  134   199        INIT_FCALL_BY_NAME                                       'curl_setopt'
        200        SEND_VAR_EX                                              !12
        201        FETCH_CONSTANT                                   ~126    'CURLOPT_SSL_VERIFYPEER'
        202        SEND_VAL_EX                                              ~126
        203        SEND_VAL_EX                                              0
        204        DO_FCALL                                      0          
  135   205        INIT_FCALL_BY_NAME                                       'curl_setopt'
        206        SEND_VAR_EX                                              !12
        207        FETCH_CONSTANT                                   ~128    'CURLOPT_SSL_VERIFYHOST'
        208        SEND_VAL_EX                                              ~128
        209        SEND_VAL_EX                                              0
        210        DO_FCALL                                      0          
  137   211        INIT_FCALL_BY_NAME                                       'curl_exec'
        212        SEND_VAR_EX                                              !12
        213        DO_FCALL                                      0  $130    
        214        ASSIGN                                                   !13, $130
  138   215        INIT_FCALL_BY_NAME                                       'curl_getinfo'
        216        SEND_VAR_EX                                              !12
        217        DO_FCALL                                      0  $132    
        218        ASSIGN                                                   !14, $132
  139   219        INIT_FCALL_BY_NAME                                       'curl_close'
        220        SEND_VAR_EX                                              !12
        221        DO_FCALL                                      0          
  141   222        NEW                                              $135    'SimpleXMLElement'
        223        SEND_VAR_EX                                              !13
        224        DO_FCALL                                      0          
        225        ASSIGN                                                   !15, $135
  142   226        INIT_METHOD_CALL                                         !15, 'registerXPathNamespace'
        227        SEND_VAL_EX                                              'c'
        228        SEND_VAL_EX                                              'http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F'
        229        DO_FCALL                                      0          
  143   230        INIT_METHOD_CALL                                         !15, 'registerXPathNamespace'
        231        SEND_VAL_EX                                              'd'
        232        SEND_VAL_EX                                              'urn%3Aenterprise.soap.sforce.com'
        233        DO_FCALL                                      0          
  144   234        INIT_METHOD_CALL                                         !15, 'registerXPathNamespace'
        235        SEND_VAL_EX                                              'f'
        236        SEND_VAL_EX                                              'urn%3Asobject.enterprise.soap.sforce.com'
        237        DO_FCALL                                      0          
  146   238        INIT_METHOD_CALL                                         !15, 'xpath'
        239        SEND_VAL_EX                                              '%2F%2Ff%3AId'
        240        DO_FCALL                                      0  $141    
        241        ASSIGN                                                   !16, $141
  147   242        INIT_METHOD_CALL                                         !15, 'xpath'
        243        SEND_VAL_EX                                              '%2F%2Ff%3AStips_Agent__c'
        244        DO_FCALL                                      0  $143    
        245        ASSIGN                                                   !17, $143
  148   246        INIT_METHOD_CALL                                         !15, 'xpath'
        247        SEND_VAL_EX                                              '%2F%2Ff%3AF9LO__c'
        248        DO_FCALL                                      0  $145    
        249        ASSIGN                                                   !22, $145
  149   250        INIT_METHOD_CALL                                         !15, 'xpath'
        251        SEND_VAL_EX                                              '%2F%2Ff%3AF9Retention_Agent__c'
        252        DO_FCALL                                      0  $147    
        253        ASSIGN                                                   !23, $147
  151   254        FETCH_DIM_R                                      ~149    !16, 0
        255        ASSIGN                                                   !0, ~149
  152   256        FETCH_DIM_R                                      ~151    !17, 0
        257        ASSIGN                                                   !1, ~151
  153   258        FETCH_DIM_R                                      ~153    !22, 0
        259        ASSIGN                                                   !2, ~153
  154   260        FETCH_DIM_R                                      ~155    !23, 0
        261        ASSIGN                                                   !3, ~155
  156   262        ASSIGN                                                   !24, ''
  157   263        ASSIGN                                                   !25, ''
  158   264        STRLEN                                           ~159    !0
        265        IS_SMALLER                                               0, ~159
        266      > JMPZ                                                     ~160, ->281
  160   267    >   STRLEN                                           ~161    !3
        268        IS_NOT_EQUAL                                             ~161, 0
        269      > JMPZ                                                     ~162, ->272
  162   270    >   ASSIGN                                                   !24, !3
        271      > JMP                                                      ->281
  164   272    >   STRLEN                                           ~164    !1
        273        IS_NOT_EQUAL                                             ~164, 0
        274      > JMPZ                                                     ~165, ->277
  166   275    >   ASSIGN                                                   !24, !1
        276      > JMP                                                      ->281
  168   277    >   STRLEN                                           ~167    !2
        278        IS_NOT_EQUAL                                             ~167, 0
        279      > JMPZ                                                     ~168, ->281
  170   280    >   ASSIGN                                                   !24, !2
  174   281    >   STRLEN                                           ~170    !24
        282        IS_NOT_EQUAL                                             ~170, 0
        283      > JMPZ                                                     ~171, ->300
  176   284    > > JMP                                                      ->295
  177   285    >   IS_EQUAL                                                 !26, !24
        286      > JMPZ                                                     ~172, ->292
  179   287    >   INIT_FCALL                                               'key'
        288        SEND_VAR                                                 !5
        289        DO_ICALL                                         $173    
        290        ASSIGN                                                   !25, $173
  180   291      > JMP                                                      ->300
  182   292    >   INIT_FCALL                                               'next'
        293        SEND_REF                                                 !5
        294        DO_ICALL                                                 
  176   295    >   INIT_FCALL                                               'current'
        296        SEND_VAR                                                 !5
        297        DO_ICALL                                         $176    
        298        ASSIGN                                           ~177    !26, $176
        299      > JMPNZ                                                    ~177, ->285
  186   300    >   STRLEN                                           ~178    !25
        301        IS_NOT_EQUAL                                             ~178, 0
        302      > JMPZ                                                     ~179, ->308
  188   303    >   CONCAT                                           ~180    'call%3D', !25
        304        CONCAT                                           ~181    ~180, '%2Csfid%3D'
        305        CONCAT                                           ~182    ~181, !0
        306        ECHO                                                     ~182
        307      > JMP                                                      ->310
  192   308    >   CONCAT                                           ~183    'prom%3D%2Cresult%3D', !13
        309        ECHO                                                     ~183
        310    > > JMP                                                      ->313
  195   311  E > > CATCH                                       last         'Exception'
  197   312    >   ECHO                                                     !27
  199   313    >   INIT_FCALL                                               'ob_flush'
        314        DO_ICALL                                                 
  200   315      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.12 ms | 1424 KiB | 27 Q