3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "<html><body> <body> </body> </body></html>"; $text = preg_replace('/^.*\<body\>/', '', $text); echo $text;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DjcJ3
function name:  (null)
number of ops:  9
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Chtml%3E%3Cbody%3E+%3Cbody%3E++%3C%2Fbody%3E+%3C%2Fbody%3E%3C%2Fhtml%3E'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5E.%2A%5C%3Cbody%5C%3E%2F'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    7     7        ECHO                                                     !0
    8     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.87 ms | 1398 KiB | 15 Q