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 = DateTime::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/rLQhI
function name:  (null)
number of ops:  7
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        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          2        SEND_VAL                                                 'm-d-Y+H%3Ai%3As'
          3        SEND_VAR                                                 !0
          4        DO_FCALL                                      0  $3      
          5        ASSIGN                                                   !1, $3
   13     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.33 ms | 1397 KiB | 13 Q