3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "ʪ֣ãÅìÐÄš³·¿­ÉÁÊ¡¸Ší¿ÃÐÁ®›¶œ¸˜Ï¹¥ç"; $esc = preg_replace( '~([^a-z0-9])~u','\\\$1',$str ); var_dump( $esc );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1M2Zo
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str, !1 = $esc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C3%8A%C2%AA%C3%96%C2%A3%C3%A3%C3%85%C3%AC%C3%90%C3%84%C5%A1%C2%B3%C2%B7%C2%BF%C2%AD%C3%89%C3%81%C3%8A%C2%A1%C2%B8%C5%A0%C3%AD%C2%BF%C3%83%C3%90%C3%81%C2%AE%E2%80%BA%C2%B6%C5%93%C2%B8%CB%9C%C3%8F%C2%B9%C2%A5%C3%A7'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%7E%28%5B%5Ea-z0-9%5D%29%7Eu'
          3        SEND_VAL                                                 '%5C%5C%241'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    5     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.17 ms | 1385 KiB | 17 Q