preg_match for <?php, <?, and/or ?>
- by SoLoGHoST
Hello guys, I'm not very familiar with regEx's and I'm trying to find a preg_match regex for searching for any of the following strings within a file and if found it will halt it. I already have the fopen and fgets setup I just need to use a regex inside of a preg_match for the following php tags:
<?php
<?
?>
Thanks for your help with this :)