3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "document.getElementById('longstory').value = " . json_encode(html_entity_decode('test\'ing')) . ";";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6U7nX
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_encode'
          1        INIT_FCALL                                               'html_entity_decode'
          2        SEND_VAL                                                 'test%27ing'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                         $1      
          6        CONCAT                                           ~2      'document.getElementById%28%27longstory%27%29.value+%3D+', $1
          7        CONCAT                                           ~3      ~2, '%3B'
          8        ECHO                                                     ~3
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.29 ms | 1394 KiB | 17 Q