3v4l.org

run code in 300+ PHP versions simultaneously
<?php $color = array('white', 'green', 'red'); sort($color); echo "<ul>"; foreach ( $color as $c) { echo "<li>$c</li>"; } echo "</ul>";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/XPV4W
function name:  (null)
number of ops:  15
compiled vars:  !0 = $color, !1 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'sort'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
    6     4        ECHO                                                     '%3Cul%3E'
    7     5      > FE_RESET_R                                       $4      !0, ->12
          6    > > FE_FETCH_R                                               $4, !1, ->12
    8     7    >   ROPE_INIT                                     3  ~6      '%3Cli%3E'
          8        ROPE_ADD                                      1  ~6      ~6, !1
          9        ROPE_END                                      2  ~5      ~6, '%3C%2Fli%3E'
         10        ECHO                                                     ~5
    7    11      > JMP                                                      ->6
         12    >   FE_FREE                                                  $4
   10    13        ECHO                                                     '%3C%2Ful%3E'
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.02 ms | 1394 KiB | 15 Q