3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = new DOMText("Äpfel wachsen überirdisch"); # ^ # `- 15th character "b" $text->splitText(15); var_dump($text->wholeText); # string(17) "Äpfel wachsen ü"
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YOvKK
function name:  (null)
number of ops:  12
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'DOMText'
          1        SEND_VAL_EX                                              '%C3%84pfel+wachsen+%C3%BCberirdisch'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    6     4        INIT_METHOD_CALL                                         !0, 'splitText'
          5        SEND_VAL_EX                                              15
          6        DO_FCALL                                      0          
    7     7        INIT_FCALL                                               'var_dump'
          8        FETCH_OBJ_R                                      ~5      !0, 'wholeText'
          9        SEND_VAL                                                 ~5
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.91 ms | 1009 KiB | 14 Q