3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sun_info = date_sun_info((new \DateTime(null, new \DateTimeZone('UTC')))->getTimestamp(), -0.085833, -34.76); 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 = 16, Position 2 = 28
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 28
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
filename:       /in/N6fPu
function name:  (null)
number of ops:  30
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        NEW                                              $3      'DateTime'
          2        SEND_VAL_EX                                              null
          3        NEW                                              $4      'DateTimeZone'
          4        SEND_VAL_EX                                              'UTC'
          5        DO_FCALL                                      0          
          6        SEND_VAR_NO_REF_EX                                       $4
          7        DO_FCALL                                      0          
          8        INIT_METHOD_CALL                                         $3, 'getTimestamp'
          9        DO_FCALL                                      0  $7      
         10        SEND_VAR                                                 $7
         11        SEND_VAL                                                 -0.085833
         12        SEND_VAL                                                 -34.76
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !0, $8
    3    15      > FE_RESET_R                                       $10     !0, ->28
         16    > > FE_FETCH_R                                       ~11     $10, !1, ->28
         17    >   ASSIGN                                                   !2, ~11
    4    18        NOP                                                      
         19        FAST_CONCAT                                      ~13     !2, '%3A+'
         20        INIT_FCALL                                               'date'
         21        SEND_VAL                                                 'H%3Ai%3As'
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $14     
         24        CONCAT                                           ~15     ~13, $14
         25        CONCAT                                           ~16     ~15, '%0A'
         26        ECHO                                                     ~16
    3    27      > JMP                                                      ->16
         28    >   FE_FREE                                                  $10
    5    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.96 ms | 1396 KiB | 17 Q