<?php
function Escape_win ($path) {
$path = strtoupper ($path);
return strtr($path, array("\U0430"=>"а", "\U0431"=>"б", "\U0432"=>"в",
"\U0433"=>"г", "\U0434"=>"д", "\U0435"=>"е", "\U0451"=>"ё", "\U0436"=>"ж", "\U0437"=>"з", "\U0438"=>"и",
"\U0439"=>"й", "\U043A"=>"к", "\U043B"=>"л", "\U043C"=>"м", "\U043D"=>"н", "\U043E"=>"о", "\U043F"=>"п",
"\U0440"=>"р", "\U0441"=>"с", "\U0442"=>"т", "\U0443"=>"у", "\U0444"=>"ф", "\U0445"=>"х", "\U0446"=>"ц",
"\U0447"=>"ч", "\U0448"=>"ш", "\U0449"=>"щ", "\U044A"=>"ъ", "\U044B"=>"ы", "\U044C"=>"ь", "\U044D"=>"э",
"\U044E"=>"ю", "\U044F"=>"я", "\U0410"=>"А", "\U0411"=>"Б", "\U0412"=>"В", "\U0413"=>"Г", "\U0414"=>"Д",
"\U0415"=>"Е", "\U0401"=>"Ё", "\U0416"=>"Ж", "\U0417"=>"З", "\U0418"=>"И", "\U0419"=>"Й", "\U041A"=>"К",
"\U041B"=>"Л", "\U041C"=>"М", "\U041D"=>"Н", "\U041E"=>"О", "\U041F"=>"П", "\U0420"=>"Р", "\U0421"=>"С",
"\U0422"=>"Т", "\U0423"=>"У", "\U0424"=>"Ф", "\U0425"=>"Х", "\U0426"=>"Ц", "\U0427"=>"Ч", "\U0428"=>"Ш",
"\U0429"=>"Щ", "\U042A"=>"Ъ", "\U042B"=>"Ы", "\U042C"=>"Ь", "\U042D"=>"Э", "\U042E"=>"Ю", "\U042F"=>"Я"));
}
$str = "\u003Cp\u003E\u0420\u0430\u0441\u0442\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043c\u0435\u0434\u0430 \u0441 \u043f\u043b\u043e\u0434\u0430\u043c\u0438 \u044f\u0433\u043e\u0434 \u0438 \u0440\u0430\u0441\u0442\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u044d\u043a\u0441\u0442\u0440\u0430\u043a\u0442\u0430\u043c\u0438. \u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0444\u0438\u0442\u043e\u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u0430 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0432\u0438\u0440\u0443\u0441\u043d\u043e\u0435";
print Escape_win ($str);
?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/RaJoi
function name: (null)
number of ops: 6
compiled vars: !0 = $str
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
16 0 E > ASSIGN !0, '%5Cu003Cp%5Cu003E%5Cu0420%5Cu0430%5Cu0441%5Cu0442%5Cu0438%5Cu0442%5Cu0435%5Cu043b%5Cu044c%5Cu043d%5Cu044b%5Cu0439+%5Cu043f%5Cu0440%5Cu043e%5Cu0434%5Cu0443%5Cu043a%5Cu0442+%5Cu043d%5Cu0430+%5Cu043e%5Cu0441%5Cu043d%5Cu043e%5Cu0432%5Cu0435+%5Cu043c%5Cu0435%5Cu0434%5Cu0430+%5Cu0441+%5Cu043f%5Cu043b%5Cu043e%5Cu0434%5Cu0430%5Cu043c%5Cu0438+%5Cu044f%5Cu0433%5Cu043e%5Cu0434+%5Cu0438+%5Cu0440%5Cu0430%5Cu0441%5Cu0442%5Cu0438%5Cu0442%5Cu0435%5Cu043b%5Cu044c%5Cu043d%5Cu044b%5Cu043c%5Cu0438+%5Cu044d%5Cu043a%5Cu0441%5Cu0442%5Cu0440%5Cu0430%5Cu043a%5Cu0442%5Cu0430%5Cu043c%5Cu0438.+%5Cu041a%5Cu043e%5Cu043c%5Cu043f%5Cu043e%5Cu043d%5Cu0435%5Cu043d%5Cu0442%5Cu044b+%5Cu0444%5Cu0438%5Cu0442%5Cu043e%5Cu043a%5Cu043e%5Cu043c%5Cu043f%5Cu043b%5Cu0435%5Cu043a%5Cu0441%5Cu0430+%5Cu043e%5Cu043a%5Cu0430%5Cu0437%5Cu044b%5Cu0432%5Cu0430%5Cu044e%5Cu0442+%5Cu043f%5Cu0440%5Cu043e%5Cu0442%5Cu0438%5Cu0432%5Cu043e%5Cu0432%5Cu0438%5Cu0440%5Cu0443%5Cu0441%5Cu043d%5Cu043e%5Cu0435'
17 1 INIT_FCALL 'escape_win'
2 SEND_VAR !0
3 DO_FCALL 0 $2
4 ECHO $2
18 5 > RETURN 1
Function escape_win:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/RaJoi
function name: Escape_win
number of ops: 11
compiled vars: !0 = $path
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
2 0 E > RECV !0
3 1 INIT_FCALL 'strtoupper'
2 SEND_VAR !0
3 DO_ICALL $1
4 ASSIGN !0, $1
4 5 INIT_FCALL 'strtr'
6 SEND_VAR !0
7 SEND_VAL <array>
8 DO_ICALL $3
9 > RETURN $3
14 10* > RETURN null
End of function escape_win
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
156.81 ms | 1399 KiB | 18 Q