<?php $regex = '/(?=xyz\Kaa)./'; $subject = "aaaaxyzaabaa"; // Comment/uncomment below as wanted. // All 3 functions are vulnerable (note, other functions are affected as well) $x=preg_replace($regex, '\0',$subject); var_dump($x);
You have javascript disabled. You will not be able to edit any code.