3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = "<?xml version=1.0 encoding=utf-8?><LeadResponse xmlns=http://tempuri.org/><LeadId>0</LeadId><Error>Invalid Home Telephone.<br>Invalid Mobile Phone.</Error></LeadResponse>"; $xml = new SimpleXMLElement($response); var_dump($xml);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hNHnu
function name:  (null)
number of ops:  9
compiled vars:  !0 = $response, !1 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D1.0+encoding%3Dutf-8%3F%3E%3CLeadResponse+xmlns%3Dhttp%3A%2F%2Ftempuri.org%2F%3E%3CLeadId%3E0%3C%2FLeadId%3E%3CError%3EInvalid+Home+Telephone.%3Cbr%3EInvalid+Mobile+Phone.%3C%2FError%3E%3C%2FLeadResponse%3E'
    6     1        NEW                                              $3      'SimpleXMLElement'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    8     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
370.46 ms | 1009 KiB | 14 Q