3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = '2020-06-16T08:08:18.339Z'; $dt = new DateTime($str); echo (float) $dt->format('U.u');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ee9MZ
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str, !1 = $dt
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '2020-06-16T08%3A08%3A18.339Z'
    5     1        NEW                                                  $3      'DateTime'
          2        SEND_VAR_EX                                                  !0
          3        DO_FCALL                                          0          
          4        ASSIGN                                                       !1, $3
    7     5        INIT_METHOD_CALL                                             !1, 'format'
          6        SEND_VAL_EX                                                  'U.u'
          7        DO_FCALL                                          0  $6      
          8        CAST                                              5  ~7      $6
          9        ECHO                                                         ~7
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
174.05 ms | 2174 KiB | 13 Q