3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Bronue MySql Injection foreach( $_POST AS $key => $value ) { if( is_array( $value ) ) { foreach( $value AS $innerKey => $innerValue ) { $_POST[ $key ][ $innerKey ] = addslashes( stripslashes( $innerValue ) ); } } else { $_POST[ $key ] = addslashes( mysql_real_escape_string( $value ) ); } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 32
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 32
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 22
Branch analysis from position: 6
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 20
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 20
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 20
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
filename:       /in/gOvLR
function name:  (null)
number of ops:  34
compiled vars:  !0 = $value, !1 = $key, !2 = $innerValue, !3 = $innerKey
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_R                      global              ~4      '_POST'
          1      > FE_RESET_R                                       $5      ~4, ->32
          2    > > FE_FETCH_R                                       ~6      $5, !0, ->32
          3    >   ASSIGN                                                   !1, ~6
    5     4        TYPE_CHECK                                  128          !0
          5      > JMPZ                                                     ~8, ->22
    7     6    > > FE_RESET_R                                       $9      !0, ->20
          7    > > FE_FETCH_R                                       ~10     $9, !2, ->20
          8    >   ASSIGN                                                   !3, ~10
    9     9        INIT_FCALL                                               'addslashes'
         10        INIT_FCALL                                               'stripslashes'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $15     
         13        SEND_VAR                                                 $15
         14        DO_ICALL                                         $16     
         15        FETCH_W                      global              $12     '_POST'
         16        FETCH_DIM_W                                      $13     $12, !1
         17        ASSIGN_DIM                                               $13, !3
         18        OP_DATA                                                  $16
    7    19      > JMP                                                      ->7
         20    >   FE_FREE                                                  $9
         21      > JMP                                                      ->31
   14    22    >   INIT_FCALL                                               'addslashes'
         23        INIT_FCALL_BY_NAME                                       'mysql_real_escape_string'
         24        SEND_VAR_EX                                              !0
         25        DO_FCALL                                      0  $19     
         26        SEND_VAR                                                 $19
         27        DO_ICALL                                         $20     
         28        FETCH_W                      global              $17     '_POST'
         29        ASSIGN_DIM                                               $17, !1
         30        OP_DATA                                                  $20
    3    31    > > JMP                                                      ->2
         32    >   FE_FREE                                                  $5
   17    33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.29 ms | 946 KiB | 18 Q