3v4l.org

run code in 300+ PHP versions simultaneously
<pre><?php $incoming_usernames = array(); $username = 'Bob "Dillan'; # array_push($incoming_usernames["incoming_friendship_request"], $username); $incoming_usernames['incoming_friendship_request'] = $username; $array_string = mysql_escape_string(serialize($incoming_usernames)); var_dump($array_string); ?> </pre>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cpVva
function name:  (null)
number of ops:  17
compiled vars:  !0 = $incoming_usernames, !1 = $username, !2 = $array_string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Cpre%3E'
    3     1        ASSIGN                                                   !0, <array>
    5     2        ASSIGN                                                   !1, 'Bob+%22Dillan'
    9     3        ASSIGN_DIM                                               !0, 'incoming_friendship_request'
          4        OP_DATA                                                  !1
   11     5        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
          6        INIT_FCALL                                               'serialize'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        SEND_VAR_NO_REF_EX                                       $6
         10        DO_FCALL                                      0  $7      
         11        ASSIGN                                                   !2, $7
   13    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
   16    15        ECHO                                                     '%3C%2Fpre%3E'
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.1 ms | 1394 KiB | 17 Q