3v4l.org

run code in 200+ php & hhvm versions
<?php var_dump(\DateTimeImmutable::createFromFormat('Y-m-d H:i:s.v', (new datetime('2019-01-06 12:34:56.789'))->format('Y-m-d H:i:s.v')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KdHKj
function name:  (null)
number of ops:  14
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'var_dump'
         1        INIT_STATIC_METHOD_CALL                                  'DateTimeImmutable', 'createFromFormat'
         2        SEND_VAL                                                 'Y-m-d+H%3Ai%3As.v'
         3        NEW                                              $0      :23
         4        SEND_VAL_EX                                              '2019-01-06+12%3A34%3A56.789'
         5        DO_FCALL                                      0          
         6        INIT_METHOD_CALL                                         $0, 'format'
         7        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As.v'
         8        DO_FCALL                                      0  $2      
         9        SEND_VAR                                                 $2
        10        DO_FCALL                                      0  $3      
        11        SEND_VAR                                                 $3
        12        DO_ICALL                                                 
        13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0