3v4l.org

run code in 300+ PHP versions simultaneously
<?php /******************************************************************* * Glype is copyright and trademark 2007-2013 UpsideOut, Inc. d/b/a Glype * and/or its licensors, successors and assigners. All rights reserved. * * Use of Glype is subject to the terms of the Software License Agreement. * http://www.glype.com/license.php ******************************************************************* * This page allows the user to change settings for their "virtual * browser" - includes disabling/enabling referrers, choosing a user * agent string ******************************************************************/ /***************************************************************** * Initialize glype ******************************************************************/ // Stop caching sendNoCache(); // Start buffering ob_start(); /***************************************************************** * Create content ******************************************************************/ // Return without saving button $return = empty($_GET['return']) ? '' : '<input type="button" value="Cancel" onclick="window.location=\'' . remove_html($_GET['return']) . '\'">'; $returnField = empty($_GET['return']) ? '' : '<input type="hidden" value="' . remove_html($_GET['return']) . '" name="return">'; $agent = empty($_SERVER['HTTP_USER_AGENT']) ? '' : htmlentities($_SERVER['HTTP_USER_AGENT']); // Quote strings function escape_single_quotes($value) { return str_replace("'", "\'", $value); } function remove_html($x) { $x = preg_replace('#"#', '', $x); $x = preg_replace("#'#", '', $x); $x = preg_replace('#<#', '', $x); $x = preg_replace('#>#', '', $x); $x = preg_replace('#\\\\#', '', $x); return $x; } // Get existing values $browser = $_SESSION['custom_browser']; $currentUA = escape_single_quotes($browser['user_agent']); $realReferrer = $browser['referrer'] == 'real' ? 'true' : 'false'; $customReferrer = $browser['referrer'] == 'real' ? '' : escape_single_quotes($browser['referrer']); echo <<<OUT <script type="text/javascript"> // Update custom ua field with value of currently selected preset function updateCustomUA(select) { // Get value var newValue = select.value; // Custom field var customField = document.getElementById('user-agent'); // Special cases switch ( newValue ) { case 'none': newValue = ''; break; case 'custom': customField.focus(); return; } // Set new value customField.value = newValue; } // Set select box to "custom" field when the custom text field is edited function setCustomUA() { var setTo = document.getElementById('user-agent').value ? 'custom' : ''; setSelect(document.getElementById('user-agent-presets'), setTo); } // Set a select field by value function setSelect(select, value) { for ( var i=0; i < select.length; ++i ) { if ( select[i].value == value ) { select.selectedIndex = i; return true; } } return false } // Clear custom-referrer text field if real-referrer is checked function clearCustomReferrer(checkbox) { if ( checkbox.checked ) { document.getElementById('custom-referrer').value = ''; } } // Clear real-referrer checkbox if custom-referrer text field is edited function clearRealReferrer() { document.getElementById('real-referrer').checked = ''; } // Add domready function to set form to current values window.addDomReadyFunc(function() { document.getElementById('user-agent').value = '{$currentUA}'; if ( setSelect(document.getElementById('user-agent-presets'), '{$currentUA}') == false ) { setCustomUA(); } document.getElementById('real-referrer').checked = {$realReferrer}; document.getElementById('custom-referrer').value = '{$customReferrer}'; }); </script> <div class="col-1"> <h2>Edit Browser</h2> <p>Many websites change their website layout according to the browser and operating system of the user.For more anonymity ,you can adjust the settings for your "virtual browser" below. These options affect the information the proxy sends to the target server. </p> <form action="includes/process.php?action=edit-browser" method="post"> <div class="table-wrp"> <table class="browser-table"> <tr> <th colspan="2">User Agent <div class="br-help">(?)<span>Your user agent is sent to the server and identifies the software you are using to access the internet.</span></div></th> </tr> <tr> <td>Choose from presets:</td> <td> <select id="user-agent-presets" onchange="updateCustomUA(this)"> <option value="Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.17 Safari/537.36">Google Chrome 30.0 with Windows 8</option> <option value="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36">Google Chrome 29.0 with Windows 7</option> <option value="Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0">Mozilla Firefox 25.0 with Windows 7</option> <option value="Mozilla/5.0 (Windows NT 6.0; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0">Mozilla Firefox 24.0 with Windows Vista</option> <option value="Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14">Opera 9.80 on Windows Vista</option> <option value="Opera/12.80 (Windows NT 5.1; U; en) Presto/2.10.289 Version/12.02">Opera 12.80 on Windows XP</option> <option value="Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ) AppleWebKit/523.15 (KHTML, like Gecko) Version/3.0 Safari/523.15">Safari 3.0 on Windows XP</option> </select> </td> </tr> <tr> <td>&#32;</td> <td colspan="1"> <input type="text" id="user-agent" name="user-agent" class="full-width" onchange="setCustomUA();"> </td> </tr> <tr> <td colspan="2" class="small-note"><b>Note:</b> some websites may adjust content based on your user agent.</td> </tr> </table> <table class="browser-table"> <tr> <th colspan="2">Referrer <div class="br-help">(?)<span>The URL of the referring page is normally sent to the server. You can override this to a custom value or set to send no referrer for extra privacy.</span></div></th> </tr> <tr> <td>Send real referrer:</td> <td><input type="checkbox" name="real-referrer" id="real-referrer" onclick="clearCustomReferrer(this)"></td> </tr> <tr> <td>Custom referrer:</td> <td><input type="text" name="custom-referrer" id="custom-referrer" class="full-width" onchange="clearRealReferrer()"></td> </tr> <tr> <td colspan="2" class="small-note"><b>Note:</b> some websites may validate your referrer and deny access if set to an unexpected value</td> </tr> </table> </div> <br> <div style="text-align: center;" class="edit-browsers"><input type="submit" value="Save"> {$return}</div> {$returnField} </form> </div> OUT; /***************************************************************** * Send content wrapped in our theme ******************************************************************/ // Get buffer $content = ob_get_contents(); // Clear buffer ob_end_clean(); // Print content wrapped in theme echo replaceContent($content);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 24
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 39
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 45
Branch analysis from position: 45
2 jumps found. (Code = 43) Position 1 = 57, Position 2 = 59
Branch analysis from position: 57
1 jumps found. (Code = 42) Position 1 = 60
Branch analysis from position: 60
2 jumps found. (Code = 43) Position 1 = 64, Position 2 = 66
Branch analysis from position: 64
1 jumps found. (Code = 42) Position 1 = 71
Branch analysis from position: 71
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 66
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 59
2 jumps found. (Code = 43) Position 1 = 64, Position 2 = 66
Branch analysis from position: 64
Branch analysis from position: 66
Branch analysis from position: 39
2 jumps found. (Code = 43) Position 1 = 57, Position 2 = 59
Branch analysis from position: 57
Branch analysis from position: 59
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 39
Branch analysis from position: 37
Branch analysis from position: 39
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 24
Branch analysis from position: 22
Branch analysis from position: 24
filename:       /in/FDIm1
function name:  (null)
number of ops:  96
compiled vars:  !0 = $return, !1 = $returnField, !2 = $agent, !3 = $browser, !4 = $currentUA, !5 = $realReferrer, !6 = $customReferrer, !7 = $content
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   INIT_FCALL_BY_NAME                                       'sendNoCache'
          1        DO_FCALL                                      0          
   24     2        INIT_FCALL                                               'ob_start'
          3        DO_ICALL                                                 
   32     4        FETCH_IS                                         ~10     '_GET'
          5        ISSET_ISEMPTY_DIM_OBJ                         1          ~10, 'return'
          6      > JMPZ                                                     ~11, ->9
          7    >   QM_ASSIGN                                        ~12     ''
          8      > JMP                                                      ->18
          9    >   INIT_FCALL_BY_NAME                                       'remove_html'
         10        CHECK_FUNC_ARG                                           
         11        FETCH_FUNC_ARG               global              $13     '_GET'
         12        FETCH_DIM_FUNC_ARG                               $14     $13, 'return'
         13        SEND_FUNC_ARG                                            $14
         14        DO_FCALL                                      0  $15     
         15        CONCAT                                           ~16     '%3Cinput+type%3D%22button%22+value%3D%22Cancel%22+onclick%3D%22window.location%3D%27', $15
         16        CONCAT                                           ~17     ~16, '%27%22%3E'
         17        QM_ASSIGN                                        ~12     ~17
         18    >   ASSIGN                                                   !0, ~12
   33    19        FETCH_IS                                         ~19     '_GET'
         20        ISSET_ISEMPTY_DIM_OBJ                         1          ~19, 'return'
         21      > JMPZ                                                     ~20, ->24
         22    >   QM_ASSIGN                                        ~21     ''
         23      > JMP                                                      ->33
         24    >   INIT_FCALL_BY_NAME                                       'remove_html'
         25        CHECK_FUNC_ARG                                           
         26        FETCH_FUNC_ARG               global              $22     '_GET'
         27        FETCH_DIM_FUNC_ARG                               $23     $22, 'return'
         28        SEND_FUNC_ARG                                            $23
         29        DO_FCALL                                      0  $24     
         30        CONCAT                                           ~25     '%3Cinput+type%3D%22hidden%22+value%3D%22', $24
         31        CONCAT                                           ~26     ~25, '%22+name%3D%22return%22%3E'
         32        QM_ASSIGN                                        ~21     ~26
         33    >   ASSIGN                                                   !1, ~21
   34    34        FETCH_IS                                         ~28     '_SERVER'
         35        ISSET_ISEMPTY_DIM_OBJ                         1          ~28, 'HTTP_USER_AGENT'
         36      > JMPZ                                                     ~29, ->39
         37    >   QM_ASSIGN                                        ~30     ''
         38      > JMP                                                      ->45
         39    >   INIT_FCALL                                               'htmlentities'
         40        FETCH_R                      global              ~31     '_SERVER'
         41        FETCH_DIM_R                                      ~32     ~31, 'HTTP_USER_AGENT'
         42        SEND_VAL                                                 ~32
         43        DO_ICALL                                         $33     
         44        QM_ASSIGN                                        ~30     $33
         45    >   ASSIGN                                                   !2, ~30
   50    46        FETCH_R                      global              ~35     '_SESSION'
         47        FETCH_DIM_R                                      ~36     ~35, 'custom_browser'
         48        ASSIGN                                                   !3, ~36
   52    49        INIT_FCALL                                               'escape_single_quotes'
         50        FETCH_DIM_R                                      ~38     !3, 'user_agent'
         51        SEND_VAL                                                 ~38
         52        DO_FCALL                                      0  $39     
         53        ASSIGN                                                   !4, $39
   53    54        FETCH_DIM_R                                      ~41     !3, 'referrer'
         55        IS_EQUAL                                                 ~41, 'real'
         56      > JMPZ                                                     ~42, ->59
         57    >   QM_ASSIGN                                        ~43     'true'
         58      > JMP                                                      ->60
         59    >   QM_ASSIGN                                        ~43     'false'
         60    >   ASSIGN                                                   !5, ~43
   54    61        FETCH_DIM_R                                      ~45     !3, 'referrer'
         62        IS_EQUAL                                                 ~45, 'real'
         63      > JMPZ                                                     ~46, ->66
         64    >   QM_ASSIGN                                        ~47     ''
         65      > JMP                                                      ->71
         66    >   INIT_FCALL                                               'escape_single_quotes'
         67        FETCH_DIM_R                                      ~48     !3, 'referrer'
         68        SEND_VAL                                                 ~48
         69        DO_FCALL                                      0  $49     
         70        QM_ASSIGN                                        ~47     $49
         71    >   ASSIGN                                                   !6, ~47
   57    72        ROPE_INIT                                    13  ~52     '%09%3Cscript+type%3D%22text%2Fjavascript%22%3E%0A%09%09%2F%2F+Update+custom+ua+field+with+value+of+currently+selected+preset%0A%09%09function+updateCustomUA%28select%29+%7B%0A%09%09%09%0A%09%09%09%2F%2F+Get+value%0A%09%09%09var+newValue+%3D+select.value%3B%0A%09%09%09%0A%09%09%09%2F%2F+Custom+field%0A%09%09%09var+customField+%3D+document.getElementById%28%27user-agent%27%29%3B%0A%09%09%09%0A%09%09%09%2F%2F+Special+cases%0A%09%09%09switch+%28+newValue+%29+%7B%0A%09%09%09%09case+%27none%27%3A%0A%09%09%09%09%09newValue+%3D+%27%27%3B%0A%09%09%09%09%09break%3B%0A%09%09%09%09case+%27custom%27%3A%0A%09%09%09%09%09customField.focus%28%29%3B%0A%09%09%09%09%09return%3B%0A%09%09%09%7D%0A%09%09%09%0A%09%09%09%2F%2F+Set+new+value%0A%09%09%09customField.value+%3D+newValue%3B%0A%09%09%09%0A%09%09%7D%0A%09%09%0A%09%09%2F%2F+Set+select+box+to+%22custom%22+field+when+the+custom+text+field+is+edited%0A%09%09function+setCustomUA%28%29+%7B%0A%09%09%09var+setTo+%3D+document.getElementById%28%27user-agent%27%29.value+%3F+%27custom%27+%3A+%27%27%3B%0A%09%09%09setSelect%28document.getElementById%28%27user-agent-presets%27%29%2C+setTo%29%3B%0A%09%09%7D%0A%09%09%0A%09%09%2F%2F+Set+a+select+field+by+value%0A%09%09function+setSelect%28select%2C+value%29+%7B%0A%09%09%09for+%28+var+i%3D0%3B+i+%3C+select.length%3B+%2B%2Bi+%29+%7B%0A%09%09%09%09if+%28+select%5Bi%5D.value+%3D%3D+value+%29+%7B%0A%09%09%09%09%09select.selectedIndex+%3D+i%3B%0A%09%09%09%09%09return+true%3B%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%09return+false%0A%09%09%7D%0A%09%09%0A%09%09%2F%2F+Clear+custom-referrer+text+field+if+real-referrer+is+checked%0A%09%09function+clearCustomReferrer%28checkbox%29+%7B%0A%09%09%09if+%28+checkbox.checked+%29+%7B%0A%09%09%09%09document.getElementById%28%27custom-referrer%27%29.value+%3D+%27%27%3B%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09%2F%2F+Clear+real-referrer+checkbox+if+custom-referrer+text+field+is+edited%0A%09%09function+clearRealReferrer%28%29+%7B%0A%09%09%09document.getElementById%28%27real-referrer%27%29.checked+%3D+%27%27%3B%0A%09%09%7D%0A%09%09%0A%09%09%2F%2F+Add+domready+function+to+set+form+to+current+values%0A%09%09window.addDomReadyFunc%28function%28%29+%7B%0A%09%09%09document.getElementById%28%27user-agent%27%29.value%09%09%09%3D+%27'
  113    73        ROPE_ADD                                      1  ~52     ~52, !4
         74        ROPE_ADD                                      2  ~52     ~52, '%27%3B%0A%09%09%09if+%28+setSelect%28document.getElementById%28%27user-agent-presets%27%29%2C+%27'
  114    75        ROPE_ADD                                      3  ~52     ~52, !4
         76        ROPE_ADD                                      4  ~52     ~52, '%27%29+%3D%3D+false+%29+%7B%0A%09%09%09%09setCustomUA%28%29%3B%0A%09%09%09%7D%0A%09%09%09document.getElementById%28%27real-referrer%27%29.checked%09%3D+'
  117    77        ROPE_ADD                                      5  ~52     ~52, !5
         78        ROPE_ADD                                      6  ~52     ~52, '%3B%0A%09%09%09document.getElementById%28%27custom-referrer%27%29.value%09%3D+%27'
  118    79        ROPE_ADD                                      7  ~52     ~52, !6
         80        ROPE_ADD                                      8  ~52     ~52, '%27%3B%0A%09%09%7D%29%3B%0A%09%3C%2Fscript%3E%0A%09%3Cdiv+class%3D%22col-1%22%3E%0A%09%3Ch2%3EEdit+Browser%3C%2Fh2%3E%0A%09%3Cp%3EMany+websites+change+their+website+layout+according+to+the+browser+and+operating+system+of+the+user.For+more+anonymity+%2Cyou+can+adjust+the+settings+for+your+%22virtual+browser%22+below.+These+options+affect+the+information+the+proxy+sends+to+the+target+server.+%3C%2Fp%3E%0A%09%3Cform+action%3D%22includes%2Fprocess.php%3Faction%3Dedit-browser%22+method%3D%22post%22%3E%0A%09%09%3Cdiv+class%3D%22table-wrp%22%3E%0A%09%09%3Ctable+class%3D%22browser-table%22%3E%0A%09%09%09%3Ctr%3E%0A%09%09%09%09%3Cth+colspan%3D%222%22%3EUser+Agent+%3Cdiv+class%3D%22br-help%22%3E%28%3F%29%3Cspan%3EYour+user+agent+is+sent+to+the+server+and+identifies+the+software+you+are+using+to+access+the+internet.%3C%2Fspan%3E%3C%2Fdiv%3E%3C%2Fth%3E%0A%09%09%09%3C%2Ftr%3E%0A%09%09%09%3Ctr%3E%0A%09%09%09%09%3Ctd%3EChoose+from+presets%3A%3C%2Ftd%3E%0A%09%09%09%09%3Ctd%3E%0A%09%09%09%09%09%3Cselect+id%3D%22user-agent-presets%22+onchange%3D%22updateCustomUA%28this%29%22%3E%0A%09%09%09%09%09%09%3Coption+value%3D%22Mozilla%2F5.0+%28Windows+NT+6.2%3B+WOW64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F30.0.1599.17+Safari%2F537.36%22%3EGoogle+Chrome+30.0+with+Windows+8%3C%2Foption%3E%0A%09%09%09%09%09%09%3Coption+value%3D%22Mozilla%2F5.0+%28Windows+NT+6.1%3B+WOW64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F29.0.1547.62+Safari%2F537.36%22%3EGoogle+Chrome+29.0+with+Windows+7%3C%2Foption%3E%0A%09%09%09%09%09%09%3Coption+value%3D%22Mozilla%2F5.0+%28Windows+NT+6.1%3B+Win64%3B+x64%3B+rv%3A25.0%29+Gecko%2F20100101+Firefox%2F25.0%22%3EMozilla+Firefox+25.0+with+Windows+7%3C%2Foption%3E%0A%09%09%09%09%09%09%3Coption+value%3D%22Mozilla%2F5.0+%28Windows+NT+6.0%3B+WOW64%3B+rv%3A24.0%29+Gecko%2F20100101+Firefox%2F24.0%22%3EMozilla+Firefox+24.0+with+Windows+Vista%3C%2Foption%3E%0A%09%09%09%09%09%09%3Coption+value%3D%22Opera%2F9.80+%28Windows+NT+6.0%29+Presto%2F2.12.388+Version%2F12.14%22%3EOpera+9.80+on+Windows+Vista%3C%2Foption%3E%0A%09%09%09%09%09%09%3Coption+value%3D%22Opera%2F12.80+%28Windows+NT+5.1%3B+U%3B+en%29+Presto%2F2.10.289+Version%2F12.02%22%3EOpera+12.80+on+Windows+XP%3C%2Foption%3E%0A%09%09%09%09%09%09%3Coption+value%3D%22Mozilla%2F5.0+%28Windows%3B+U%3B+Windows+NT+5.1%3B+cs-CZ%29+AppleWebKit%2F523.15+%28KHTML%2C+like+Gecko%29+Version%2F3.0+Safari%2F523.15%22%3ESafari+3.0+on+Windows+XP%3C%2Foption%3E%0A%09%09%09%09%09%3C%2Fselect%3E%0A%09%09%09%09%3C%2Ftd%3E%0A%09%09%09%3C%2Ftr%3E%0A%09%09%09%3Ctr%3E%0A%09%09%09%09%3Ctd%3E%26%2332%3B%3C%2Ftd%3E%0A%09%09%09%09%3Ctd+colspan%3D%221%22%3E%0A%09%09%09%09%09%3Cinput+type%3D%22text%22+id%3D%22user-agent%22+name%3D%22user-agent%22+class%3D%22full-width%22+onchange%3D%22setCustomUA%28%29%3B%22%3E%0A%09%09%09%09%3C%2Ftd%3E%0A%09%09%09%3C%2Ftr%3E%0A%09%09%09%3Ctr%3E%0A%09%09%09%09%3Ctd+colspan%3D%222%22+class%3D%22small-note%22%3E%3Cb%3ENote%3A%3C%2Fb%3E+some+websites+may+adjust+content+based+on+your+user+agent.%3C%2Ftd%3E%0A%09%09%09%3C%2Ftr%3E%0A%09%09%3C%2Ftable%3E%0A%09%09%0A%09%09%3Ctable+class%3D%22browser-table%22%3E%0A%09%09%09%3Ctr%3E%0A%09%09%09%09%3Cth+colspan%3D%222%22%3EReferrer+%3Cdiv+class%3D%22br-help%22%3E%28%3F%29%3Cspan%3EThe+URL+of+the+referring+page+is+normally+sent+to+the+server.+You+can+override+this+to+a+custom+value+or+set+to+send+no+referrer+for+extra+privacy.%3C%2Fspan%3E%3C%2Fdiv%3E%3C%2Fth%3E%0A%09%09%09%3C%2Ftr%3E%0A%09%09%09%3Ctr%3E%0A%09%09%09%09%3Ctd%3ESend+real+referrer%3A%3C%2Ftd%3E%0A%09%09%09%09%3Ctd%3E%3Cinput+type%3D%22checkbox%22+name%3D%22real-referrer%22+id%3D%22real-referrer%22+onclick%3D%22clearCustomReferrer%28this%29%22%3E%3C%2Ftd%3E%0A%09%09%09%3C%2Ftr%3E%0A%09%09%09%3Ctr%3E%0A%09%09%09%09%3Ctd%3ECustom+referrer%3A%3C%2Ftd%3E%0A%09%09%09%09%3Ctd%3E%3Cinput+type%3D%22text%22+name%3D%22custom-referrer%22+id%3D%22custom-referrer%22+class%3D%22full-width%22+onchange%3D%22clearRealReferrer%28%29%22%3E%3C%2Ftd%3E%0A%09%09%09%3C%2Ftr%3E%0A%09%09%09%3Ctr%3E%0A%09%09%09%09%3Ctd+colspan%3D%222%22+class%3D%22small-note%22%3E%3Cb%3ENote%3A%3C%2Fb%3E+some+websites+may+validate+your+referrer+and+deny+access+if+set+to+an+unexpected+value%3C%2Ftd%3E%0A%09%09%09%3C%2Ftr%3E%0A%09%09%3C%2Ftable%3E%0A%09%09%3C%2Fdiv%3E%0A%09%09%3Cbr%3E%0A%09%09%0A%09%09%3Cdiv+style%3D%22text-align%3A+center%3B%22+class%3D%22edit-browsers%22%3E%3Cinput+type%3D%22submit%22+value%3D%22Save%22%3E+'
  174    81        ROPE_ADD                                      9  ~52     ~52, !0
         82        ROPE_ADD                                     10  ~52     ~52, '%3C%2Fdiv%3E%0A%09%09%0A%09%09'
  176    83        ROPE_ADD                                     11  ~52     ~52, !1
         84        ROPE_END                                     12  ~51     ~52, '%0A%09%09%0A%09%3C%2Fform%3E%0A%09%3C%2Fdiv%3E'
         85        ECHO                                                     ~51
  188    86        INIT_FCALL                                               'ob_get_contents'
         87        DO_ICALL                                         $59     
         88        ASSIGN                                                   !7, $59
  191    89        INIT_FCALL                                               'ob_end_clean'
         90        DO_ICALL                                                 
  194    91        INIT_FCALL_BY_NAME                                       'replaceContent'
         92        SEND_VAR_EX                                              !7
         93        DO_FCALL                                      0  $62     
         94        ECHO                                                     $62
         95      > RETURN                                                   1

