3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ws = "http://www.xmethods.net/sd/2001/TemperatureService.wsdl"; $zipcode = "12312"; $client = new SoapClient($ws,array('trace' => 1)); $temperature = $client->getTemp($zipcode); echo htmlspecialchars($client->__getLastResponse()); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QRrkh
function name:  (null)
number of ops:  18
compiled vars:  !0 = $ws, !1 = $zipcode, !2 = $client, !3 = $temperature
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.xmethods.net%2Fsd%2F2001%2FTemperatureService.wsdl'
    3     1        ASSIGN                                                   !1, '12312'
    4     2        NEW                                              $6      'SoapClient'
          3        SEND_VAR_EX                                              !0
          4        SEND_VAL_EX                                              <array>
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !2, $6
    5     7        INIT_METHOD_CALL                                         !2, 'getTemp'
          8        SEND_VAR_EX                                              !1
          9        DO_FCALL                                      0  $9      
         10        ASSIGN                                                   !3, $9
    6    11        INIT_FCALL                                               'htmlspecialchars'
         12        INIT_METHOD_CALL                                         !2, '__getLastResponse'
         13        DO_FCALL                                      0  $11     
         14        SEND_VAR                                                 $11
         15        DO_ICALL                                         $12     
         16        ECHO                                                     $12
    7    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.14 ms | 1394 KiB | 15 Q