3v4l.org

run code in 300+ PHP versions simultaneously
<?php $offset = 18000; $zone = sprintf("%+05d", $offset / 60); var_dump($zone, $offset);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IfHoh
function name:  (null)
number of ops:  12
compiled vars:  !0 = $offset, !1 = $zone
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 18000
    3     1        INIT_FCALL                                               'sprintf'
          2        SEND_VAL                                                 '%25%2B05d'
          3        DIV                                              ~3      !0, 60
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    4     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.31 ms | 1385 KiB | 17 Q