News for hackers. Stuff that matters.
Re:Taking PHP Seriously [pdf] by pests on Friday September 27, 2013 @10:28PM (#6460637)
As a PHP developer I entirely assume that is going to print 8. I'm sure every PHP developer has had it happen or ran across it in the manual: when strings are forced into int positions PHP uses the numbers from the front of the string. Its unexpected, but consistent.
Re:Taking PHP Seriously [pdf] by rhizome on Friday September 27, 2013 @10:34PM (#6460650)
Keying it to an int via the tip of the string? Let's call it iceberg-typing.