3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.15 ms | 1395 KiB | 19 Q