3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'http://example.com/search.php?q=<script>DoSomething();</script>'; echo('&lt;Il &eacute;tait une fois un &ecirc;tre&gt;.');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WFLSj
function name:  (null)
number of ops:  3
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fexample.com%2Fsearch.php%3Fq%3D%3Cscript%3EDoSomething%28%29%3B%3C%2Fscript%3E'
    3     1        ECHO                                                     '%26lt%3BIl+%26eacute%3Btait+une+fois+un+%26ecirc%3Btre%26gt%3B.'
          2      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.03 ms | 1392 KiB | 13 Q