3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '"<?xml version="1.0" encoding="UTF-8"?><checkOrderResponse performedDatetime="2017-07-09T16:11:52+03:00" code="0" invoiceId="2000729266842" shopId="45951"/>"'; $data = new SimpleXMLElement($x); echo '<pre>'.$data->asXML().'</pre>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HDrMR
function name:  (null)
number of ops:  11
compiled vars:  !0 = $x, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%22%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3CcheckOrderResponse+performedDatetime%3D%222017-07-09T16%3A11%3A52%2B03%3A00%22+code%3D%220%22+invoiceId%3D%222000729266842%22+shopId%3D%2245951%22%2F%3E%22'
    3     1        NEW                                              $3      'SimpleXMLElement'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    4     5        INIT_METHOD_CALL                                         !1, 'asXML'
          6        DO_FCALL                                      0  $6      
          7        CONCAT                                           ~7      '%3Cpre%3E', $6
          8        CONCAT                                           ~8      ~7, '%3C%2Fpre%3E'
          9        ECHO                                                     ~8
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.22 ms | 1393 KiB | 13 Q