3v4l.org

run code in 300+ PHP versions simultaneously
<?php $antiblock_message = 'Please disable your ad blocker!<br>Bitte deaktiviere Deinen Werbeblocker!'; $antiblock_layer_id = chr(98 + mt_rand(0,24)).substr(md5(time()), 0, 3); $antiblock_html_elements = array (0 => 'div', 1 => 'span', 2 => 'b', 3 => 'i', 4 => 'font', 5 => 'strong', 6 => 'center'); $antiblock_html_element = $antiblock_html_elements[array_rand($antiblock_html_elements)]; ?> <style> # echo $antiblock_layer_id; { position: fixed !important; position: absolute; top: echo mt_rand(-3, 3); px; top: expression((t=document.documentElement.scrollTop?document.documentElement.scrollTop: document.body.scrollTop)+"px"); left: echo mt_rand(-3, 3); px; width: echo mt_rand(98, 103); %; height: echo mt_rand(98, 103); %; background-color: #fff; opacity: .95; filter: alpha(opacity=95); display: block; padding: 20% 0 } # echo $antiblock_layer_id; * { text-align: center; margin: 0 auto; display: block; filter: none; font: bold 14px Verdana, Arial, sans-serif; text-decoration: none } # echo $antiblock_layer_id; ~ * { display: none } </style> <script> (function (l, m) { function n(a) { a && php echo $antiblock_layer_id; .nextFunction() } var f = l.document, p = ["s"]; n.prototype = { rand: function (a) { return Math.floor(Math.random() * a) }, getElementBy: function (a, b) { return a ? f.getElementById(a) : f.getElementsByTagName(b) }, getStyle: function (a) { var b = f.defaultView; return b && b.getComputedStyle ? b.getComputedStyle(a, null) : a.currentStyle }, deferExecution: function (a) { setTimeout(a, 250) }, insert: function (a, b) { var d = f.createElement(" echo $antiblock_html_element; "), e = f.body, g = e.childNodes.length, h = e.style, c = 0, k = 0; if (" echo $antiblock_layer_id; " == b) { d.setAttribute("id", b); h.margin = h.padding = 0; h.height = "100%"; for (g = this.rand(g); c < g; c++) 1 == e.childNodes[c].nodeType && (k = Math.max(k, parseFloat(this.getStyle(e.childNodes[c]) .zIndex) || 0)); k && (d.style.zIndex = k + 1); g++ } d.innerHTML = a; e.insertBefore(d, e.childNodes[g - 1]) }, displayMessage: function (a) { var b = this; a = "abisuq".charAt(b.rand(5)); b.insert(" echo $antiblock_message; "), " echo $antiblock_layer_id; "); f.addEventListener && b.deferExecution(function () { b.getElementBy(" echo $antiblock_layer_id; ") .addEventListener("DOMNodeRemoved", function () { b.displayMessage() }, !1) }) }, displayMessage: function (a) { a = "abisuq".charAt(this.rand(5)); var b, c = '<input type="button" onclick=" echo $antiblock_layer_id; .r(' echo $antiblock_layer_id; ')" value=5 disabled></' + a + ">"; this.insert(" echo $antiblock_message; " + c, " echo $antiblock_layer_id; "); c = this.getElementBy(" echo $antiblock_layer_id; ") .firstChild.lastChild; b = setInterval(function () { c.value--; 1 > c.value && (clearInterval(b), c.value = "Close", c.disabled = "") }, 1E3) }, s: function () { var a = { 'pagead2.googlesyndic': 'google_ad_client' }, b = this, d = b.getElementBy(0, "script"), e = d.length - 1, g, h, c, k; f.write = null; for (f.writeln = null; 0 <= e; --e) if (g = d[e].src.substr(7, 20), a[g] !== m) { c = f.createElement("script"); c.type = "text/javascript"; c.src = d[e].src; h = a[g]; l[h] = m; c.onload = c.onreadystatechange = function () { k = this; l[h] !== m || k.readyState && "loaded" !== k.readyState && "complete" !== k.readyState || (l[h] = c.onload = c.onreadystatechange = null, d[0].parentNode.removeChild(c)) }; d[0].parentNode.insertBefore(c, d[0]); b.deferExecution(function () { if (l[h] === m) return b.displayMessage(c.src); b.nextFunction() }); return } b.nextFunction() }, nextFunction: function () { var a = p[0]; a !== m && (p.shift(), this[a]()) } }; l. php echo $antiblock_layer_id; = php echo $antiblock_layer_id; = new n; f.addEventListener ? l.addEventListener("load", n, !1) : l.attachEvent("onload", n) })(window); </script>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bglpG
function name:  (null)
number of ops:  29
compiled vars:  !0 = $antiblock_message, !1 = $antiblock_layer_id, !2 = $antiblock_html_elements, !3 = $antiblock_html_element
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Please+disable+your+ad+blocker%21%3Cbr%3EBitte+deaktiviere+Deinen+Werbeblocker%21'
    3     1        INIT_FCALL                                               'chr'
          2        INIT_FCALL                                               'mt_rand'
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 24
          5        DO_ICALL                                         $5      
          6        ADD                                              ~6      98, $5
          7        SEND_VAL                                                 ~6
          8        DO_ICALL                                         $7      
          9        INIT_FCALL                                               'substr'
         10        INIT_FCALL                                               'md5'
         11        INIT_FCALL                                               'time'
         12        DO_ICALL                                         $8      
         13        SEND_VAR                                                 $8
         14        DO_ICALL                                         $9      
         15        SEND_VAR                                                 $9
         16        SEND_VAL                                                 0
         17        SEND_VAL                                                 3
         18        DO_ICALL                                         $10     
         19        CONCAT                                           ~11     $7, $10
         20        ASSIGN                                                   !1, ~11
    4    21        ASSIGN                                                   !2, <array>
    5    22        INIT_FCALL                                               'array_rand'
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                         $14     
         25        FETCH_DIM_R                                      ~15     !2, $14
         26        ASSIGN                                                   !3, ~15
    7    27        ECHO                                                     '%3Cstyle%3E%0A++++%23+echo+%24antiblock_layer_id%3B++%7B%0A++++++++position%3A+fixed+%21important%3B%0A++++++++position%3A+absolute%3B%0A++++++++top%3A++echo+mt_rand%28-3%2C+3%29%3B+px%3B%0A++++++++top%3A+expression%28%28t%3Ddocument.documentElement.scrollTop%3Fdocument.documentElement.scrollTop%3A+document.body.scrollTop%29%2B%22px%22%29%3B%0A++++++++left%3A++echo+mt_rand%28-3%2C+3%29%3B+px%3B%0A++++++++width%3A++echo+mt_rand%2898%2C+103%29%3B+%25%3B%0A++++++++height%3A++echo+mt_rand%2898%2C+103%29%3B+%25%3B%0A++++++++background-color%3A+%23fff%3B%0A++++++++opacity%3A+.95%3B%0A++++++++filter%3A+alpha%28opacity%3D95%29%3B%0A++++++++display%3A+block%3B%0A++++++++padding%3A+20%25+0%0A++++%7D%0A++++%23+echo+%24antiblock_layer_id%3B++%2A+%7B%0A++++++++text-align%3A+center%3B%0A++++++++margin%3A+0+auto%3B%0A++++++++display%3A+block%3B%0A++++++++filter%3A+none%3B%0A++++++++font%3A+bold+14px+Verdana%2C+Arial%2C+sans-serif%3B%0A++++++++text-decoration%3A+none%0A++++%7D%0A++++%23+echo+%24antiblock_layer_id%3B++%7E+%2A+%7B%0A++++++++display%3A+none%0A++++%7D%0A%3C%2Fstyle%3E%0A%3Cscript%3E%0A%09%28function+%28l%2C+m%29+%7B%0A++++++++function+n%28a%29+%7B%0A++++++++++++a+%26%26++php+echo+%24antiblock_layer_id%3B+.nextFunction%28%29%0A++++++++%7D%0A++++++++var+f+%3D+l.document%2C%0A++++++++++++p+%3D+%5B%22s%22%5D%3B%0A++++++++n.prototype+%3D+%7B%0A++++++++++++rand%3A+function+%28a%29+%7B%0A++++++++++++++++return+Math.floor%28Math.random%28%29+%2A+a%29%0A++++++++++++%7D%2C%0A++++++++++++getElementBy%3A+function+%28a%2C+b%29+%7B%0A++++++++++++++++return+a+%3F+f.getElementById%28a%29+%3A+f.getElementsByTagName%28b%29%0A++++++++++++%7D%2C%0A++++++++++++getStyle%3A+function+%28a%29+%7B%0A++++++++++++++++var+b+%3D+f.defaultView%3B%0A++++++++++++++++return+b+%26%26+b.getComputedStyle+%3F+b.getComputedStyle%28a%2C+null%29+%3A+a.currentStyle%0A++++++++++++%7D%2C%0A++++++++++++deferExecution%3A+function+%28a%29+%7B%0A++++++++++++++++setTimeout%28a%2C+250%29%0A++++++++++++%7D%2C%0A++++++++++++insert%3A+function+%28a%2C+b%29+%7B%0A++++++++++++++++var+d+%3D+f.createElement%28%22+echo+%24antiblock_html_element%3B+%22%29%2C%0A++++++++++++++++++++e+%3D+f.body%2C%0A++++++++++++++++++++g+%3D+e.childNodes.length%2C%0A++++++++++++++++++++h+%3D+e.style%2C%0A++++++++++++++++++++c+%3D+0%2C%0A++++++++++++++++++++k+%3D+0%3B%0A++++++++++++++++if+%28%22+echo+%24antiblock_layer_id%3B+%22+%3D%3D+b%29+%7B%0A++++++++++++++++++++d.setAttribute%28%22id%22%2C+b%29%3B%0A++++++++++++++++++++h.margin+%3D+h.padding+%3D+0%3B%0A++++++++++++++++++++h.height+%3D+%22100%25%22%3B%0A++++++++++++++++++++for+%28g+%3D+this.rand%28g%29%3B+c+%3C+g%3B+c%2B%2B%29+1+%3D%3D+e.childNodes%5Bc%5D.nodeType+%26%26+%28k+%3D+Math.max%28k%2C+parseFloat%28this.getStyle%28e.childNodes%5Bc%5D%29%0A++++++++++++++++++++++++.zIndex%29+%7C%7C+0%29%29%3B%0A++++++++++++++++++++k+%26%26+%28d.style.zIndex+%3D+k+%2B+1%29%3B%0A++++++++++++++++++++g%2B%2B%0A++++++++++++++++%7D%0A++++++++++++++++d.innerHTML+%3D+a%3B%0A++++++++++++++++e.insertBefore%28d%2C+e.childNodes%5Bg+-+1%5D%29%0A++++++++++++%7D%2C%0A++++++++++++displayMessage%3A+function+%28a%29+%7B%0A%09%09%09%09var+b+%3D+this%3B%0A++++++++++++++++a+%3D+%22abisuq%22.charAt%28b.rand%285%29%29%3B%0A++++++++++++++++b.insert%28%22+echo+%24antiblock_message%3B+%22%29%2C+%22+echo+%24antiblock_layer_id%3B+%22%29%3B%0A++++++++++++++++f.addEventListener+%26%26+b.deferExecution%28function+%28%29+%7B%0A++++++++++++++++++++b.getElementBy%28%22+echo+%24antiblock_layer_id%3B+%22%29%0A++++++++++++++++++++++++.addEventListener%28%22DOMNodeRemoved%22%2C+function+%28%29+%7B%0A++++++++++++++++++++++++++++b.displayMessage%28%29%0A++++++++++++++++++++++++%7D%2C+%211%29%0A++++++++++++++++%7D%29%0A++++++++++++%7D%2C%0A%09%09%09%0A%09%09%09displayMessage%3A+function+%28a%29+%7B%0A++++++++++++++++a+%3D+%22abisuq%22.charAt%28this.rand%285%29%29%3B%0A++++++++++++++++var+b%2C+c+%3D+%27%3Cinput+type%3D%22button%22+onclick%3D%22+echo+%24antiblock_layer_id%3B+.r%28%27+echo+%24antiblock_layer_id%3B+%27%29%22+value%3D5+disabled%3E%3C%2F%27+%2B+a+%2B+%22%3E%22%3B%0A++++++++++++++++this.insert%28%22+echo+%24antiblock_message%3B+%22+%2B+c%2C+%22+echo+%24antiblock_layer_id%3B+%22%29%3B%0A++++++++++++++++c+%3D+this.getElementBy%28%22+echo+%24antiblock_layer_id%3B+%22%29%0A++++++++++++++++++++.firstChild.lastChild%3B%0A++++++++++++++++b+%3D+setInterval%28function+%28%29+%7B%0A++++++++++++++++++++c.value--%3B%0A++++++++++++++++++++1+%3E+c.value+%26%26+%28clearInterval%28b%29%2C+c.value+%3D+%22Close%22%2C+c.disabled+%3D+%22%22%29%0A++++++++++++++++%7D%2C+1E3%29%0A++++++++++++%7D%2C%0A%09%09%09%0A++++++++++++s%3A+function+%28%29+%7B%0A++++++++++++++++var+a+%3D+%7B%0A++++++++++++++++++++%27pagead2.googlesyndic%27%3A+%27google_ad_client%27%0A++++++++++++++++%7D%2C+b+%3D+this%2C%0A++++++++++++++++++++d+%3D+b.getElementBy%280%2C+%22script%22%29%2C%0A++++++++++++++++++++e+%3D+d.length+-+1%2C%0A++++++++++++++++++++g%2C+h%2C+c%2C+k%3B%0A++++++++++++++++f.write+%3D+null%3B%0A++++++++++++++++for+%28f.writeln+%3D+null%3B+0+%3C%3D+e%3B+--e%29%0A++++++++++++++++++++if+%28g+%3D+d%5Be%5D.src.substr%287%2C+20%29%2C+a%5Bg%5D+%21%3D%3D+m%29+%7B%0A++++++++++++++++++++++++c+%3D+f.createElement%28%22script%22%29%3B%0A++++++++++++++++++++++++c.type+%3D+%22text%2Fjavascript%22%3B%0A++++++++++++++++++++++++c.src+%3D+d%5Be%5D.src%3B%0A++++++++++++++++++++++++h+%3D+a%5Bg%5D%3B%0A++++++++++++++++++++++++l%5Bh%5D+%3D+m%3B%0A++++++++++++++++++++++++c.onload+%3D+c.onreadystatechange+%3D+function+%28%29+%7B%0A++++++++++++++++++++++++++++k+%3D+this%3B%0A++++++++++++++++++++++++++++l%5Bh%5D+%21%3D%3D+m+%7C%7C+k.readyState+%26%26+%22loaded%22+%21%3D%3D+k.readyState+%26%26+%22complete%22+%21%3D%3D+k.readyState+%7C%7C+%28l%5Bh%5D+%3D+c.onload+%3D+c.onreadystatechange+%3D+null%2C+d%5B0%5D.parentNode.removeChild%28c%29%29%0A++++++++++++++++++++++++%7D%3B%0A++++++++++++++++++++++++d%5B0%5D.parentNode.insertBefore%28c%2C+d%5B0%5D%29%3B%0A++++++++++++++++++++++++b.deferExecution%28function+%28%29+%7B%0A++++++++++++++++++++++++++++if+%28l%5Bh%5D+%3D%3D%3D+m%29+return+b.displayMessage%28c.src%29%3B%0A++++++++++++++++++++++++++++b.nextFunction%28%29%0A++++++++++++++++++++++++%7D%29%3B%0A++++++++++++++++++++++++return%0A++++++++++++++++++++%7D%0A++++++++++++++++b.nextFunction%28%29%0A++++++++++++%7D%2C%0A++++++++++++nextFunction%3A+function+%28%29+%7B%0A++++++++++++++++var+a+%3D+p%5B0%5D%3B%0A++++++++++++++++a+%21%3D%3D+m+%26%26+%28p.shift%28%29%2C+this%5Ba%5D%28%29%29%0A++++++++++++%7D%0A++++++++%7D%3B%0A++++++++l.+php+echo+%24antiblock_layer_id%3B++%3D++php+echo+%24antiblock_layer_id%3B++%3D+new+n%3B%0A++++++++f.addEventListener+%3F+l.addEventListener%28%22load%22%2C+n%2C+%211%29+%3A+l.attachEvent%28%22onload%22%2C+n%29%0A++++%7D%29%28window%29%3B%0A%3C%2Fscript%3E'
  134    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.28 ms | 1404 KiB | 25 Q