3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = '2022-09-30T21:39:25.220185123Z'; $date = date_create_from_format( "Y-m-d\TH:i:s.u???P" , $string); var_dump($date);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Upm6v
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string, !1 = $date
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '2022-09-30T21%3A39%3A25.220185123Z'
    4     1        INIT_FCALL                                                   'date_create_from_format'
          2        SEND_VAL                                                     'Y-m-d%5CTH%3Ai%3As.u%3F%3F%3FP'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $3      
          5        ASSIGN                                                       !1, $3
    5     6        INIT_FCALL                                                   'var_dump'
          7        SEND_VAR                                                     !1
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
154.9 ms | 1923 KiB | 15 Q