3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* $date_time = '2014-09-12T23:55:38Z'; $time_object = new DateTime($date_time, new DateTimeZone('GMT')); var_dump( $time_object ); */ $now = strtotime("now"); $purchasedDate = strtotime($now); echo "dddd\n\n"; echo $purchasedDate;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iRZbC
function name:  (null)
number of ops:  11
compiled vars:  !0 = $now, !1 = $purchasedDate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'now'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
   12     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
   13     8        ECHO                                                     'dddd%0A%0A'
   14     9        ECHO                                                     !1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.46 ms | 1394 KiB | 15 Q