19.07.2018, 06:08
Quote:
TIL
This works PHP код:
People are saying that if(arr[1 || 2]) is invalid syntax... But today I checked it works. |
Код:
new array[2] = {0, 0}; if (array[0 || 1]) { print("Yeah, it works."); }
TIL
This works PHP код:
People are saying that if(arr[1 || 2]) is invalid syntax... But today I checked it works. |
new array[2] = {0, 0}; if (array[0 || 1]) { print("Yeah, it works."); }