News for hackers. Stuff that matters.
Re:Taking PHP Seriously [pdf] by fsniper on Friday September 27, 2013 @10:31PM (#6460641)
It's PHP concatenation operator is ".".

  print $productid . 4;
Re:Taking PHP Seriously [pdf] by Sanddancer on Friday September 27, 2013 @11:41PM (#6460830)
You 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.
Re:Taking PHP Seriously [pdf] by Gigablah on Saturday September 28, 2013 @05:26AM (#6461407)
> a fairly broken situation

You missed the problem as well. Don't ask for trouble by creating broken situations.