#	PHP Alternative Syntax

##	Precis

One of the features of PHP syntax is its use of braces (`{ … }`), aka curly-brackets, curly-braces or alfred-hitchcocks. These braces are used to contain blocks of code, and are historically derived from the older languages BCPL, B and C.

A typical example is something like this:

```php
if(something) {
	//	code
	//	code
} else {
	//	code
	//	code
}
```

The `else` clause above often starts on a new line, but it doesn’t have to. It’s more a question of 

##	PHP Mixed with HTML

You can mix PHP structures with HTML using a pattern like this:

```html
<?php if(something) { >?
	//	code
	//	code
<?php } else { ?>
	//	code
	//	code
<?php } ?>
```

##	PHP Mixed with HTML

You can mix PHP structures with HTML using a pattern like this:

```html
<?php if(something) { >?
	//	code
	//	code
<?php } else { ?>
	//	code
	//	code
<?php } ?>
```
##	PHP Mixed with HTML

You can mix PHP structures with HTML using a pattern like this:

```html
<?php if(something) { >?
	//	code
	//	code
<?php } else { ?>
	//	code
	//	code
<?php } ?>
```
##	PHP Mixed with HTML

You can mix PHP structures with HTML using a pattern like this:

```html
<?php if(something) { >?
	//	code
	//	code
<?php } else { ?>
	//	code
	//	code
<?php } ?>
```
##	PHP Mixed with HTML

You can mix PHP structures with HTML using a pattern like this:

```html
<?php if(something) { >?
	//	code
	//	code
<?php } else { ?>
	//	code
	//	code
<?php } ?>
```
##	PHP Mixed with HTML {#test}

You can mix PHP structures with HTML using a pattern like this:

```html
<?php if(something) { >?
	//	code
	//	code
<?php } else { ?>
	//	code
	//	code
<?php } ?>
```
