3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <bookstore> <book category = "COOKING"> <title lang = "en">Everyday Italian</title> <author>Giada De Laurentiis</author> <year>2005</year> <price>30.00</price> </book> <book category = "CHILDREN"> <title lang = "en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> </book> <book category = "WEB"> <title lang = "en">Learning XML</title> <author>Erik T. Ray</author> <year>2003</year> <price>39.95</price> </book> </bookstore> XML; $handle = simplexml_load_string($xml);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HNrAQ
function name:  (null)
number of ops:  6
compiled vars:  !0 = $xml, !1 = $handle
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cbookstore%3E%0A%3Cbook+category+%3D+%22COOKING%22%3E%0A%3Ctitle+lang+%3D+%22en%22%3EEveryday+Italian%3C%2Ftitle%3E%0A%3Cauthor%3EGiada+De+Laurentiis%3C%2Fauthor%3E%0A%3Cyear%3E2005%3C%2Fyear%3E%0A%3Cprice%3E30.00%3C%2Fprice%3E%0A%3C%2Fbook%3E%0A%3Cbook+category+%3D+%22CHILDREN%22%3E%0A%3Ctitle+lang+%3D+%22en%22%3EHarry+Potter%3C%2Ftitle%3E%0A%3Cauthor%3EJ+K.+Rowling%3C%2Fauthor%3E%0A%3Cyear%3E2005%3C%2Fyear%3E%0A%3Cprice%3E29.99%3C%2Fprice%3E%0A%3C%2Fbook%3E%0A%3Cbook+category+%3D+%22WEB%22%3E%0A%3Ctitle+lang+%3D+%22en%22%3ELearning+XML%3C%2Ftitle%3E%0A%3Cauthor%3EErik+T.+Ray%3C%2Fauthor%3E%0A%3Cyear%3E2003%3C%2Fyear%3E%0A%3Cprice%3E39.95%3C%2Fprice%3E%0A%3C%2Fbook%3E%0A%3C%2Fbookstore%3E'
   26     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.67 ms | 1385 KiB | 15 Q