While using an 'if' statement to check whether a variable is an empty string or not we can write it in two ways i.e. if('' == $variable) and if($variable == ''). I want to know what is the impact of above in different cases?Thanks in advance!!
What is the difference between if('' == $variable) and if($variable == '')
programming languages;conditions