3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<pre>"; $sun_info = date_sun_info(strtotime("2006-12-12"), 31.7667, 35.2333); print_r($sun_info); foreach ($sun_info as $key => $val) { echo "$key: " . date("H:i:s", $val) . "\n"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 14, Position 2 = 26
Branch analysis from position: 14
2 jumps found. (Code = 78) Position 1 = 15, Position 2 = 26
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/2nvOT
function name:  (null)
number of ops:  28
compiled vars:  !0 = $sun_info, !1 = $val, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     '%3Cpre%3E'
    4     1        INIT_FCALL                                               'date_sun_info'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '2006-12-12'
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        SEND_VAL                                                 31.7667
          7        SEND_VAL                                                 35.2333
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
    5    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
    6    13      > FE_RESET_R                                       $7      !0, ->26
         14    > > FE_FETCH_R                                       ~8      $7, !1, ->26
         15    >   ASSIGN                                                   !2, ~8
    7    16        NOP                                                      
         17        FAST_CONCAT                                      ~10     !2, '%3A+'
         18        INIT_FCALL                                               'date'
         19        SEND_VAL                                                 'H%3Ai%3As'
         20        SEND_VAR                                                 !1
         21        DO_ICALL                                         $11     
         22        CONCAT                                           ~12     ~10, $11
         23        CONCAT                                           ~13     ~12, '%0A'
         24        ECHO                                                     ~13
    6    25      > JMP                                                      ->14
         26    >   FE_FREE                                                  $7
    9    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.4 ms | 1395 KiB | 21 Q