Visual studio code is very bugged and is showing alot of fake errors.... For example its showing an error if i type <?php, and on the close tag <? its showing an error... why??
Removed before it was archived.
About this post
- Posted
- Archived
- Deleted on
- Score
- 0 Β· 100% up
- Kind
- Text
- ID
- cuspff
10 comments
Going to go out on a limb and say "it's because <? isn't the close tag, it's another variant of the opening tag".
Fucking hell, internals. Are you sure we don't need another vote on this? :-)
Heβs right! ?> is correct not <? π
I wrote it correct some places and some places not, thanks
Thanks for making me smile ;-)
#learntocode
Because you are illiterate.
The closing tag is not recommended in PHP-only scripts and forbidden by RFC
While your second sentence is true that's not the problem. It's because he's using a shorthand opening.
So, it actually proves the first one even more true. Especially taken into account the first sentence in the post title.