summaryrefslogtreecommitdiff
path: root/tests/code/str-replace.php
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-12 07:16:23 +0200
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-12 07:16:23 +0200
commit7076343338ae3439f3c86f01144818abe8c31978 (patch)
tree794abb1e6b8f821091fd095341885496b6dad51d /tests/code/str-replace.php
parent47cbb529f5723b246125ae083a193e11481b89ef (diff)
downloadclassroom-7076343338ae3439f3c86f01144818abe8c31978.tar.gz
classroom-7076343338ae3439f3c86f01144818abe8c31978.tar.bz2
classroom-7076343338ae3439f3c86f01144818abe8c31978.zip
add container helpers; constuct public directory-tree
Diffstat (limited to 'tests/code/str-replace.php')
-rw-r--r--tests/code/str-replace.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/code/str-replace.php b/tests/code/str-replace.php
new file mode 100644
index 0000000..f02f25e
--- /dev/null
+++ b/tests/code/str-replace.php
@@ -0,0 +1,5 @@
+<?php
+
+$arr = ['welcome', 'hello', 'goodbye'];
+
+print_r(str_replace('e', '@', $arr)); \ No newline at end of file