3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.09 ms | 1395 KiB | 17 Q