Skip to content

Instantly share code, notes, and snippets.

@jancimajek jancimajek/test.php
Last active Nov 10, 2015

Embed
What would you like to do?
PHP Storm 10 quote escaping when copy&paste
<?php
$test = "Copy from here -->" . $foo . "<-- to here and pasting will escape the quotes -->\" . $foo . \"<--";
$test = 'Copy from here -->' . $foo . '<-- to here and pasting will escape the quotes -->\' . $foo . \'<--';
$test = "
lorem ipsum
" . $foo . " // copy this line
\" . $foo . \" // the quotes get escaped on pasting
";
$test = '
lorem ipsum
' . $foo . ' // copy this line
\' . $foo . \' // the single-quotes get escaped on pasting
';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.