3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<OperatingProfile> <RegularDayType> <DaysOfWeek> <Tuesday /> <Wednesday /> <Thursday /> <Friday /> </DaysOfWeek> </RegularDayType> <SpecialDaysOperation> <DaysOfNonOperation> <DateRange> <StartDate>2015-12-24</StartDate> <EndDate>2016-01-01</EndDate> </DateRange> </DaysOfNonOperation> </SpecialDaysOperation> <BankHolidayOperation> <DaysOfNonOperation> <AllBankHolidays /> </DaysOfNonOperation> </BankHolidayOperation> </OperatingProfile>'; $simpleXML = simplexml_load_string($xml); $stuff = $simpleXML->{'OperatingProfile'}->children(); print_r($stuff);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e2KNX
function name:  (null)
number of ops:  13
compiled vars:  !0 = $xml, !1 = $simpleXML, !2 = $stuff
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3COperatingProfile%3E%0A++++++++++++++++++++++++++++++++%3CRegularDayType%3E%0A++++++++++++++++++++++++++++++++++++++++%3CDaysOfWeek%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++%3CTuesday+%2F%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++%3CWednesday+%2F%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++%3CThursday+%2F%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++%3CFriday+%2F%3E%0A++++++++++++++++++++++++++++++++++++++++%3C%2FDaysOfWeek%3E%0A++++++++++++++++++++++++++++++++%3C%2FRegularDayType%3E%0A++++++++++++++++++++++++++++++++%3CSpecialDaysOperation%3E%0A++++++++++++++++++++++++++++++++++++++++%3CDaysOfNonOperation%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++%3CDateRange%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++%3CStartDate%3E2015-12-24%3C%2FStartDate%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++%3CEndDate%3E2016-01-01%3C%2FEndDate%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++%3C%2FDateRange%3E%0A++++++++++++++++++++++++++++++++++++++++%3C%2FDaysOfNonOperation%3E%0A++++++++++++++++++++++++++++++++%3C%2FSpecialDaysOperation%3E%0A++++++++++++++++++++++++++++++++%3CBankHolidayOperation%3E%0A++++++++++++++++++++++++++++++++++++++++%3CDaysOfNonOperation%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++%3CAllBankHolidays+%2F%3E%0A++++++++++++++++++++++++++++++++++++++++%3C%2FDaysOfNonOperation%3E%0A++++++++++++++++++++++++++++++++%3C%2FBankHolidayOperation%3E%0A++++++++++++++++++++++++%3C%2FOperatingProfile%3E'
   28     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
   30     5        FETCH_OBJ_R                                      ~6      !1, 'OperatingProfile'
          6        INIT_METHOD_CALL                                         ~6, 'children'
          7        DO_FCALL                                      0  $7      
          8        ASSIGN                                                   !2, $7
   32     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.64 ms | 1395 KiB | 17 Q