3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.44 ms | 1399 KiB | 13 Q