PHP escape quote bug

<?phpecho'This is some script\'s that requires escaping of quotes...';?>

<?php

echo'This is some script\'s that requires escaping of quotes...';

?>

It shows the blue "'" but it doesn't show the "\"...

It is useful to see the "\" especially in tutorials which I wrote two additional ones (that are awaiting approval by the way ).

It helps to see that those are required there... especially if someone is just copying/pasting the code...

Bogey

Genius

Posts: 8417

Loc: USA

3+ Months Ago

So, there is no possible way that this would be fixed... I consider it to be a bug and it certainly bugs me.

spork

Brewmaster

Posts: 6256

Loc: Seattle, WA

3+ Months Ago

I have to agree here -- the [php] block certainly should be showing the backslash in the code fragments. This could cause a lot of confusion for people who are trying to learn from code segments in threads.

Bigwebmaster

Site Admin

Posts: 9117

Loc: Seattle, WA & Phoenix, AZ

3+ Months Ago

I will have to look into it, this one is more difficult to figure out why its parsing it incorrectly.

Bigwebmaster

Site Admin

Posts: 9117

Loc: Seattle, WA & Phoenix, AZ

3+ Months Ago

Hopefully its fixed, if you see any other bugs as a result of this fix please let me know.