Skip to content
Advertisement

Tag: concatenation

PHP string concat with slashes and variables

I am trying to exec an rclone command via a PHP script. The plain text version of the call looks like this: But when I run it, I’m missing a bunch of stuff and getting divide by 0 errors. I’ve tried a number of other combinations of / and ” and can’t quite get it dialed in. Answer If the

PHP: Concatenate classes on each other

How can I concatenate a class onto another class in this manner? Keep in mind that I will always know everything in the class that needs to be concatenated ahead of time, so generalization is not an issue. Answer This will concatenate two objects together assuming they’re the same type

Advertisement