3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <VAST version="3.0"> <MediaFiles> <MediaFile delivery="progressive" type="video/mp4" width="640" height="360" bitrate="500" scalable="true" maintainAspectRatio="true"> <![CDATA[ https://appnext-a.akamaihd.net/banner/video/video-192347-30_o.mp4?rnd=1488986809 ]]> </MediaFile> <MediaFile delivery="progressive" type="video/mp4" width="320" height="180" bitrate="500" scalable="true" maintainAspectRatio="true"> <![CDATA[ https://appnext-a.akamaihd.net/banner/video/video-192347-30.mp4?rnd=1488986813 ]]> </MediaFile> </MediaFiles> </VAST> XML; $response = simplexml_load_string($xml); $files = $response->MediaFiles->MediaFile; foreach ($files as $file) { var_dump((string)$file); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 15
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/Rl6q1
function name:  (null)
number of ops:  17
compiled vars:  !0 = $xml, !1 = $response, !2 = $files, !3 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3CVAST+version%3D%223.0%22%3E%0A%3CMediaFiles%3E%0A%3CMediaFile+delivery%3D%22progressive%22+type%3D%22video%2Fmp4%22+width%3D%22640%22+height%3D%22360%22+bitrate%3D%22500%22+scalable%3D%22true%22+maintainAspectRatio%3D%22true%22%3E%0A%3C%21%5BCDATA%5B%0Ahttps%3A%2F%2Fappnext-a.akamaihd.net%2Fbanner%2Fvideo%2Fvideo-192347-30_o.mp4%3Frnd%3D1488986809%0A%5D%5D%3E%0A%3C%2FMediaFile%3E%0A%3CMediaFile+delivery%3D%22progressive%22+type%3D%22video%2Fmp4%22+width%3D%22320%22+height%3D%22180%22+bitrate%3D%22500%22+scalable%3D%22true%22+maintainAspectRatio%3D%22true%22%3E%0A%3C%21%5BCDATA%5B%0Ahttps%3A%2F%2Fappnext-a.akamaihd.net%2Fbanner%2Fvideo%2Fvideo-192347-30.mp4%3Frnd%3D1488986813%0A%5D%5D%3E%0A%3C%2FMediaFile%3E%0A%3C%2FMediaFiles%3E%0A%3C%2FVAST%3E'
   18     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
   19     5        FETCH_OBJ_R                                      ~7      !1, 'MediaFiles'
          6        FETCH_OBJ_R                                      ~8      ~7, 'MediaFile'
          7        ASSIGN                                                   !2, ~8
   20     8      > FE_RESET_R                                       $10     !2, ->15
          9    > > FE_FETCH_R                                               $10, !3, ->15
   21    10    >   INIT_FCALL                                               'var_dump'
         11        CAST                                          6  ~11     !3
         12        SEND_VAL                                                 ~11
         13        DO_ICALL                                                 
   20    14      > JMP                                                      ->9
         15    >   FE_FREE                                                  $10
   22    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.39 ms | 1464 KiB | 16 Q