Skip to content

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.

0 points10 comments
Open on Reddit
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? :-)

5 points

He’s right! ?> is correct not <? πŸ™ƒ

2 points

I wrote it correct some places and some places not, thanks

1 points

Fucking hell, internals. Are you sure we don't need another vote on this? :-)

Thanks for making me smile ;-)

1 points

Because you are illiterate.

The closing tag is not recommended in PHP-only scripts and forbidden by RFC

-3 points

While your second sentence is true that's not the problem. It's because he's using a shorthand opening.

3 points

So, it actually proves the first one even more true. Especially taken into account the first sentence in the post title.

-4 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←orβ†’
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.