3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user['name'] = "%C3%90%C2%90%C3%90%C2%BB%C3%90%C2%B5%C3%90%C2%BA%C3%91%C2%81%C3%90%C2%B5%C3%90%C2%B9"; if(strpos($user['name'],"%C3") === 0) { //$user['name'] = iconv("UTF-8","CP1252//IGNORE",$user['name']); $user['name'] = iconv("UTF-8","ISO-8859-1",urldecode($user['name'])); } var_dump($user);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 20
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/MaovP
function name:  (null)
number of ops:  24
compiled vars:  !0 = $user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'name'
          1        OP_DATA                                                  '%25C3%2590%25C2%2590%25C3%2590%25C2%25BB%25C3%2590%25C2%25B5%25C3%2590%25C2%25BA%25C3%2591%25C2%2581%25C3%2590%25C2%25B5%25C3%2590%25C2%25B9'
    4     2        INIT_FCALL                                               'strpos'
          3        FETCH_DIM_R                                      ~2      !0, 'name'
          4        SEND_VAL                                                 ~2
          5        SEND_VAL                                                 '%25C3'
          6        DO_ICALL                                         $3      
          7        IS_IDENTICAL                                             $3, 0
          8      > JMPZ                                                     ~4, ->20
    6     9    >   INIT_FCALL_BY_NAME                                       'iconv'
         10        SEND_VAL_EX                                              'UTF-8'
         11        SEND_VAL_EX                                              'ISO-8859-1'
         12        INIT_FCALL                                               'urldecode'
         13        FETCH_DIM_R                                      ~6      !0, 'name'
         14        SEND_VAL                                                 ~6
         15        DO_ICALL                                         $7      
         16        SEND_VAR_NO_REF_EX                                       $7
         17        DO_FCALL                                      0  $8      
         18        ASSIGN_DIM                                               !0, 'name'
         19        OP_DATA                                                  $8
    9    20    >   INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.19 ms | 1395 KiB | 19 Q