3v4l.org

run code in 300+ 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 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UPrn2
function name:  (null)
number of ops:  10
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        INIT_FCALL                                               'in_array'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $4      
          6      > JMPZ                                                     $4, ->9
   12     7    >   CONCAT                                           ~5      !0, '+is+niet+toegestaan%21'
          8      > EXIT                                                     ~5
   13     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.67 ms | 1404 KiB | 15 Q