3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "d\xe9cembre"; // é echo $format = preg_replace("#(\\\x[0-9A-Fa-f]{2})#e", "chr(hexdec('\\1'))", $string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fFPEM
function name:  (null)
number of ops:  9
compiled vars:  !0 = $string, !1 = $format
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'd%E9cembre'
    3     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23%28%5C%5Cx%5B0-9A-Fa-f%5D%7B2%7D%29%23e'
          3        SEND_VAL                                                 'chr%28hexdec%28%27%5C1%27%29%29'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                           ~4      !1, $3
          7        ECHO                                                     ~4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.37 ms | 1394 KiB | 15 Q