Skip to content

Commit

Permalink
adding break tags in example output for slight improvement to readabi…
Browse files Browse the repository at this point in the history
…lity
  • Loading branch information
SignpostMarv committed Aug 11, 2013
1 parent 337f9a3 commit eeabe22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@


if($regex->test("http://github.com"))
echo "valid url";
echo "valid url". '<br>';
else
echo "invalid url";
echo "invalid url". '<br>';

if (preg_match($regex, 'http://github.com')) {
echo 'valid url';
Expand Down

0 comments on commit eeabe22

Please sign in to comment.