diff --git a/extensions/php/snippets/php.code-snippets b/extensions/php/snippets/php.code-snippets index 5cc31f19661..3be8a89eb29 100644 --- a/extensions/php/snippets/php.code-snippets +++ b/extensions/php/snippets/php.code-snippets @@ -21,7 +21,7 @@ }, "$a <=> $b": { "prefix": "spaceship", - "body": "(${1:$$a} <=> ${2:$$b} === ${3|0,1,-1|})", + "body": "(${1:\\$a} <=> ${2:\\$b} === ${3|0,1,-1|})", "description": "Spaceship equality check" }, "attribute": {