3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export(preg_match('/[\x80-\xFF]/', 'a')); echo dechex(ord('a'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iYk6A
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_export'
          1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5B%5Cx80-%5CxFF%5D%2F'
          3        SEND_VAL                                                 'a'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'dechex'
          8        SEND_VAL                                                 97
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.66 ms | 1394 KiB | 19 Q