3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '/et/ettevote/filter/abc/ü получает значение /et/ettevote/filter/abc/%C3%BC'; $decoded_str = urldecode($str); $result = preg_match('/\/ettevote\/filter\/abc\/([A-Za-z0-9-&ŠšŽžÕõÄäÖöÜü])/u', $decoded_str, $matches); var_dump([$result, $matches]); $decoded_str = rawurldecode($str); $result = preg_match('/\/ettevote\/filter\/abc\/([A-Za-z0-9-&ŠšŽžÕõÄäÖöÜü])/u', $decoded_str, $matches); var_dump([$result, $matches]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XgTmt
function name:  (null)
number of ops:  32
compiled vars:  !0 = $str, !1 = $decoded_str, !2 = $result, !3 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2Fet%2Fettevote%2Ffilter%2Fabc%2F%C3%BC+%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%B0%D0%B5%D1%82+%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5+%2Fet%2Fettevote%2Ffilter%2Fabc%2F%25C3%25BC'
    5     1        INIT_FCALL                                               'urldecode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
    6     5        INIT_FCALL                                               'preg_match'
          6        SEND_VAL                                                 '%2F%5C%2Fettevote%5C%2Ffilter%5C%2Fabc%5C%2F%28%5BA-Za-z0-9-%26%C5%A0%C5%A1%C5%BD%C5%BE%C3%95%C3%B5%C3%84%C3%A4%C3%96%C3%B6%C3%9C%C3%BC%5D%29%2Fu'
          7        SEND_VAR                                                 !1
          8        SEND_REF                                                 !3
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !2, $7
    7    11        INIT_FCALL                                               'var_dump'
         12        INIT_ARRAY                                       ~9      !2
         13        ADD_ARRAY_ELEMENT                                ~9      !3
         14        SEND_VAL                                                 ~9
         15        DO_ICALL                                                 
    9    16        INIT_FCALL                                               'rawurldecode'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $11     
         19        ASSIGN                                                   !1, $11
   10    20        INIT_FCALL                                               'preg_match'
         21        SEND_VAL                                                 '%2F%5C%2Fettevote%5C%2Ffilter%5C%2Fabc%5C%2F%28%5BA-Za-z0-9-%26%C5%A0%C5%A1%C5%BD%C5%BE%C3%95%C3%B5%C3%84%C3%A4%C3%96%C3%B6%C3%9C%C3%BC%5D%29%2Fu'
         22        SEND_VAR                                                 !1
         23        SEND_REF                                                 !3
         24        DO_ICALL                                         $13     
         25        ASSIGN                                                   !2, $13
   11    26        INIT_FCALL                                               'var_dump'
         27        INIT_ARRAY                                       ~15     !2
         28        ADD_ARRAY_ELEMENT                                ~15     !3
         29        SEND_VAL                                                 ~15
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.97 ms | 1396 KiB | 21 Q