4 ms·
It's PHP concatenation operator is ".". print $productid . 4;
by fsniper 13y ago
It's PHP concatenation operator is ".".
print $productid . 4;
- Sanddancer 13y agoYou missed the point, and the problem. PHP tries way too hard to try to mangle input to kinda sorta work with the operators at hand. Were it a reasonable language, it would throw out a warning, or better yet, an error, to handle a fairly broken situation like this, rather than try to pick and choose the parts of the string it thinks is appropriate.
- Gigablah 13y ago> a fairly broken situation You missed the problem as well. Don't ask for trouble by creating broken situations.