3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "date_end:" . strtotime(str_replace('.', '-', "2014.10.09")) . "\n\r"; echo "6 months ago:" . strtotime('6 month ago');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UQsdZ
function name:  (null)
number of ops:  17
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      'date_end%3A', $1
          9        CONCAT                                           ~3      ~2, '%0A%0D'
         10        ECHO                                                     ~3
    3    11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '6+month+ago'
         13        DO_ICALL                                         $4      
         14        CONCAT                                           ~5      '6+months+ago%3A', $4
         15        ECHO                                                     ~5
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.39 ms | 1394 KiB | 17 Q