3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d2=1245; $mod2 = fmod($d2,60); $hrs2= intval($d2/60); $jd2=intval($hrs2/24); $Hour2=$hrs2%24; // 24-hour time to 12-hour time $boardtime=DATE("g:i a", STRTOTIME($Hour2.":".$mod2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rW0Dj
function name:  (null)
number of ops:  25
compiled vars:  !0 = $d2, !1 = $mod2, !2 = $hrs2, !3 = $jd2, !4 = $Hour2, !5 = $boardtime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1245
    3     1        INIT_FCALL                                               'fmod'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 60
          4        DO_ICALL                                         $7      
          5        ASSIGN                                                   !1, $7
    4     6        DIV                                              ~9      !0, 60
          7        CAST                                          4  ~10     ~9
          8        ASSIGN                                                   !2, ~10
    5     9        DIV                                              ~12     !2, 24
         10        CAST                                          4  ~13     ~12
         11        ASSIGN                                                   !3, ~13
    6    12        MOD                                              ~15     !2, 24
         13        ASSIGN                                                   !4, ~15
    8    14        INIT_FCALL                                               'date'
         15        SEND_VAL                                                 'g%3Ai+a'
         16        INIT_FCALL                                               'strtotime'
         17        CONCAT                                           ~17     !4, '%3A'
         18        CONCAT                                           ~18     ~17, !1
         19        SEND_VAL                                                 ~18
         20        DO_ICALL                                         $19     
         21        SEND_VAR                                                 $19
         22        DO_ICALL                                         $20     
         23        ASSIGN                                                   !5, $20
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.04 ms | 1395 KiB | 19 Q