3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $start = strtotime('2 weeks ago'); echo '<br/>'; echo $finish = strtotime('last week');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WCRX4
function name:  (null)
number of ops:  12
compiled vars:  !0 = $start, !1 = $finish
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '2+weeks+ago'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                           ~3      !0, $2
          4        ECHO                                                     ~3
    5     5        ECHO                                                     '%3Cbr%2F%3E'
    7     6        INIT_FCALL                                               'strtotime'
          7        SEND_VAL                                                 'last+week'
          8        DO_ICALL                                         $4      
          9        ASSIGN                                           ~5      !1, $4
         10        ECHO                                                     ~5
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.57 ms | 1394 KiB | 15 Q