You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP allows multiline strings.
That means including newlines and carriage returns into single quote or double quote delimited strings will not break them.
Example:
<?php
$test = "This multiline string should
not break";
$msg = 'Happy coding to everybody,
welcome to the Prism.js project!';
?>
In Prism.js multiline strings break, either delimited with single or double quotes: Demo on jsfiddle
The text was updated successfully, but these errors were encountered:
PHP allows multiline strings.
That means including newlines and carriage returns into single quote or double quote delimited strings will not break them.
Example:
In Prism.js multiline strings break, either delimited with single or double quotes:
Demo on jsfiddle
The text was updated successfully, but these errors were encountered: