3v4l.org

run code in 300+ PHP versions simultaneously
<?php $writer = new SimpleXMLElement('<?xml version="1.0"?><MessageHeader><MessageThreadId>0000000022</MessageThreadId><MessageId>000000002201</MessageId><MessageSender><PartyId>PADPIDA2010071901R</PartyId><PartyName><FullName>RHAPSODY INTERNATIONAL, INC.</FullName></PartyName><TradingName>Premier Extra</TradingName></MessageSender><MessageRecipient><PartyId>SWAPFORSOCIETYID</PartyId><PartyName><FullName>SWAPFORSOCIETYNAME</FullName></PartyName></MessageRecipient><MessageCreatedDateTime>2014-06-30T09:35:57</MessageCreatedDateTime></MessageHeader><MessageNotificationPeriod><StartDate>2013-01-01</StartDate><EndDate>2013-03-31</EndDate></MessageNotificationPeriod>'); echo $writer; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H6TFj
function name:  (null)
number of ops:  6
compiled vars:  !0 = $writer
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'SimpleXMLElement'
          1        SEND_VAL_EX                                              '%3C%3Fxml+version%3D%221.0%22%3F%3E%3CMessageHeader%3E%3CMessageThreadId%3E0000000022%3C%2FMessageThreadId%3E%3CMessageId%3E000000002201%3C%2FMessageId%3E%3CMessageSender%3E%3CPartyId%3EPADPIDA2010071901R%3C%2FPartyId%3E%3CPartyName%3E%3CFullName%3ERHAPSODY+INTERNATIONAL%2C+INC.%3C%2FFullName%3E%3C%2FPartyName%3E%3CTradingName%3EPremier+Extra%3C%2FTradingName%3E%3C%2FMessageSender%3E%3CMessageRecipient%3E%3CPartyId%3ESWAPFORSOCIETYID%3C%2FPartyId%3E%3CPartyName%3E%3CFullName%3ESWAPFORSOCIETYNAME%3C%2FFullName%3E%3C%2FPartyName%3E%3C%2FMessageRecipient%3E%3CMessageCreatedDateTime%3E2014-06-30T09%3A35%3A57%3C%2FMessageCreatedDateTime%3E%3C%2FMessageHeader%3E%3CMessageNotificationPeriod%3E%3CStartDate%3E2013-01-01%3C%2FStartDate%3E%3CEndDate%3E2013-03-31%3C%2FEndDate%3E%3C%2FMessageNotificationPeriod%3E'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    4     4        ECHO                                                     !0
    5     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.49 ms | 1393 KiB | 13 Q