3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'a'; echo dechex(ord($string)) . "\n"; var_export(preg_match("/[\x80-\xFF]/", $string));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jtVBk
function name:  (null)
number of ops:  17
compiled vars:  !0 = $string
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                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                         $3      
          7        CONCAT                                           ~4      $3, '%0A'
          8        ECHO                                                     ~4
    7     9        INIT_FCALL                                               'var_export'
         10        INIT_FCALL                                               'preg_match'
         11        SEND_VAL                                                 '%2F%5B%80-%FF%5D%2F'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.92 ms | 1394 KiB | 21 Q