3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mysql_escape_string("test xx\x00yy")); var_export(mysql_escape_string("test xx\x00yy")); var_dump(mysql_escape_string('test xx\x00yy')); var_export(mysql_escape_string('test xx\x00yy')); var_export(mysql_escape_string("xx\nyy")); var_export(mysql_escape_string("xx\ryy")); var_export(mysql_escape_string('xx\yy')); var_export(mysql_escape_string("xx'yy")); var_export(mysql_escape_string('xx"yy')); var_export(mysql_escape_string("xx\x1ayy"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gdSTg
function name:  (null)
number of ops:  61
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
          2        SEND_VAL_EX                                              'test+xx%00yy'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_export'
          7        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
          8        SEND_VAL_EX                                              'test+xx%00yy'
          9        DO_FCALL                                      0  $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                                 
    6    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         14        SEND_VAL_EX                                              'test+xx%5Cx00yy'
         15        DO_FCALL                                      0  $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
    7    18        INIT_FCALL                                               'var_export'
         19        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         20        SEND_VAL_EX                                              'test+xx%5Cx00yy'
         21        DO_FCALL                                      0  $6      
         22        SEND_VAR                                                 $6
         23        DO_ICALL                                                 
    9    24        INIT_FCALL                                               'var_export'
         25        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         26        SEND_VAL_EX                                              'xx%0Ayy'
         27        DO_FCALL                                      0  $8      
         28        SEND_VAR                                                 $8
         29        DO_ICALL                                                 
   10    30        INIT_FCALL                                               'var_export'
         31        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         32        SEND_VAL_EX                                              'xx%0Dyy'
         33        DO_FCALL                                      0  $10     
         34        SEND_VAR                                                 $10
         35        DO_ICALL                                                 
   11    36        INIT_FCALL                                               'var_export'
         37        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         38        SEND_VAL_EX                                              'xx%5Cyy'
         39        DO_FCALL                                      0  $12     
         40        SEND_VAR                                                 $12
         41        DO_ICALL                                                 
   12    42        INIT_FCALL                                               'var_export'
         43        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         44        SEND_VAL_EX                                              'xx%27yy'
         45        DO_FCALL                                      0  $14     
         46        SEND_VAR                                                 $14
         47        DO_ICALL                                                 
   13    48        INIT_FCALL                                               'var_export'
         49        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         50        SEND_VAL_EX                                              'xx%22yy'
         51        DO_FCALL                                      0  $16     
         52        SEND_VAR                                                 $16
         53        DO_ICALL                                                 
   14    54        INIT_FCALL                                               'var_export'
         55        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         56        SEND_VAL_EX                                              'xx%1Ayy'
         57        DO_FCALL                                      0  $18     
         58        SEND_VAR                                                 $18
         59        DO_ICALL                                                 
         60      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.21 ms | 1405 KiB | 17 Q