Title: &lt;?php } ?&gt;
Last modified: August 18, 2016

---

# <?php } ?>

 *  [sevenzen](https://wordpress.org/support/users/sevenzen/)
 * (@sevenzen)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/ltphp-gt/)
 * Can someone tell me what this is ?? If it is anything at all

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Orin](https://wordpress.org/support/users/orin/)
 * (@orin)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/ltphp-gt/#post-322625)
 * In php, you can set conditions for when to do something. For instance, `is_search()`
   in WordPress will be true anytime the page being displayed is a search page. 
   To execute code when it is true you use brackets {}. These brackets can cover
   multiple lines and you can put normal ol’ html in between if you like. For instance:
 * `<?php is_search() { ?>`
 * `<!-- notice no closing bracket -->`
    `You're currently looking at a search page.`
 * `<?php } ?>`
 * So all that inside those will _only display_ when those conditions are true. 
   If you’re interested (which I doubt, since that seemed just an idle question)
   there’s more info [in the Codex](http://codex.wordpress.org/Conditional_Tags).
 * And that’s where lonely brackets come from.
 *  [auctionmaster](https://wordpress.org/support/users/auctionmaster/)
 * (@auctionmaster)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/ltphp-gt/#post-322637)
 * Weird thing, I haven’t seen this construction yet

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘<?php } ?>’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 3 participants
 * Last reply from: [auctionmaster](https://wordpress.org/support/users/auctionmaster/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/ltphp-gt/#post-322637)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
