aboutsummaryrefslogtreecommitdiff
path: root/public/test/index.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-10-04 05:10:51 +0200
committervincent-peugnet <v.peugnet@free.fr>2018-10-04 05:10:51 +0200
commit67b20c49ec4e5efb4526fc64ef679dfb6dd41e30 (patch)
tree289a6da21e036b62c881bc505a079d5d64dc1c20 /public/test/index.php
parentc3c4be4a4efd1404aad19797c15d2a9a6ffe29a6 (diff)
downloadwcms-67b20c49ec4e5efb4526fc64ef679dfb6dd41e30.tar.gz
wcms-67b20c49ec4e5efb4526fc64ef679dfb6dd41e30.zip
2.8 auto-tag-update + help + tabs
Diffstat (limited to 'public/test/index.php')
-rw-r--r--public/test/index.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/public/test/index.php b/public/test/index.php
new file mode 100644
index 0000000..5b778ee
--- /dev/null
+++ b/public/test/index.php
@@ -0,0 +1,24 @@
+
+
+<?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