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 $data->asXML();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Uk8pt
function name:  (null)
number of ops:  9
compiled vars:  !0 = $x, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%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'
    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        ECHO                                                     $6
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.15 ms | 1392 KiB | 13 Q