3v4l.org

run code in 300+ PHP versions simultaneously
<?php $voiting = 'Вы уже голосовали!'; $json_data['failed'] = $voiting; echo json_encode($json_data); echo json_encode($json_data, JSON_UNESCAPED_UNICODE);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O9Ein
function name:  (null)
number of ops:  13
compiled vars:  !0 = $voiting, !1 = $json_data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%D0%92%D1%8B+%D1%83%D0%B6%D0%B5+%D0%B3%D0%BE%D0%BB%D0%BE%D1%81%D0%BE%D0%B2%D0%B0%D0%BB%D0%B8%21'
    4     1        ASSIGN_DIM                                               !1, 'failed'
          2        OP_DATA                                                  !0
    5     3        INIT_FCALL                                               'json_encode'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $4      
          6        ECHO                                                     $4
    6     7        INIT_FCALL                                               'json_encode'
          8        SEND_VAR                                                 !1
          9        SEND_VAL                                                 256
         10        DO_ICALL                                         $5      
         11        ECHO                                                     $5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.17 ms | 1394 KiB | 15 Q