3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.18 ms | 1395 KiB | 15 Q