3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL, null); var_dump(addcslashes("白かったa", "\\"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8TvSN
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 6
          2        SEND_VAL                                                 null
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'addcslashes'
          6        SEND_VAL                                                 '%E7%99%BD%E3%81%8B%E3%81%A3%E3%81%9Fa'
          7        SEND_VAL                                                 '%5C'
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.8 ms | 1394 KiB | 19 Q