3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $tim=str_replace("/", "-", "26/08/2014").' 00:00:00'; echo '-----------------'.strtotime($tim);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ee7ro
function name:  (null)
number of ops:  14
compiled vars:  !0 = $tim
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'str_replace'
          1        SEND_VAL                                                 '%2F'
          2        SEND_VAL                                                 '-'
          3        SEND_VAL                                                 '26%2F08%2F2014'
          4        DO_ICALL                                         $1      
          5        CONCAT                                           ~2      $1, '+00%3A00%3A00'
          6        ASSIGN                                           ~3      !0, ~2
          7        ECHO                                                     ~3
    3     8        INIT_FCALL                                               'strtotime'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11        CONCAT                                           ~5      '-----------------', $4
         12        ECHO                                                     ~5
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.56 ms | 1394 KiB | 17 Q