Comment on PHP is the new JavaScript?Comments−tredre32yBit worrying that the first code example given in the blog isn't valid PHP.Strings are concatenated with the . operator, not +.https://3v4l.org/v9tFNOr in older PHP versions it would output a number (because it would cast the strings to 0).−pavel_lishin2yBut that's an example of something crappy someone would throw together in 1998 and FTP up to their provider of choice.−davekissOP2yShows how long it has been since I've written PHP
Comments
Bit worrying that the first code example given in the blog isn't valid PHP.
Strings are concatenated with the . operator, not +.
https://3v4l.org/v9tFN
Or in older PHP versions it would output a number (because it would cast the strings to 0).
But that's an example of something crappy someone would throw together in 1998 and FTP up to their provider of choice.
Shows how long it has been since I've written PHP