3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $xmlstr='<?xml version="1.0" encoding="utf-8"?> <!-- generator="Joomla! 1.5 - Open Source Content Management" --> <?xml-stylesheet href="/media/system/css/modal.css" type="text/css"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>9 Magazine</title> <description></description> <link>https://sarean.intelsuite.es</link> <lastBuildDate>Thu, 04 Apr 2019 14:23:48 +0000</lastBuildDate> <generator>Joomla! 1.5 - Open Source Content Management</generator> <language>es-es</language> <item> <title>Infografía: Paro registrado y afiliación a la Seguridad Social Álava - Marzo 2019</title> <link>https://sarean.intelsuite.es?option=com_k2&amp;view=item&amp;id=8891</link> <guid>https://sarean.intelsuite.es?option=com_k2&amp;view=item&amp;id=8891</guid> <description><![CDATA[<div class="K2FeedFullText"><iframe width="600" height="1862" frameborder="0" scrolling="no" src="https://create.piktochart.com/embed/37920055-paro-seguridad-social-alava-marzo-2019-copy"></iframe>...<!-- com --></div>]]></description> <author>jberista@kutxabank.es (Beristain Echave Jose Ignacio)</author> <category>9 Magazine</category> <pubDate>Thu, 04 Apr 2019 09:25:28 +0000</pubDate> </item> <item> <title>El automóvil clama un plan de ayudas tras el éxito del nuevo Renove vasco</title> <link>https://sarean.intelsuite.es?option=com_k2&amp;view=item&amp;id=8879</link> <guid>https://sarean.intelsuite.es?option=com_k2&amp;view=item&amp;id=8879</guid> <description><![CDATA[<div class="K2FeedFullText">El mercado del automóvil se ha acostumbrado a las ayudas. Sin incentivos, no hay ventas y la prueba del algodón está en el País <b>Vasco</b> y su ...<!-- com --></div>]]></description> <author>jberista@kutxabank.es (Beristain Echave Jose Ignacio)</author> <category>9 Magazine</category> <pubDate>Thu, 04 Apr 2019 08:20:25 +0000</pubDate> </item> </channel> </rss>'; $xmlobj= new SimpleXMLElement($xmlstr); var_dump($xmlobj->channel->item); var_dump($xmlobj); $xmlarr=((array)$xmlobj); var_dump($xmlarr); $xmlarrchan=((array)$xmlobj->channel); var_dump($xmlarrchan); $xmlarritem=((array)$xmlobj->channel->item); var_dump($xmlarritem);
based on vIXRS
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4IQM1
function name:  (null)
number of ops:  32
compiled vars:  !0 = $xmlstr, !1 = $xmlobj, !2 = $xmlarr, !3 = $xmlarrchan, !4 = $xmlarritem
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E%0A%3C%21--+generator%3D%22Joomla%21+1.5+-+Open+Source+Content+Management%22+--%3E%0A%3C%3Fxml-stylesheet+href%3D%22%2Fmedia%2Fsystem%2Fcss%2Fmodal.css%22+type%3D%22text%2Fcss%22%3F%3E%0A%3Crss+version%3D%222.0%22+xmlns%3Aatom%3D%22http%3A%2F%2Fwww.w3.org%2F2005%2FAtom%22%3E%0A%09%3Cchannel%3E%0A%09%09%3Ctitle%3E9+Magazine%3C%2Ftitle%3E%0A%09%09%3Cdescription%3E%3C%2Fdescription%3E%0A%09%09%3Clink%3Ehttps%3A%2F%2Fsarean.intelsuite.es%3C%2Flink%3E%0A%09%09%3ClastBuildDate%3EThu%2C+04+Apr+2019+14%3A23%3A48+%2B0000%3C%2FlastBuildDate%3E%0A%09%09%3Cgenerator%3EJoomla%21+1.5+-+Open+Source+Content+Management%3C%2Fgenerator%3E%0A%09%09%3Clanguage%3Ees-es%3C%2Flanguage%3E%0A%09%09%3Citem%3E%0A%09%09%09%3Ctitle%3EInfograf%C3%ADa%3A+Paro+registrado+y+afiliaci%C3%B3n+a+la+Seguridad+Social+%C3%81lava+-+Marzo+2019%3C%2Ftitle%3E%0A%09%09%09%3Clink%3Ehttps%3A%2F%2Fsarean.intelsuite.es%3Foption%3Dcom_k2%26amp%3Bview%3Ditem%26amp%3Bid%3D8891%3C%2Flink%3E%0A%09%09%09%3Cguid%3Ehttps%3A%2F%2Fsarean.intelsuite.es%3Foption%3Dcom_k2%26amp%3Bview%3Ditem%26amp%3Bid%3D8891%3C%2Fguid%3E%0A%09%09%09%3Cdescription%3E%3C%21%5BCDATA%5B%3Cdiv+class%3D%22K2FeedFullText%22%3E%3Ciframe+width%3D%22600%22+height%3D%221862%22+frameborder%3D%220%22+scrolling%3D%22no%22+src%3D%22https%3A%2F%2Fcreate.piktochart.com%2Fembed%2F37920055-paro-seguridad-social-alava-marzo-2019-copy%22%3E%3C%2Fiframe%3E...%3C%21--+com+--%3E%3C%2Fdiv%3E%5D%5D%3E%3C%2Fdescription%3E%0A%09%09%09%3Cauthor%3Ejberista%40kutxabank.es+%28Beristain+Echave+Jose+Ignacio%29%3C%2Fauthor%3E%0A%09%09%09%3Ccategory%3E9+Magazine%3C%2Fcategory%3E%0A%09%09%09%3CpubDate%3EThu%2C+04+Apr+2019+09%3A25%3A28+%2B0000%3C%2FpubDate%3E%0A%09%09%3C%2Fitem%3E%0A%09%09%3Citem%3E%0A%09%09%09%3Ctitle%3EEl+autom%C3%B3vil+clama+un+plan+de+ayudas+tras+el+%C3%A9xito+del+nuevo+Renove+vasco%3C%2Ftitle%3E%0A%09%09%09%3Clink%3Ehttps%3A%2F%2Fsarean.intelsuite.es%3Foption%3Dcom_k2%26amp%3Bview%3Ditem%26amp%3Bid%3D8879%3C%2Flink%3E%0A%09%09%09%3Cguid%3Ehttps%3A%2F%2Fsarean.intelsuite.es%3Foption%3Dcom_k2%26amp%3Bview%3Ditem%26amp%3Bid%3D8879%3C%2Fguid%3E%0A%09%09%09%3Cdescription%3E%3C%21%5BCDATA%5B%3Cdiv+class%3D%22K2FeedFullText%22%3EEl+mercado+del+autom%C3%B3vil+se+ha+acostumbrado+a+las+ayudas.+Sin+incentivos%2C+no+hay+ventas+y+la+prueba+del+algod%C3%B3n+est%C3%A1+en+el+Pa%C3%ADs+%3Cb%3EVasco%3C%2Fb%3E+y+su+...%3C%21--+com+--%3E%3C%2Fdiv%3E%5D%5D%3E%3C%2Fdescription%3E%0A%09%09%09%3Cauthor%3Ejberista%40kutxabank.es+%28Beristain+Echave+Jose+Ignacio%29%3C%2Fauthor%3E%0A%09%09%09%3Ccategory%3E9+Magazine%3C%2Fcategory%3E%0A%09%09%09%3CpubDate%3EThu%2C+04+Apr+2019+08%3A20%3A25+%2B0000%3C%2FpubDate%3E%0A%09%09%3C%2Fitem%3E%0A%09%09%0A%09%3C%2Fchannel%3E%0A%3C%2Frss%3E'
  36     1        NEW                                              $6      :58
         2        SEND_VAR_EX                                              !0
         3        DO_FCALL                                      0          
         4        ASSIGN                                                   !1, $6
  37     5        INIT_FCALL                                               'var_dump'
         6        FETCH_OBJ_R                                      ~9      !1, 'channel'
         7        FETCH_OBJ_R                                      ~10     ~9, 'item'
         8        SEND_VAL                                                 ~10
         9        DO_ICALL                                                 
  38    10        INIT_FCALL                                               'var_dump'
        11        SEND_VAR                                                 !1
        12        DO_ICALL                                                 
  40    13        CAST                                          7  ~13     !1
        14        ASSIGN                                                   !2, ~13
  41    15        INIT_FCALL                                               'var_dump'
        16        SEND_VAR                                                 !2
        17        DO_ICALL                                                 
  43    18        FETCH_OBJ_R                                      ~16     !1, 'channel'
        19        CAST                                          7  ~17     ~16
        20        ASSIGN                                                   !3, ~17
  44    21        INIT_FCALL                                               'var_dump'
        22        SEND_VAR                                                 !3
        23        DO_ICALL                                                 
  46    24        FETCH_OBJ_R                                      ~20     !1, 'channel'
        25        FETCH_OBJ_R                                      ~21     ~20, 'item'
        26        CAST                                          7  ~22     ~21
        27        ASSIGN                                                   !4, ~22
  47    28        INIT_FCALL                                               'var_dump'
        29        SEND_VAR                                                 !4
        30        DO_ICALL                                                 
        31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0