3v4l.org

run code in 300+ PHP versions simultaneously
<?php $overAge = array('LO70','OFP'); $freeGift = array('LFG'); $endowment = array('PSE','EIQ','PED','ELI'); $cashback = array('LWC'); $mortgageCover = array('MIQ'); switch ('EIQ') { case in_array($freeGift): $topMessage = "This is a free gift lead."; break; case in_array($endowment): $topMessage = "This is an endowment lead"; break; case in_array($cashback): $topMessage = "This is a life insurnace with cashback lead"; break; default: $topMessage = "This is a top quality life insurnace lead"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 21
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 23
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 25
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
filename:       /in/98cYQ
function name:  (null)
number of ops:  29
compiled vars:  !0 = $overAge, !1 = $freeGift, !2 = $endowment, !3 = $cashback, !4 = $mortgageCover, !5 = $topMessage
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    5     3        ASSIGN                                                   !3, <array>
    6     4        ASSIGN                                                   !4, <array>
   11     5        INIT_FCALL                                               'in_array'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $12     
          8        IS_EQUAL                                                 $12, 'EIQ'
          9      > JMPNZ                                                    ~11, ->21
   14    10    >   INIT_FCALL                                               'in_array'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $13     
         13        IS_EQUAL                                                 $13, 'EIQ'
         14      > JMPNZ                                                    ~11, ->23
   17    15    >   INIT_FCALL                                               'in_array'
         16        SEND_VAR                                                 !3
         17        DO_ICALL                                         $14     
         18        IS_EQUAL                                                 $14, 'EIQ'
         19      > JMPNZ                                                    ~11, ->25
         20    > > JMP                                                      ->27
   12    21    >   ASSIGN                                                   !5, 'This+is+a+free+gift+lead.'
   13    22      > JMP                                                      ->28
   15    23    >   ASSIGN                                                   !5, 'This+is+an+endowment+lead'
   16    24      > JMP                                                      ->28
   18    25    >   ASSIGN                                                   !5, 'This+is+a+life+insurnace+with+cashback+lead'
   19    26      > JMP                                                      ->28
   22    27    >   ASSIGN                                                   !5, 'This+is+a+top+quality+life+insurnace+lead'
   23    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.65 ms | 1396 KiB | 15 Q