3v4l.org

run code in 300+ PHP versions simultaneously
<?php $attempts = array(); $localTaskId = 3; $attempts[$localTaskId] = isset ($attempts[$localTaskId]) ? (++ $attempts[$localTaskId]) : ($attempts[$localTaskId] = 1); echo $attempts[$localTaskId]."\n"; $attempts[$localTaskId] = isset ($attempts[$localTaskId]) ? (++ $attempts[$localTaskId]) : ($attempts[$localTaskId] = 1); echo $attempts[$localTaskId]."\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 22
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 22
Branch analysis from position: 18
Branch analysis from position: 22
filename:       /in/LAFLp
function name:  (null)
number of ops:  31
compiled vars:  !0 = $attempts, !1 = $localTaskId
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 3
    8     2        ISSET_ISEMPTY_DIM_OBJ                         0          !0, !1
          3      > JMPZ                                                     ~5, ->8
          4    >   FETCH_DIM_RW                                     $6      !0, !1
          5        PRE_INC                                          ~7      $6
          6        QM_ASSIGN                                        ~8      ~7
          7      > JMP                                                      ->11
          8    >   ASSIGN_DIM                                       ~9      !0, !1
          9        OP_DATA                                                  1
         10        QM_ASSIGN                                        ~8      ~9
         11    >   ASSIGN_DIM                                               !0, !1
         12        OP_DATA                                                  ~8
   10    13        FETCH_DIM_R                                      ~10     !0, !1
         14        CONCAT                                           ~11     ~10, '%0A'
         15        ECHO                                                     ~11
   12    16        ISSET_ISEMPTY_DIM_OBJ                         0          !0, !1
         17      > JMPZ                                                     ~13, ->22
         18    >   FETCH_DIM_RW                                     $14     !0, !1
         19        PRE_INC                                          ~15     $14
         20        QM_ASSIGN                                        ~16     ~15
         21      > JMP                                                      ->25
         22    >   ASSIGN_DIM                                       ~17     !0, !1
         23        OP_DATA                                                  1
         24        QM_ASSIGN                                        ~16     ~17
         25    >   ASSIGN_DIM                                               !0, !1
         26        OP_DATA                                                  ~16
   14    27        FETCH_DIM_R                                      ~18     !0, !1
         28        CONCAT                                           ~19     ~18, '%0A'
         29        ECHO                                                     ~19
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.05 ms | 1395 KiB | 13 Q