3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo <<<EOT One month ago was {${!${''} = date('Y-m-d H:i:s', strtotime('-1 month'))}}. EOT;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wnd2c
function name:  (null)
number of ops:  15
compiled vars:  !0 = $
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ROPE_INIT                                     3  ~7      'One+month+ago+was+'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '-1+month'
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                         $2      
          8        ASSIGN                                           ~3      !0, $2
          9        BOOL_NOT                                         ~4      ~3
         10        FETCH_R                      local               ~5      ~4
         11        ROPE_ADD                                      1  ~7      ~7, ~5
         12        ROPE_END                                      2  ~6      ~7, '.'
         13        ECHO                                                     ~6
    6    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.48 ms | 997 KiB | 15 Q