3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = date_timestamp_get(date_create()); print substr($str, -1, 6); print "\n" . $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KpmK0
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_timestamp_get'
          1        INIT_FCALL                                               'date_create'
          2        DO_ICALL                                         $1      
          3        SEND_VAR                                                 $1
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    5     6        INIT_FCALL                                               'substr'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 -1
          9        SEND_VAL                                                 6
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
    6    12        CONCAT                                           ~5      '%0A', !0
         13        ECHO                                                     ~5
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.64 ms | 1394 KiB | 19 Q