3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateLastActivity = '2014-05-02T15:03:08.227Z'; $test = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z', $dateLastActivity, new DateTimeZone('UTC'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h1NKL
function name:  (null)
number of ops:  11
compiled vars:  !0 = $dateLastActivity, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2014-05-02T15%3A03%3A08.227Z'
    4     1        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          2        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3As.u%5CZ'
          3        SEND_VAR                                                 !0
          4        NEW                                              $3      'DateTimeZone'
          5        SEND_VAL_EX                                              'UTC'
          6        DO_FCALL                                      0          
          7        SEND_VAR                                                 $3
          8        DO_FCALL                                      0  $5      
          9        ASSIGN                                                   !1, $5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.09 ms | 1393 KiB | 13 Q