M
M
My joy2015-06-16 11:01:59
PHP
My joy, 2015-06-16 11:01:59

Can you give me a template suggestion generator in php?

Hello everyone!
Tell me, has anyone seen a sentence and phrase generator implemented in php?
I mean something like:
[Hello|Hello|Salute]! [My name is|Me] and (I think|maybe|probably|I think).....
To make it a different sentence each time like:
Hello! I am Alexander, and perhaps ...
Salute! My name is Alexander and I think...
and so on.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Perin, 2015-06-16
@t-alexashka

Have a look at this library - https://github.com/lastguest/DynamicString

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question