3v4l.org

run code in 300+ PHP versions simultaneously
<?php $schedule = '{ "Monday" : { "00-06" : "Non-stop", "06-08" : "Wake up" }, "Friday" : { "00-06" : "Non-stop", "18-21" : "Friday Night Party" }, "Saturday" : { "00-06" : "Non-stop", "19-22" : "Saturday Night Club Mix" }, "Sunday" : { "00-04" : "Party cool down", "04-24" : "Non-stop" } } '; foreach ($schedule as $time => $show) { echo '<h2>Monday</h2>'; echo $time . ' - ' . $show; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 9
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 9
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/c3Y9E
function name:  (null)
number of ops:  11
compiled vars:  !0 = $schedule, !1 = $show, !2 = $time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%0A++++%22Monday%22+%3A+%7B%0A%09%09%2200-06%22%09%3A%09%09%22Non-stop%22%2C%0A%09%09%2206-08%22%09%3A%09%09%22Wake+up%22%0A++++%7D%2C%0A++++%0A%09%22Friday%22+%3A+%7B%0A%09%09%2200-06%22%09%3A%09%09%22Non-stop%22%2C%0A%09%09%2218-21%22%09%09%3A%09%09%22Friday+Night+Party%22%0A++++%7D%2C%0A%09%22Saturday%22+%3A+%7B%0A%09%09%2200-06%22%09%3A%09%09%22Non-stop%22%2C%0A%09%09%2219-22%22%09%3A%09%09%22Saturday+Night+Club+Mix%22%0A++++%7D%2C%0A%09%22Sunday%22+%3A+%7B%0A%09%09%2200-04%22%09%3A%09%09%22Party+cool+down%22%2C%0A%09%09%2204-24%22%09%3A%09%09%22Non-stop%22%0A++++%7D%0A%7D%0A'
   24     1      > FE_RESET_R                                       $4      !0, ->9
          2    > > FE_FETCH_R                                       ~5      $4, !1, ->9
          3    >   ASSIGN                                                   !2, ~5
   25     4        ECHO                                                     '%3Ch2%3EMonday%3C%2Fh2%3E'
   26     5        CONCAT                                           ~7      !2, '+-+'
          6        CONCAT                                           ~8      ~7, !1
          7        ECHO                                                     ~8
   24     8      > JMP                                                      ->2
          9    >   FE_FREE                                                  $4
   27    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.32 ms | 1393 KiB | 13 Q