3v4l.org

run code in 300+ PHP versions simultaneously
<?php // display source code $lines = file('http://google.com/'); foreach ($lines as $line_num => $line) { // loop thru each line and prepend line numbers echo "Line #<b>{$line_num}</b> : " . htmlspecialchars($line) . "<br>\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 17
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 17
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/U2CDn
function name:  (null)
number of ops:  19
compiled vars:  !0 = $lines, !1 = $line, !2 = $line_num
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file'
          1        SEND_VAL                                                 'http%3A%2F%2Fgoogle.com%2F'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4      > FE_RESET_R                                       $5      !0, ->17
          5    > > FE_FETCH_R                                       ~6      $5, !1, ->17
          6    >   ASSIGN                                                   !2, ~6
    5     7        ROPE_INIT                                     3  ~9      'Line+%23%3Cb%3E'
          8        ROPE_ADD                                      1  ~9      ~9, !2
          9        ROPE_END                                      2  ~8      ~9, '%3C%2Fb%3E+%3A+'
         10        INIT_FCALL                                               'htmlspecialchars'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $11     
         13        CONCAT                                           ~12     ~8, $11
         14        CONCAT                                           ~13     ~12, '%3Cbr%3E%0A'
         15        ECHO                                                     ~13
    3    16      > JMP                                                      ->5
         17    >   FE_FREE                                                  $5
    6    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.29 ms | 1399 KiB | 17 Q