Function escape_single_quotes:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FDIm1
function name:  escape_single_quotes
number of ops:  8
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   37     0  E >   RECV                                             !0      
   38     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%27'
          3        SEND_VAL                                                 '%5C%27'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6      > RETURN                                                   $1
   39     7*     > RETURN                                                   null

End of function escape_single_quotes

Function remove_html:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FDIm1
function name:  remove_html
number of ops:  33
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   40     0  E >   RECV                                             !0      
   41     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23%22%23'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6        ASSIGN                                                   !0, $1
   42     7        INIT_FCALL                                               'preg_replace'
          8        SEND_VAL                                                 '%23%27%23'
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $3      
         12        ASSIGN                                                   !0, $3
   43    13        INIT_FCALL                                               'preg_replace'
         14        SEND_VAL                                                 '%23%3C%23'
         15        SEND_VAL                                                 ''
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $5      
         18        ASSIGN                                                   !0, $5
   44    19        INIT_FCALL                                               'preg_replace'
         20        SEND_VAL                                                 '%23%3E%23'
         21        SEND_VAL                                                 ''
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                         $7      
         24        ASSIGN                                                   !0, $7
   45    25        INIT_FCALL                                               'preg_replace'
         26        SEND_VAL                                                 '%23%5C%5C%23'
         27        SEND_VAL                                                 ''
         28        SEND_VAR                                                 !0
         29        DO_ICALL                                         $9      
         30        ASSIGN                                                   !0, $9
   46    31      > RETURN                                                   !0
   47    32*     > RETURN                                                   null

End of function remove_html

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.45 ms | 964 KiB | 28 Q