3v4l.org

run code in 500+ PHP versions simultaneously
<?php $country = 'Canada'; $disabled_countries = array( 'United States', 'Canada', 'China' ); if (in_array($country, $disabled_countries)) { exit($country . ' is niet toegestaan!'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 61) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UPrn2
function name:  (null)
number of ops:  9
compiled vars:  !0 = $country, !1 = $disabled_countries
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'Canada'
    5     1        ASSIGN                                                       !1, <array>
   11     2        FRAMELESS_ICALL_2                in_array            ~4      !0, !1
          3      > JMPZ                                                         ~4, ->8
   12     4    > > INIT_FCALL                                                   'exit'
          5*       CONCAT                                               ~5      !0, '+is+niet+toegestaan%21'
          6*       SEND_VAL                                                     ~5
          7*       DO_ICALL                                                     
   13     8    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
230.31 ms | 2765 KiB | 14 Q