3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime(str_replace('.', '-', "2014.10.09")) . "\n\r"; echo strtotime('6 month ago');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oQgqN
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '.'
          3        SEND_VAL                                                 '-'
          4        SEND_VAL                                                 '2014.10.09'
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                         $1      
          8        CONCAT                                           ~2      $1, '%0A%0D'
          9        ECHO                                                     ~2
    3    10        INIT_FCALL                                               'strtotime'
         11        SEND_VAL                                                 '6+month+ago'
         12        DO_ICALL                                         $3      
         13        ECHO                                                     $3
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.29 ms | 1394 KiB | 17 Q