You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting, I'll have a closer look at this later on and how it treats other undefined ternary operations. Another wonderful difference between JS and PHP :P
Try:
echo 1?: 2;
Expected output: 1
Outputs: undefined
The text was updated successfully, but these errors were encountered: