3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = file_get_contents('http://planeshift.teamix.org/index.php?page=char_stats'); $chars1 = strip_tags($chars); $pieces = explode("Players Online", $chars1); $names = explode (", ", $pieces[1]); sort ($names); foreach ($names as $name) { echo "$name<br>"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 23, Position 2 = 28
Branch analysis from position: 23
2 jumps found. (Code = 78) Position 1 = 24, Position 2 = 28
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
filename:       /in/Vs577
function name:  (null)
number of ops:  30
compiled vars:  !0 = $chars, !1 = $chars1, !2 = $pieces, !3 = $names, !4 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fplaneshift.teamix.org%2Findex.php%3Fpage%3Dchar_stats'
          2        DO_ICALL                                         $5      
          3        ASSIGN                                                   !0, $5
    4     4        INIT_FCALL                                               'strip_tags'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !1, $7
    6     8        INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 'Players+Online'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $9      
         12        ASSIGN                                                   !2, $9
    8    13        INIT_FCALL                                               'explode'
         14        SEND_VAL                                                 '%2C+'
         15        FETCH_DIM_R                                      ~11     !2, 1
         16        SEND_VAL                                                 ~11
         17        DO_ICALL                                         $12     
         18        ASSIGN                                                   !3, $12
    9    19        INIT_FCALL                                               'sort'
         20        SEND_REF                                                 !3
         21        DO_ICALL                                                 
   12    22      > FE_RESET_R                                       $15     !3, ->28
         23    > > FE_FETCH_R                                               $15, !4, ->28
   13    24    >   NOP                                                      
         25        FAST_CONCAT                                      ~16     !4, '%3Cbr%3E'
         26        ECHO                                                     ~16
   12    27      > JMP                                                      ->23
         28    >   FE_FREE                                                  $15
   16    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.37 ms | 1396 KiB | 21 Q