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['Monday'] 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 = 3, Position 2 = 10
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/E8Aot
function name:  (null)
number of ops:  12
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        FETCH_DIM_R                                      ~4      !0, 'Monday'
          2      > FE_RESET_R                                       $5      ~4, ->10
          3    > > FE_FETCH_R                                       ~6      $5, !1, ->10
          4    >   ASSIGN                                                   !2, ~6
   25     5        ECHO                                                     '%3Ch2%3EMonday%3C%2Fh2%3E'
   26     6        CONCAT                                           ~8      !2, '+-+'
          7        CONCAT                                           ~9      ~8, !1
          8        ECHO                                                     ~9
   24     9      > JMP                                                      ->3
         10    >   FE_FREE                                                  $5
   27    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.85 ms | 1398 KiB | 13 Q