3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $x = @new SoapClient("non-existent.wsdl",array("exceptions" => 1)); } catch (SoapFault $E) { //echo $E->faultstring; } echo "ok\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 8
Branch analysis from position: 8
2 jumps found. (Code = 107) Position 1 = 9, Position 2 = -2
Branch analysis from position: 9
filename:       /in/aRI96
function name:  (null)
number of ops:  11
compiled vars:  !0 = $x, !1 = $E
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   BEGIN_SILENCE                                    ~2      
          1        NEW                                              $3      'SoapClient'
          2        SEND_VAL_EX                                              'non-existent.wsdl'
          3        SEND_VAL_EX                                              <array>
          4        DO_FCALL                                      0          
          5        END_SILENCE                                              ~2
          6        ASSIGN                                                   !0, $3
          7      > JMP                                                      ->9
    6     8  E > > CATCH                                       last         'SoapFault'
    9     9    >   ECHO                                                     'ok%0A'
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.33 ms | 1393 KiB | 13 Q