3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); //MUST REMOVE THIS LINE EVENTUALLY MEM-644 $countryCode = 'CA'; if (isset($geoRestrictedProviders[$countryCode])) { echo "hi"; } echo "done";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/VtCms
function name:  (null)
number of ops:  9
compiled vars:  !0 = $countryCode, !1 = $geoRestrictedProviders
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, 'CA'
    5     4        ISSET_ISEMPTY_DIM_OBJ                         0          !1, !0
          5      > JMPZ                                                     ~4, ->7
    6     6    >   ECHO                                                     'hi'
    9     7    >   ECHO                                                     'done'
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.58 ms | 1394 KiB | 15 Q