|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	| 
		
			| New PHPBB exploit out...don't bother trying it here [message #142284] | Sun, 06 March 2005 17:01   |  
			| 
				
				
					|  flyingfox Messages: 1612
 Registered: February 2003
 Location: scotland, uk
 
	Karma: 0
 | General (1 Star) |  |  |  
	| But couldn't you turn on 'option strict' (dunno what it is in php) to prevent the convertion from integer to string?? 
 
 | Quote: |  | PHP does automatic type switching in the case of "==" so the 0 integer would automatically be converted to a string of "0" and be false.
 
 | 
 |  
	|  |  | 
	|  | 
	| 
		
			| New PHPBB exploit out...don't bother trying it here [message #142292] | Sun, 06 March 2005 17:38   |  
			| 
				
				
					|  flyingfox Messages: 1612
 Registered: February 2003
 Location: scotland, uk
 
	Karma: 0
 | General (1 Star) |  |  |  
	| I read & understood most of it...so in conclusion, you can juggle between data types in PHP but you can't prevent PHP from automatic juggling (converting)? All I was asking really, as in visual basic you can stop automatic conversions using option strict on to gain more control over what's happening in the code |  
	|  |  | 
	|  |