summaryrefslogtreecommitdiff
path: root/tests/code/str-replace.php
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-27 03:47:30 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-27 03:47:30 +0300
commit059e0d95d0c28bc5060e87e146eaf7411f51bf90 (patch)
tree7c21ac432f16dde2329a0d5954d70711eceb48e6 /tests/code/str-replace.php
parent26cd8ee99659ef1926c96a049c93645ffc9b169d (diff)
downloadgyraf1gov-059e0d95d0c28bc5060e87e146eaf7411f51bf90.tar.gz
gyraf1gov-059e0d95d0c28bc5060e87e146eaf7411f51bf90.tar.bz2
gyraf1gov-059e0d95d0c28bc5060e87e146eaf7411f51bf90.zip
skeleton commit; based on an anom project
Diffstat (limited to 'tests/code/str-replace.php')
-rwxr-xr-xtests/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 100755
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