3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.52 ms | 1395 KiB | 13 Q