3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "date_end:" . strtotime(str_replace('.', '-', "2014.10.09")); 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/sInKL
function name:  (null)
number of ops:  16
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        ECHO                                                     ~2
    3    10        INIT_FCALL                                               'strtotime'
         11        SEND_VAL                                                 '6+month+ago'
         12        DO_ICALL                                         $3      
         13        CONCAT                                           ~4      '6+months+ago%3A', $3
         14        ECHO                                                     ~4
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.64 ms | 1394 KiB | 17 Q