3v4l.org

run code in 300+ PHP versions simultaneously
<?php // your code goes here $html = '<body link="#0066FF" vlink="#6633CC" bgcolor="#4CDCFF" style=\'margin:0\'>'; echo preg_replace('#<body link="\#[a-zA-Z0-9]+" vlink="\#[a-zA-Z0-9]+" bgcolor="\#[a-zA-Z0-9]+" style=\'margin:0\'>#', "$1", $html);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ehtVb
function name:  (null)
number of ops:  8
compiled vars:  !0 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, '%3Cbody+link%3D%22%230066FF%22+vlink%3D%22%236633CC%22+bgcolor%3D%22%234CDCFF%22+style%3D%27margin%3A0%27%3E'
    7     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23%3Cbody+link%3D%22%5C%23%5Ba-zA-Z0-9%5D%2B%22+vlink%3D%22%5C%23%5Ba-zA-Z0-9%5D%2B%22+bgcolor%3D%22%5C%23%5Ba-zA-Z0-9%5D%2B%22+style%3D%27margin%3A0%27%3E%23'
          3        SEND_VAL                                                 '%241'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.36 ms | 1385 KiB | 15 Q