Clicky

Showing code with BBCode


Rendering some text (mostly code) while maintaining all white spacing and indentation within. Also uses a monospaced font (each character takes up the same space).

To find out more about the bbcode tags used on this page, please go to the bbcode tags reference page.

The following bbcode:

[code]
$b = "hello world";
echo $b;
[/code]

Yields this:

$b = "hello world";
echo $b;

 

 

Doesn’t work?

Remember that bbcode tags are implemented to varying degrees and that with many variations. None of this represents strict standards.