+ 3

Please explain this?

$x=5/*+15*/+7; echo $x; answer 12

9th Sep 2017, 4:48 AM
Parameshwar Panja
Parameshwar Panja - avatar
3 Respostas
+ 6
It's called, comment pranks. +15 is ignored as comments are not commands that the interpreter listens to
9th Sep 2017, 6:09 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 8
it's 5+7 /*+15*/ is a comment
9th Sep 2017, 4:57 AM
ChaoticDawg
ChaoticDawg - avatar
+ 3
oops sorry I missed it completely..😲😲
9th Sep 2017, 7:58 AM
Parameshwar Panja
Parameshwar Panja - avatar