3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo implode( ',', array( intval($now_array['month']) - 3, intval($now_array['month']) - 2, intval($now_array['month']) - 1 ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RKhhi
function name:  (null)
number of ops:  18
compiled vars:  !0 = $now_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'implode'
    4     1        SEND_VAL                                                 '%2C'
    6     2        FETCH_DIM_R                                      ~1      !0, 'month'
          3        CAST                                          4  ~2      ~1
          4        SUB                                              ~3      ~2, 3
          5        INIT_ARRAY                                       ~4      ~3
    7     6        FETCH_DIM_R                                      ~5      !0, 'month'
          7        CAST                                          4  ~6      ~5
          8        SUB                                              ~7      ~6, 2
          9        ADD_ARRAY_ELEMENT                                ~4      ~7
    8    10        FETCH_DIM_R                                      ~8      !0, 'month'
         11        CAST                                          4  ~9      ~8
         12        SUB                                              ~10     ~9, 1
         13        ADD_ARRAY_ELEMENT                                ~4      ~10
         14        SEND_VAL                                                 ~4
         15        DO_ICALL                                         $11     
         16        ECHO                                                     $11
   10    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.48 ms | 1394 KiB | 15 Q