3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'a'; echo dechex(ord($string)) . "\n"; var_export(preg_match('/[\x80-\xFF]/', $string, $matches)); echo"\n"; var_export($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9D8Vv
function name:  (null)
number of ops:  22
compiled vars:  !0 = $string, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a'
    5     1        INIT_FCALL                                               'dechex'
          2        INIT_FCALL                                               'ord'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        DO_ICALL                                         $4      
          7        CONCAT                                           ~5      $4, '%0A'
          8        ECHO                                                     ~5
    7     9        INIT_FCALL                                               'var_export'
         10        INIT_FCALL                                               'preg_match'
         11        SEND_VAL                                                 '%2F%5B%5Cx80-%5CxFF%5D%2F'
         12        SEND_VAR                                                 !0
         13        SEND_REF                                                 !1
         14        DO_ICALL                                         $6      
         15        SEND_VAR                                                 $6
         16        DO_ICALL                                                 
    8    17        ECHO                                                     '%0A'
    9    18        INIT_FCALL                                               'var_export'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.72 ms | 1395 KiB | 21 Q