3v4l.org

run code in 300+ PHP versions simultaneously
<?php $client = new SoapClient("http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl"); $result = $client->getRate("us", "russia"); echo $result;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hKWaj
function name:  (null)
number of ops:  11
compiled vars:  !0 = $client, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'SoapClient'
          1        SEND_VAL_EX                                              'http%3A%2F%2Fwww.xmethods.net%2Fsd%2F2001%2FCurrencyExchangeService.wsdl'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    4     4        INIT_METHOD_CALL                                         !0, 'getRate'
          5        SEND_VAL_EX                                              'us'
          6        SEND_VAL_EX                                              'russia'
          7        DO_FCALL                                      0  $5      
          8        ASSIGN                                                   !1, $5
    6     9        ECHO                                                     !1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.23 ms | 1384 KiB | 13 Q