3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 'index'; for ($i=0;$i<100000;$i++) { $action = ($value) ?: 'none'; $action = ($value) ?: 'none'; $action = ($value) ?: 'none'; $action = ($value) ?: 'none'; $action = ($value) ?: 'none'; } var_dump($action);
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 = 3
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 3
Branch analysis from position: 21
Branch analysis from position: 3
filename:       /in/04VbQ
function name:  (null)
number of ops:  25
compiled vars:  !0 = $value, !1 = $i, !2 = $action
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'index'
    4     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->19
    5     3    >   JMP_SET                                          ~5      !0, ->5
          4        QM_ASSIGN                                        ~5      'none'
          5        ASSIGN                                                   !2, ~5
    6     6        JMP_SET                                          ~7      !0, ->8
          7        QM_ASSIGN                                        ~7      'none'
          8        ASSIGN                                                   !2, ~7
    7     9        JMP_SET                                          ~9      !0, ->11
         10        QM_ASSIGN                                        ~9      'none'
         11        ASSIGN                                                   !2, ~9
    8    12        JMP_SET                                          ~11     !0, ->14
         13        QM_ASSIGN                                        ~11     'none'
         14        ASSIGN                                                   !2, ~11
    9    15        JMP_SET                                          ~13     !0, ->17
         16        QM_ASSIGN                                        ~13     'none'
         17        ASSIGN                                                   !2, ~13
    4    18        PRE_INC                                                  !1
         19    >   IS_SMALLER                                               !1, 100000
         20      > JMPNZ                                                    ~16, ->3
   12    21    >   INIT_FCALL                                               'var_dump'
         22        SEND_VAR                                                 !2
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.7 ms | 1395 KiB | 15 Q