3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $tim=str_replace("/", "-", "26/08/2014"); echo strtotime($tim);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3PkJr
function name:  (null)
number of ops:  12
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        ASSIGN                                           ~2      !0, $1
          6        ECHO                                                     ~2
    3     7        INIT_FCALL                                               'strtotime'
          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:
152.74 ms | 1385 KiB | 17 Q