3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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\'>#', $head, $html);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/IPt5m
function name:  (null)
number of ops:  8
compiled vars:  !0 = $html, !1 = $head
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_VAR                                                 !1
         4        SEND_VAR                                                 !0
         5        DO_ICALL                                         $3      
         6        ECHO                                                     $3
         7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0