3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'this is a test \"string\" ya\'ll with a random " and \.'; echo mysql_escape_string($string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DKnZM
function name:  (null)
number of ops:  6
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'this+is+a+test+%5C%22string%5C%22+ya%27ll+with+a+random+%22+and+%5C.'
    4     1        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $2      
          4        ECHO                                                     $2
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.25 ms | 1383 KiB | 13 Q