diff options
Diffstat (limited to 'public/test/index.php')
-rw-r--r-- | public/test/index.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/public/test/index.php b/public/test/index.php deleted file mode 100644 index 5b778ee..0000000 --- a/public/test/index.php +++ /dev/null @@ -1,24 +0,0 @@ - - -<?php - -$pattern = "/%%(\w*)%%/"; - -$string = "bla bla bld dd d , dfddddddsdsdf fzpapap %q dsq%%c%%dd % dsqqsd %% dsqq dsq sd %%c%%dsssssssssss dsqd %%coucouhibou%% fdsf fdsf fdsfsdfsdf "; - - - -preg_match_all($pattern, $string, $out); - -foreach ($out[0] as $key => $value) { - $replace = '^^ÔHYEAH BB££___'.$out[1][$key]. '_____§§§§§§'; - $string = str_replace($value, $replace, $string); - -} - - -var_dump($out); - -var_dump($string); - -?>
\ No newline at end of file |