3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i="z";preg_match("%([!#-&\(-+-0-9=@^-`~])|([EIO-RT-UWY[-]eio-rt-uwy{-}])|([\"':-;ADF-HJ-LSadf-hj-ls])|([,.-/<>-?B-CM-NVXZb-cm-nvxz])%",$i,$m);echo array_flip($m)[$i];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jeris
function name:  (null)
number of ops:  12
compiled vars:  !0 = $i, !1 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'z'
          1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%25%28%5B%21%23-%26%5C%28-%2B-0-9%3D%40%5E-%60%7E%5D%29%7C%28%5BEIO-RT-UWY%5B-%5Deio-rt-uwy%7B-%7D%5D%29%7C%28%5B%22%27%3A-%3BADF-HJ-LSadf-hj-ls%5D%29%7C%28%5B%2C.-%2F%3C%3E-%3FB-CM-NVXZb-cm-nvxz%5D%29%25'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
          6        INIT_FCALL                                               'array_flip'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $4      
          9        FETCH_DIM_R                                      ~5      $4, !0
         10        ECHO                                                     ~5
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.04 ms | 1432 KiB | 15 Q