3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = date('Y-m-d H:i:s', strtotime(sprintf('%d-%d-%d %d:%d:%d', 2014, '02', '02', '00', 13, 59))); var_dump($timestamp);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JXhfm
function name:  (null)
number of ops:  21
compiled vars:  !0 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          2        INIT_FCALL                                               'strtotime'
          3        INIT_FCALL                                               'sprintf'
          4        SEND_VAL                                                 '%25d-%25d-%25d+%25d%3A%25d%3A%25d'
    3     5        SEND_VAL                                                 2014
    4     6        SEND_VAL                                                 '02'
    5     7        SEND_VAL                                                 '02'
    6     8        SEND_VAL                                                 '00'
    7     9        SEND_VAL                                                 13
    8    10        SEND_VAL                                                 59
         11        DO_ICALL                                         $1      
         12        SEND_VAR                                                 $1
         13        DO_ICALL                                         $2      
         14        SEND_VAR                                                 $2
         15        DO_ICALL                                         $3      
    2    16        ASSIGN                                                   !0, $3
    9    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.48 ms | 1386 KiB | 21 Q