3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_REQUEST['value'] = '–'; $value = $_REQUEST['value']; $value = str_replace(chr(226), '-', trim($value)); $value = html_entity_decode(utf8_decode($value)); echo $value;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bkf0i
function name:  (null)
number of ops:  24
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                      global              $1      '_REQUEST'
          1        ASSIGN_DIM                                               $1, 'value'
          2        OP_DATA                                                  '%E2%80%93'
    5     3        FETCH_R                      global              ~3      '_REQUEST'
          4        FETCH_DIM_R                                      ~4      ~3, 'value'
          5        ASSIGN                                                   !0, ~4
    6     6        INIT_FCALL                                               'str_replace'
          7        SEND_VAL                                                 '%E2'
          8        SEND_VAL                                                 '-'
          9        INIT_FCALL                                               'trim'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $6      
         12        SEND_VAR                                                 $6
         13        DO_ICALL                                         $7      
         14        ASSIGN                                                   !0, $7
    7    15        INIT_FCALL                                               'html_entity_decode'
         16        INIT_FCALL                                               'utf8_decode'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $9      
         19        SEND_VAR                                                 $9
         20        DO_ICALL                                         $10     
         21        ASSIGN                                                   !0, $10
   10    22        ECHO                                                     !0
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.2 ms | 1395 KiB | 21 Q