Hi,
I miscoded an if statement and i used a single & instead of && , it never gave me an error. I was curious does PHP assume && in that case?
for example:
PHP Code:
if($val == $newval && $oldval != $whatever & $oldval != $whatelse)
{
//do something
}
now with that missing & does the php assume &&, also does the whole statement fail?
i am hoping that it assumes && because no error was received.
برچسب:
نویسنده: آیلین رضوانی
تاريخ: جمعه
22 دی
1396 ساعت: 5:14