View Single Post
Old 06-01-2014, 03:18 PM  
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,620
Quote:
Originally Posted by pornmasta View Post
There is no reason for a string position to be negative.
Duh, yeah, that's why people try to use it as false.
PERL actually returns -1 for false for some functions so people think they can use it in php.
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote