3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (get_magic_quotes_gpc()) {if (!function_exists("strips")) {function strips(&$arr,$k="") {if (is_array($arr)) {foreach($arr as $k=>$v) {if (strtoupper($k) != "GLOBALS") {strips($arr["$k"]);}}} else {$arr = stripslashes($arr);}}} strips($GLOBALS);}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 14
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 14
filename:       /in/RXOhZ
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'get_magic_quotes_gpc'
          1        DO_FCALL                                      0  $0      
          2      > JMPZ                                                     $0, ->14
          3    >   INIT_FCALL                                               'function_exists'
          4        SEND_VAL                                                 'strips'
          5        DO_ICALL                                         $1      
          6        BOOL_NOT                                         ~2      $1
          7      > JMPZ                                                     ~2, ->9
          8    >   DECLARE_FUNCTION                                         'strips'
          9    >   INIT_FCALL_BY_NAME                                       'strips'
         10        CHECK_FUNC_ARG                                           
         11        FETCH_FUNC_ARG               global              $3      'GLOBALS'
         12        SEND_FUNC_ARG                                            $3
         13        DO_FCALL                                      0          
         14    > > RETURN                                                   1

Function %00strips%2Fin%2FRXOhZ%3A2%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 21
Branch analysis from position: 4
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 19
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 19
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 18
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RXOhZ
function name:  strips
number of ops:  26
compiled vars:  !0 = $arr, !1 = $k, !2 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      ''
          2        TYPE_CHECK                                  128          !0
          3      > JMPZ                                                     ~3, ->21
          4    > > FE_RESET_R                                       $4      !0, ->19
          5    > > FE_FETCH_R                                       ~5      $4, !2, ->19
          6    >   ASSIGN                                                   !1, ~5
          7        INIT_FCALL                                               'strtoupper'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $7      
         10        IS_NOT_EQUAL                                             $7, 'GLOBALS'
         11      > JMPZ                                                     ~8, ->18
         12    >   INIT_FCALL_BY_NAME                                       'strips'
         13        CHECK_FUNC_ARG                                           
         14        CAST                                          6  ~9      !1
         15        FETCH_DIM_FUNC_ARG                               $10     !0, ~9
         16        SEND_FUNC_ARG                                            $10
         17        DO_FCALL                                      0          
         18    > > JMP                                                      ->5
         19    >   FE_FREE                                                  $4
         20      > JMP                                                      ->25
         21    >   INIT_FCALL                                               'stripslashes'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                         $12     
         24        ASSIGN                                                   !0, $12
         25    > > RETURN                                                   null

End of function %00strips%2Fin%2FRXOhZ%3A2%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.74 ms | 1400 KiB | 19 Q