3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Enter your code here, enjoy! $resultCode = ''; $args = array('bla', 'bla1'); $resultCode .= "'".mysql_escape_string(array_shift($args))."'"; print_r($resultCode);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FZYdk
function name:  (null)
number of ops:  15
compiled vars:  !0 = $resultCode, !1 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, ''
    5     1        ASSIGN                                                   !1, <array>
    7     2        INIT_FCALL_BY_NAME                                       'mysql_escape_string'
          3        INIT_FCALL                                               'array_shift'
          4        SEND_REF                                                 !1
          5        DO_ICALL                                         $4      
          6        SEND_VAR_NO_REF_EX                                       $4
          7        DO_FCALL                                      0  $5      
          8        CONCAT                                           ~6      '%27', $5
          9        CONCAT                                           ~7      ~6, '%27'
         10        ASSIGN_OP                                     8          !0, ~7
   10    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.09 ms | 1394 KiB | 17 Q