3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($ms = 1425318721999; $ms <= 1425318722001; ++$ms) { var_dump(DateTime::createFromFormat('U.u', sprintf('%14.3f', $ms/1000))); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
Branch analysis from position: 2
filename:       /in/etAAO
function name:  (null)
number of ops:  18
compiled vars:  !0 = $ms
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1425318721999
          1      > JMP                                                      ->15
    4     2    >   INIT_FCALL                                               'var_dump'
          3        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          4        SEND_VAL                                                 'U.u'
          5        INIT_FCALL                                               'sprintf'
          6        SEND_VAL                                                 '%2514.3f'
          7        DIV                                              ~2      !0, 1000
          8        SEND_VAL                                                 ~2
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_FCALL                                      0  $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                                 
    3    14        PRE_INC                                                  !0
         15    >   IS_SMALLER_OR_EQUAL                                      !0, 1425318722001
         16      > JMPNZ                                                    ~7, ->2
    5    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.82 ms | 1399 KiB | 17 Q