3v4l.org

run code in 500+ PHP versions simultaneously
<?php $node = new DOMAttr('foo','bar'); $node->nodeValue = 'xx&#x31;yy'; var_dump($node->nodeValue);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xf27Y
function name:  (null)
number of ops:  12
compiled vars:  !0 = $node
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   NEW                                                  $1      'DOMAttr'
          1        SEND_VAL_EX                                                  'foo'
          2        SEND_VAL_EX                                                  'bar'
          3        DO_FCALL                                          0          
          4        ASSIGN                                                       !0, $1
    3     5        ASSIGN_OBJ                                                   !0, 'nodeValue'
          6        OP_DATA                                                      'xx%26%23x31%3Byy'
    4     7        INIT_FCALL                                                   'var_dump'
          8        FETCH_OBJ_R                                          ~5      !0, 'nodeValue'
          9        SEND_VAL                                                     ~5
         10        DO_ICALL                                                     
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.5 ms | 484 KiB | 10 Q