Bildad Posted on Jul 1, 2021 What is. $x=5/*+15*/+5; #php #webdev #programming #freelancers Top comments (2) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand Tai Ha Tai Ha Tai Ha Follow Joined Jun 10, 2021 • Jul 6 '21 Dropdown menu Copy link Hide /this is a comment text/ in PHP ; you use a semicolon { ; } to finish the statement. the echo statement prints the var so $x=5*/+15*/+5; is more like $x= 5 + 5; echo $x; /* { 10 } */ Collapse Expand Bildad Bildad Bildad Follow A student with a huge urge to learn programming Email bildadowuor@gmail.com Location Mombasa, Kenya Education Technical university of Mombasa Joined Jun 15, 2021 • Jul 11 '21 Dropdown menu Copy link Hide Thank you for the help Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
/this is a comment text/ in PHP ; you use a semicolon { ; } to finish the statement.
the echo statement prints the var
so $x=5*/+15*/+5;
is more like
$x= 5 + 5;
echo $x; /* { 10 } */
Thank you for the help