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
When ?> exist in a comment or string, the PHP breaks.
The expected result should be the same as the input.
Before:
<?php//this does not get formatted.
define("cars", [
"Alfa Romeo",
"BMW", //this "?>" will break the PHP.
"Toyota"
]);
//this get formatted. <h1 class="">
echo cars[0];
?>
After:
<?php//this does not get formatted.
define("cars", [
"Alfa Romeo",
"BMW", //this "?>" will break the PHP. "Toyota" ]); //this get formatted.<h1>echo cars[0]; ?>
The text was updated successfully, but these errors were encountered:
When
?>
exist in a comment or string, the PHP breaks.The expected result should be the same as the input.
Before:
After:
The text was updated successfully, but these errors were encountered: