3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array('Yousef\\\'s','\"PHP.net\"','user\\\'s'); echo 'With strip_slashes() function:<br />'; print_r(strip_slashes($arr)); echo '<br />'; echo 'Without strip_slashes() function:<br />'; print_r($arr); /** You will get With strip_slashes() function: Array ( [0] => Yousef's [1] => "PHP.net" [2] => user's ) Without strip_slashes() function: Array ( [0] => Yousef\'s [1] => \"PHP.net\" [2] => user\'s ) */ ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fUrbo
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ECHO                                                     'With+strip_slashes%28%29+function%3A%3Cbr+%2F%3E'
    6     2        INIT_FCALL                                               'print_r'
          3        INIT_FCALL_BY_NAME                                       'strip_slashes'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
    7     8        ECHO                                                     '%3Cbr+%2F%3E'
    8     9        ECHO                                                     'Without+strip_slashes%28%29+function%3A%3Cbr+%2F%3E'
    9    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
   18    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.36 ms | 1394 KiB | 15 Q