3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = "1 or 1=0"; echo $id; echo " II "; $jj = stripslashes($id); $vv = mysql_real_escape_string($jj); echo "X ".$vv." X";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SmAmc
function name:  (null)
number of ops:  15
compiled vars:  !0 = $id, !1 = $jj, !2 = $vv
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1+or+1%3D0'
    4     1        ECHO                                                     !0
    5     2        ECHO                                                     '+II+'
    6     3        INIT_FCALL                                               'stripslashes'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    7     7        INIT_FCALL_BY_NAME                                       'mysql_real_escape_string'
          8        SEND_VAR_EX                                              !1
          9        DO_FCALL                                      0  $6      
         10        ASSIGN                                                   !2, $6
    8    11        CONCAT                                           ~8      'X+', !2
         12        CONCAT                                           ~9      ~8, '+X'
         13        ECHO                                                     ~9
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.33 ms | 1398 KiB | 15 Q