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(stripslashes($x)); echo '<pre>'.$data->asXML().'</pre>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NOZaD
function name:  (null)
number of ops:  14
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%5C%221.0%5C%22+encoding%3D%5C%22UTF-8%5C%22%3F%3E%3CcheckOrderResponse+performedDatetime%3D%5C%222017-07-09T16%3A11%3A52%2B03%3A00%5C%22+code%3D%5C%220%5C%22+invoiceId%3D%5C%222000729266842%5C%22+shopId%3D%5C%2245951%5C%22%5C%2F%3E%22'
    3     1        NEW                                              $3      'SimpleXMLElement'
          2        INIT_FCALL                                               'stripslashes'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        SEND_VAR_NO_REF_EX                                       $4
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $3
    4     8        INIT_METHOD_CALL                                         !1, 'asXML'
          9        DO_FCALL                                      0  $7      
         10        CONCAT                                           ~8      '%3Cpre%3E', $7
         11        CONCAT                                           ~9      ~8, '%3C%2Fpre%3E'
         12        ECHO                                                     ~9
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.41 ms | 1394 KiB | 15 Q