3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contentData = '<texts><text_0_1><![CDATA[Conteúdo de texto aleatório. 16:41. <BR>14/11/2013]]></text_0_1></texts><medias><image_0_0><![CDATA[http://teste.croobly.com.br/module-content/images/1476978532.jpg]]></image_0_0></medias>'; $croobly_data = simplexml_load_string("<content>".$contentData."</content>"); $croobly_data = $croobly_data->xpath('medias'); foreach ($croobly_data as $medias => $image) { echo '<li>'.$image; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 17
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 17
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/fZdk2
function name:  (null)
number of ops:  19
compiled vars:  !0 = $contentData, !1 = $croobly_data, !2 = $image, !3 = $medias
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Ctexts%3E%3Ctext_0_1%3E%3C%21%5BCDATA%5BConte%C3%BAdo+de+texto+aleat%C3%B3rio.+16%3A41.+%3CBR%3E14%2F11%2F2013%5D%5D%3E%3C%2Ftext_0_1%3E%3C%2Ftexts%3E%3Cmedias%3E%3Cimage_0_0%3E%3C%21%5BCDATA%5Bhttp%3A%2F%2Fteste.croobly.com.br%2Fmodule-content%2Fimages%2F1476978532.jpg%5D%5D%3E%3C%2Fimage_0_0%3E%3C%2Fmedias%3E'
    4     1        INIT_FCALL                                               'simplexml_load_string'
          2        CONCAT                                           ~5      '%3Ccontent%3E', !0
          3        CONCAT                                           ~6      ~5, '%3C%2Fcontent%3E'
          4        SEND_VAL                                                 ~6
          5        DO_ICALL                                         $7      
          6        ASSIGN                                                   !1, $7
    5     7        INIT_METHOD_CALL                                         !1, 'xpath'
          8        SEND_VAL_EX                                              'medias'
          9        DO_FCALL                                      0  $9      
         10        ASSIGN                                                   !1, $9
    7    11      > FE_RESET_R                                       $11     !1, ->17
         12    > > FE_FETCH_R                                       ~12     $11, !2, ->17
         13    >   ASSIGN                                                   !3, ~12
    8    14        CONCAT                                           ~14     '%3Cli%3E', !2
         15        ECHO                                                     ~14
    7    16      > JMP                                                      ->12
         17    >   FE_FREE                                                  $11
   10    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.05 ms | 1395 KiB | 15 Q