3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_REQUEST['value'] = '77–777'; $value = $_REQUEST['value']; $value = str_replace(chr(226), '-', trim(utf8_encode($value))); $value = html_entity_decode($value); echo $value;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cOrM8
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                                                  '77%E2%80%93777'
    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        INIT_FCALL                                               'utf8_encode'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                         $7      
         15        SEND_VAR                                                 $7
         16        DO_ICALL                                         $8      
         17        ASSIGN                                                   !0, $8
    7    18        INIT_FCALL                                               'html_entity_decode'
         19        SEND_VAR                                                 !0
         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.85 ms | 1395 KiB | 21 Q