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_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/uMhQ9
function name:  (null)
number of ops:  49
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                                                 
    5    12        INIT_FCALL                                               'var_export'
         13        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         14        SEND_VAL_EX                                              'xx%0Ayy'
         15        DO_FCALL                                      0  $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
    6    18        INIT_FCALL                                               'var_export'
         19        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         20        SEND_VAL_EX                                              'xx%0Dyy'
         21        DO_FCALL                                      0  $6      
         22        SEND_VAR                                                 $6
         23        DO_ICALL                                                 
    7    24        INIT_FCALL                                               'var_export'
         25        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         26        SEND_VAL_EX                                              'xx%5Cyy'
         27        DO_FCALL                                      0  $8      
         28        SEND_VAR                                                 $8
         29        DO_ICALL                                                 
    8    30        INIT_FCALL                                               'var_export'
         31        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         32        SEND_VAL_EX                                              'xx%27yy'
         33        DO_FCALL                                      0  $10     
         34        SEND_VAR                                                 $10
         35        DO_ICALL                                                 
    9    36        INIT_FCALL                                               'var_export'
         37        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         38        SEND_VAL_EX                                              'xx%22yy'
         39        DO_FCALL                                      0  $12     
         40        SEND_VAR                                                 $12
         41        DO_ICALL                                                 
   10    42        INIT_FCALL                                               'var_export'
         43        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
         44        SEND_VAL_EX                                              'xx%1Ayy'
         45        DO_FCALL                                      0  $14     
         46        SEND_VAR                                                 $14
         47        DO_ICALL                                                 
         48      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.25 ms | 945 KiB | 18 Q