sklar.com

...composed of an indefinite, perhaps infinite number of hexagonal galleries...

© 1994-2017. David Sklar. All rights reserved.

Let a thousand string concatenations bloom

How many different ways (in PHP) are there to concatenate the string values in two variables and put the result in a third variable?



Here are a few to start:



I would say something like “Of course, this entire exercise is just for fun and in practice is totally useless,” but whenever I start out thinking that something actually productive eventually emerges. So perhaps this is totally useless, perhaps not!

Tagged with software , php , fun