3v4l.org

run code in 300+ PHP versions simultaneously
<?php $SETTINGS_nighttime_start = '22:00'; $SETTINGS_nighttime_end = '07:00'; // Töötajad ning nende tööajad $EMPLOYEES = array( '0' => array( 'name' => 'Juhan Jalgratas', 'shift_start' => '15:15', 'shift_end' => '23:45' ), '1' => array( 'name' => 'Mauno Maasikas', 'shift_start' => '10:00', 'shift_end' => '22:00' ), '2' => array( 'name' => 'Kati Kuusemets', 'shift_start' => '22:30', 'shift_end' => '08:00' ), '3' => array( 'name' => 'Pille-Mati Jämispehmut', 'shift_start' => '20:00', 'shift_end' => '10:00' ), '4' => array( 'name' => 'Käsna-Kalle Kantpüks', 'shift_start' => '09:00', 'shift_end' => '17:00' ), '5' => array( 'name' => 'Aita-Leida Kuusepuu', 'shift_start' => '23:00', 'shift_end' => '06:00' ), ); foreach($EMPLOYEES as $employee){ echo "\n",$employee['name'], "\t\t", $employee['shift_start'], $employee['shift_start']; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 14
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 14
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/njc4n
function name:  (null)
number of ops:  16
compiled vars:  !0 = $SETTINGS_nighttime_start, !1 = $SETTINGS_nighttime_end, !2 = $EMPLOYEES, !3 = $employee
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '22%3A00'
    3     1        ASSIGN                                                   !1, '07%3A00'
    6     2        ASSIGN                                                   !2, <array>
   47     3      > FE_RESET_R                                       $7      !2, ->14
          4    > > FE_FETCH_R                                               $7, !3, ->14
   48     5    >   ECHO                                                     '%0A'
          6        FETCH_DIM_R                                      ~8      !3, 'name'
          7        ECHO                                                     ~8
          8        ECHO                                                     '%09%09'
          9        FETCH_DIM_R                                      ~9      !3, 'shift_start'
         10        ECHO                                                     ~9
         11        FETCH_DIM_R                                      ~10     !3, 'shift_start'
         12        ECHO                                                     ~10
   47    13      > JMP                                                      ->4
         14    >   FE_FREE                                                  $7
   51    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.69 ms | 1394 KiB | 13 Q