News for hackers. Stuff that matters.
Re:We don't need runtime type checks by onaworkcomputer on Thursday March 03, 2022 @03:32PM (#30546544)
Rasmus borrowed this distinction from Larry Wall, since PHP was originally implemented in Perl (which also uses + for addition and . for string concatenation).

The neat thing about PHP and the + operator is that you can sometimes trick the interpreter into doing math on the underlying bytes of the string: http://dominic-mulligan.co.uk/wp-content/uploads/2015/05/SRE...

There are no comments on this comment yet.