3v4l.org

run code in 500+ PHP versions simultaneously
<?php $buffer = " %target:admin_media.php% %location:% \$showmedia_url = getURL( 'showmedia', 1 ); %end:% %insert:after% // ****** following line added by Showfolio mod ****** \$showfolio_url = getURL( 'showfolio', 1 ); %end:% "; // STANDARDIZE LINE ENDINGS $buffer = preg_replace( "#(?:\r\n|\r\r\n|[\r\n])#", "\r\n", $buffer ); // CREATE WORKING TABLE $parts = preg_split( "#^\s*%(\w+):#m", $buffer, NULL, PREG_SPLIT_OFFSET_CAPTURE|PREG_SPLIT_DELIM_CAPTURE ); print_r( $parts ); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jKupd
function name:  (null)
number of ops:  15
compiled vars:  !0 = $buffer, !1 = $parts
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '%0A%25target%3Aadmin_media.php%25%0A%25location%3A%25%0A%24showmedia_url+%3D+getURL%28+%27showmedia%27%2C+1+%29%3B%0A%25end%3A%25%0A%25insert%3Aafter%25%0A%0A%0A%0A%2F%2F+%2A%2A%2A%2A%2A%2A+following+line+added+by+Showfolio+mod+%2A%2A%2A%2A%2A%2A%0A%24showfolio_url+%3D+getURL%28+%27showfolio%27%2C+1+%29%3B%0A%0A%0A%0A%25end%3A%25%0A%0A'
   21     1        FRAMELESS_ICALL_3                preg_replace        ~3      '%23%28%3F%3A%0D%0A%7C%0D%0D%0A%7C%5B%0D%0A%5D%29%23', '%0D%0A'
          2        OP_DATA                                                      !0
          3        ASSIGN                                                       !0, ~3
   24     4        INIT_FCALL                                                   'preg_split'
          5        SEND_VAL                                                     '%23%5E%5Cs%2A%25%28%5Cw%2B%29%3A%23m'
          6        SEND_VAR                                                     !0
          7        SEND_VAL                                                     null
          8        SEND_VAL                                                     6
          9        DO_ICALL                                             $5      
         10        ASSIGN                                                       !1, $5
   26    11        INIT_FCALL                                                   'print_r'
         12        SEND_VAR                                                     !1
         13        DO_ICALL                                                     
   27    14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
213.28 ms | 2404 KiB | 10 Q