I ran into this about 6 months ago in some code I was working on. I think that calling intval() on any non-empty string should return 1, not 0. Of course, the number of programming languages I’ve written is intval('none').
Capsule, The Developer’s Code Journal
I’m very pleased today to announce the release of Capsule, the developer’s code journal. Capsule replaces the scratch document you have…