3v4l.org

run code in 300+ PHP versions simultaneously
<?php function stripslashes_deep($value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value); return $value; } // Пример $array = array("f\\'oo", "b\\'ar", array("fo\\'o", "b\\'ar")); $array = stripslashes_deep($array); // Вывод print_r($array); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nkUtG
function name:  (null)
number of ops:  9
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ASSIGN                                                   !0, <array>
   13     1        INIT_FCALL                                               'stripslashes_deep'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0  $2      
          4        ASSIGN                                                   !0, $2
   16     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
   17     8      > RETURN                                                   1

Function stripslashes_deep:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 9
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nkUtG
function name:  stripslashes_deep
number of ops:  16
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        TYPE_CHECK                                  128          !0
          2      > JMPZ                                                     ~1, ->9
    5     3    >   INIT_FCALL                                               'array_map'
          4        SEND_VAL                                                 'stripslashes_deep'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        QM_ASSIGN                                        ~3      $2
          8      > JMP                                                      ->13
    6     9    >   INIT_FCALL                                               'stripslashes'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        QM_ASSIGN                                        ~3      $4
    4    13    >   ASSIGN                                                   !0, ~3
    8    14      > RETURN                                                   !0
    9    15*     > RETURN                                                   null

End of function stripslashes_deep

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.86 ms | 1399 KiB | 20 Q