3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'планироватТься'; //$text = preg_replace('/[^А-ЯЁ\w\d\t\r\n[:blank:][:punct:]]+/ui', '', $text); $json = json_encode(['text' => $text], JSON_UNESCAPED_UNICODE); var_dump($text); var_dump($json); echo $json; $text = json_decode($json); var_dump($text);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H9B7f
function name:  (null)
number of ops:  22
compiled vars:  !0 = $text, !1 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%D0%BF%D0%BB%D0%B0%D0%BD%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D1%82%D0%A2%D1%8C%D1%81%D1%8F'
    7     1        INIT_FCALL                                               'json_encode'
          2        INIT_ARRAY                                       ~3      !0, 'text'
          3        SEND_VAL                                                 ~3
          4        SEND_VAL                                                 256
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    9     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
   10    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
   11    13        ECHO                                                     !1
   13    14        INIT_FCALL                                               'json_decode'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $8      
         17        ASSIGN                                                   !0, $8
   14    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.64 ms | 1399 KiB | 19 Q