3v4l.org

run code in 300+ PHP versions simultaneously
<?php $seconds = 24; echo $seconds > 3600 ? gmdate("H:i:s", seconds) : gmdate("i:s", seconds);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i3q8u
function name:  (null)
number of ops:  18
compiled vars:  !0 = $seconds
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 24
    5     1        IS_SMALLER                                               3600, !0
          2      > JMPZ                                                     ~2, ->10
          3    >   INIT_FCALL                                               'gmdate'
          4        SEND_VAL                                                 'H%3Ai%3As'
          5        FETCH_CONSTANT                                   ~3      'seconds'
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                         $4      
          8        QM_ASSIGN                                        ~5      $4
          9      > JMP                                                      ->16
         10    >   INIT_FCALL                                               'gmdate'
         11        SEND_VAL                                                 'i%3As'
         12        FETCH_CONSTANT                                   ~6      'seconds'
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                         $7      
         15        QM_ASSIGN                                        ~5      $7
         16    >   ECHO                                                     ~5
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.42 ms | 1399 KiB | 15 Q