3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json_array = array( 'title' => '<a mouseover="alert(\"JOJOJO - GEILE Qoutes in deiner Nähe =\")"></a>' ); $json_decode = htmlspecialchars(json_encode($json_array), ENT_QUOTES, 'UTF-8'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AfFg0
function name:  (null)
number of ops:  11
compiled vars:  !0 = $json_array, !1 = $json_decode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'htmlspecialchars'
          2        INIT_FCALL                                               'json_encode'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        SEND_VAL                                                 3
          7        SEND_VAL                                                 'UTF-8'
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    9    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.33 ms | 1385 KiB | 17 Q