3v4l.org

run code in 300+ PHP versions simultaneously
<?php $token_created_at = '2014-08-10 00:00:00'; //$token_created_at; //Return current time to match //$current_time = new DateTime(); $my_dt = new DateTime(); $my_dt->createFromFormat('m-d-Y H:i:s', $token_created_at); //Modify error //$expires_at = $my_dt->modify('+1 hour');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0HuFF
function name:  (null)
number of ops:  9
compiled vars:  !0 = $token_created_at, !1 = $my_dt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2014-08-10+00%3A00%3A00'
   10     1        NEW                                              $3      'DateTime'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $3
   11     4        INIT_METHOD_CALL                                         !1, 'createFromFormat'
          5        SEND_VAL_EX                                              'm-d-Y+H%3Ai%3As'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0          
   14     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.04 ms | 1392 KiB | 13 Q