3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = 1990; $end = 2030; $result = []; for($i = $start; $i <= $end; $i++){ $result[] = [easter_days($i) => date('Y-m-d', easter_date($i))]; } print_r($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 5
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 5
Branch analysis from position: 21
Branch analysis from position: 5
filename:       /in/of2qZ
function name:  (null)
number of ops:  25
compiled vars:  !0 = $start, !1 = $end, !2 = $result, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1990
    4     1        ASSIGN                                                   !1, 2030
    6     2        ASSIGN                                                   !2, <array>
    7     3        ASSIGN                                                   !3, !0
          4      > JMP                                                      ->19
    8     5    >   INIT_FCALL_BY_NAME                                       'easter_days'
          6        SEND_VAR_EX                                              !3
          7        DO_FCALL                                      0  $9      
          8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'Y-m-d'
         10        INIT_FCALL_BY_NAME                                       'easter_date'
         11        SEND_VAR_EX                                              !3
         12        DO_FCALL                                      0  $10     
         13        SEND_VAR                                                 $10
         14        DO_ICALL                                         $11     
         15        INIT_ARRAY                                       ~12     $11, $9
         16        ASSIGN_DIM                                               !2
         17        OP_DATA                                                  ~12
    7    18        PRE_INC                                                  !3
         19    >   IS_SMALLER_OR_EQUAL                                      !3, !1
         20      > JMPNZ                                                    ~14, ->5
   11    21    >   INIT_FCALL                                               'print_r'
         22        SEND_VAR                                                 !2
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.53 ms | 1395 KiB | 17 Q