3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = 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/rm1VV
function name:  (null)
number of ops:  17
compiled vars:  !0 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        INIT_FCALL                                               'sprintf'
          2        SEND_VAL                                                 '%25d-%25d-%25d+%25d%3A%25d%3A%25d'
    3     3        SEND_VAL                                                 2014
    4     4        SEND_VAL                                                 '02'
    5     5        SEND_VAL                                                 '02'
    6     6        SEND_VAL                                                 '00'
    7     7        SEND_VAL                                                 13
    8     8        SEND_VAL                                                 59
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
    2    12        ASSIGN                                                   !0, $2
    9    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.46 ms | 1394 KiB | 19 Q