3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo htmlentities('https://exaple.com/path?userInput1=USER_INPUT&userInput2=USER_INPUT') . PHP_EOL; echo htmlspecialchars('https://exaple.com/path?userInput1=USER_INPUT&userInput2=USER_INPUT');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NjeNT
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'htmlentities'
          1        SEND_VAL                                                 'https%3A%2F%2Fexaple.com%2Fpath%3FuserInput1%3DUSER_INPUT%26userInput2%3DUSER_INPUT'
          2        DO_ICALL                                         $0      
          3        CONCAT                                           ~1      $0, '%0A'
          4        ECHO                                                     ~1
    4     5        INIT_FCALL                                               'htmlspecialchars'
          6        SEND_VAL                                                 'https%3A%2F%2Fexaple.com%2Fpath%3FuserInput1%3DUSER_INPUT%26userInput2%3DUSER_INPUT'
          7        DO_ICALL                                         $2      
          8        ECHO                                                     $2
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.89 ms | 997 KiB | 15 Q