3v4l.org

run code in 300+ PHP versions simultaneously
<?php $service_url = 'https://webservice-test.usatriathlon.org/membership/membershipvalidationservicev3rest.svc/membership/'; $curl = curl_init($service_url); $curl_post_data = array( "MemberId" => 2065115859, "LastName" => 'Overcome', "DateOfBirth" => '1972-07-03', "EventDate" => '2013-01-13' ); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $curl_post_data); $curl_response = curl_exec($curl); curl_close($curl); $response = json_decode($response); //$xml = new SimpleXMLElement($curl_response);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ukaU7
function name:  (null)
number of ops:  36
compiled vars:  !0 = $service_url, !1 = $curl, !2 = $curl_post_data, !3 = $curl_response, !4 = $response
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fwebservice-test.usatriathlon.org%2Fmembership%2Fmembershipvalidationservicev3rest.svc%2Fmembership%2F'
    3     1        INIT_FCALL_BY_NAME                                       'curl_init'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $6      
          4        ASSIGN                                                   !1, $6
    4     5        ASSIGN                                                   !2, <array>
   10     6        INIT_FCALL_BY_NAME                                       'curl_setopt'
          7        SEND_VAR_EX                                              !1
          8        FETCH_CONSTANT                                   ~9      'CURLOPT_RETURNTRANSFER'
          9        SEND_VAL_EX                                              ~9
         10        SEND_VAL_EX                                              <true>
         11        DO_FCALL                                      0          
   11    12        INIT_FCALL_BY_NAME                                       'curl_setopt'
         13        SEND_VAR_EX                                              !1
         14        FETCH_CONSTANT                                   ~11     'CURLOPT_POST'
         15        SEND_VAL_EX                                              ~11
         16        SEND_VAL_EX                                              <true>
         17        DO_FCALL                                      0          
   12    18        INIT_FCALL_BY_NAME                                       'curl_setopt'
         19        SEND_VAR_EX                                              !1
         20        FETCH_CONSTANT                                   ~13     'CURLOPT_POSTFIELDS'
         21        SEND_VAL_EX                                              ~13
         22        SEND_VAR_EX                                              !2
         23        DO_FCALL                                      0          
   13    24        INIT_FCALL_BY_NAME                                       'curl_exec'
         25        SEND_VAR_EX                                              !1
         26        DO_FCALL                                      0  $15     
         27        ASSIGN                                                   !3, $15
   14    28        INIT_FCALL_BY_NAME                                       'curl_close'
         29        SEND_VAR_EX                                              !1
         30        DO_FCALL                                      0          
   16    31        INIT_FCALL                                               'json_decode'
         32        SEND_VAR                                                 !4
         33        DO_ICALL                                         $18     
         34        ASSIGN                                                   !4, $18
   17    35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.77 ms | 1401 KiB | 15 Q