3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = substr('20190630175050Z', 0, -1); echo gmdate('d-m-Y H:i:s', $timestamp);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nmrki
function name:  (null)
number of ops:  12
compiled vars:  !0 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'substr'
          1        SEND_VAL                                                 '20190630175050Z'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 -1
          4        DO_ICALL                                         $1      
          5        ASSIGN                                                   !0, $1
    4     6        INIT_FCALL                                               'gmdate'
          7        SEND_VAL                                                 'd-m-Y+H%3Ai%3As'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $3      
         10        ECHO                                                     $3
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.07 ms | 1394 KiB | 17 Q