3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wsdl = "https://merchantflo.transfirst.com/Merchant/API/TransFirst/GenericVAPPWebService.svc?singleWsdl"; /* Send VAPP Web Service request to VAPP->StartApplication */ try { $client = new SoapClient($wsdl, array('trace' => 1)); $model = array( 'dbaName'=> "Test Business", 'businesssPhone' => "3036258000", 'merchantEmailAddress' => "jdgfjdgh@fgfdggf.com", 'merchantFirstName' => "Adam", 'merchantLastName' => "Martin", 'address' => "1234 Test St", 'city' => "Torrance", 'State' => "CA", 'zip' => "90505", 'businessPhone' => "3036258000", 'organizationCode' => "CDG", 'templateAppId' => "108", 'inBizYears' => "1", 'inBizMonths' => "6", 'webUrl' => "www.google.com" ); $response = $client->StartApplication(array('model' => $model)); } catch (SoapFault $fault) { $webServiceFault = ("Start Application Fault string1: " . $fault->faultstring . "\r\n"); fwrite($fh, $webServiceFault); header ( 'Location:' . $thankYouURL ); exit(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 13
Branch analysis from position: 13
2 jumps found. (Code = 107) Position 1 = 14, Position 2 = -2
Branch analysis from position: 14
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/Rn8dt
function name:  (null)
number of ops:  28
compiled vars:  !0 = $wsdl, !1 = $client, !2 = $model, !3 = $response, !4 = $fault, !5 = $webServiceFault, !6 = $fh, !7 = $thankYouURL
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fmerchantflo.transfirst.com%2FMerchant%2FAPI%2FTransFirst%2FGenericVAPPWebService.svc%3FsingleWsdl'
    7     1        NEW                                              $9      'SoapClient'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAL_EX                                              <array>
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $9
    8     6        ASSIGN                                                   !2, <array>
   26     7        INIT_METHOD_CALL                                         !1, 'StartApplication'
          8        INIT_ARRAY                                       ~13     !2, 'model'
          9        SEND_VAL_EX                                              ~13
         10        DO_FCALL                                      0  $14     
         11        ASSIGN                                                   !3, $14
         12      > JMP                                                      ->27
   28    13  E > > CATCH                                       last         'SoapFault'
   30    14    >   FETCH_OBJ_R                                      ~16     !4, 'faultstring'
         15        CONCAT                                           ~17     'Start+Application+Fault+string1%3A+', ~16
         16        CONCAT                                           ~18     ~17, '%0D%0A'
         17        ASSIGN                                                   !5, ~18
   31    18        INIT_FCALL                                               'fwrite'
         19        SEND_VAR                                                 !6
         20        SEND_VAR                                                 !5
         21        DO_ICALL                                                 
   32    22        INIT_FCALL                                               'header'
         23        CONCAT                                           ~21     'Location%3A', !7
         24        SEND_VAL                                                 ~21
         25        DO_ICALL                                                 
   33    26      > EXIT                                                     
   34    27    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.91 ms | 1396 KiB | 17 Q