3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a= file_get_contents("http://localhost:8983/solr/colLIB/select?q=title_eng%3A%22indonesia%22&fq=author%3A%22hermawan%22&wt=xml&indent=true"); $xml=simplexml_load_string($a); foreach($xml->xpath('doc[starts-with(str)]') as $child) { echo $child->str; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/uguGk
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a, !1 = $xml, !2 = $child
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Flocalhost%3A8983%2Fsolr%2FcolLIB%2Fselect%3Fq%3Dtitle_eng%253A%2522indonesia%2522%26fq%3Dauthor%253A%2522hermawan%2522%26wt%3Dxml%26indent%3Dtrue'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4        INIT_FCALL                                               'simplexml_load_string'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    4     8        INIT_METHOD_CALL                                         !1, 'xpath'
          9        SEND_VAL_EX                                              'doc%5Bstarts-with%28str%29%5D'
         10        DO_FCALL                                      0  $7      
         11      > FE_RESET_R                                       $8      $7, ->16
         12    > > FE_FETCH_R                                               $8, !2, ->16
    6    13    >   FETCH_OBJ_R                                      ~9      !2, 'str'
         14        ECHO                                                     ~9
    4    15      > JMP                                                      ->12
         16    >   FE_FREE                                                  $8
    9    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.67 ms | 1398 KiB | 18 Q