- preg_match: documentation ( source)
- str_pad: documentation ( source)
<?php
$list = array(
'http://localhost/snowball/multi_tag/',
'http://localhost/snowball/shot_manager/shotcontent.php',
'http://localhost/snowball/home_operator.php'
);
foreach( $list as $elem ) {
echo $elem . "\n";
echo preg_match( '/(?:multi_tag)/i', $elem );
echo str_pad('', 80, '=');
}