3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.7 ms | 1395 KiB | 13 Q