Assume private visibility for all class members by default.
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				 The build was successful.
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	 The build was successful.
				
			In most (all?) modern OOP languages class members visibility is assumed to be private and programmer has to consciously set it to public or protected. PHP has the different approach what can cause a security flaws in written scripts. AerScript will not follow this way, as it seems to be conceptually broken.
This commit is contained in:
		| @@ -14,7 +14,7 @@ class Program { | ||||
| 		return strtr($str, $table); | ||||
| 	} | ||||
|  | ||||
| 	void main() { | ||||
| 	public void main() { | ||||
| 		var_dump($this->normalize("ÿĆ Welcome ÂëÑ Žöø Ŕ")); | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user