3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(urlencode('Денис Сергеевич')); echo htmlspecialchars('%C4%E5%ED%E8%F1+%D1%E5%F0%E3%E5%E5%E2%E8%F7', ENT_COMPAT, 'UTF-8');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LfAlE
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'urlencode'
          2        SEND_VAL                                                 '%D0%94%D0%B5%D0%BD%D0%B8%D1%81+%D0%A1%D0%B5%D1%80%D0%B3%D0%B5%D0%B5%D0%B2%D0%B8%D1%87'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'htmlspecialchars'
          7        SEND_VAL                                                 '%25C4%25E5%25ED%25E8%25F1%2B%25D1%25E5%25F0%25E3%25E5%25E5%25E2%25E8%25F7'
          8        SEND_VAL                                                 2
          9        SEND_VAL                                                 'UTF-8'
         10        DO_ICALL                                         $2      
         11        ECHO                                                     $2
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.06 ms | 1394 KiB | 19 Q