3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = str_repeat('a', 200000); $element = new DomElement('test', $value); var_dump($element->nodeValue);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OrpqC
function name:  (null)
number of ops:  15
compiled vars:  !0 = $value, !1 = $element
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'str_repeat'
          1        SEND_VAL                                                 'a'
          2        SEND_VAL                                                 200000
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5        NEW                                              $4      'DomElement'
          6        SEND_VAL_EX                                              'test'
          7        SEND_VAR_EX                                              !0
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !1, $4
    4    10        INIT_FCALL                                               'var_dump'
         11        FETCH_OBJ_R                                      ~7      !1, 'nodeValue'
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.65 ms | 1394 KiB | 17 Q