[SP]| somevar != someconst ? return -7 : null | and got invalid expresion
Hi there!
|Read the title| Any clean workarounds? |
Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
PHP Code:
|
Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
Quote:
somevar != someconst ? return -7 : null I don't want to assign values, retrun and null are supposed to be expressions. I could just do and it's even simpler Code:
if (somevar != someconst) |
Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
PHP Code:
|
Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
can't have statements there o.o
|
Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
Quote:
|
Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
Quote:
|
Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
Quote:
Code:
somevar != someconst ? return -7 : somevar = somevar |
Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
you can't :V
|
Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
Quote:
PHP Code:
|
All times are GMT -4. The time now is 10:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.