Title: php5 doesn&#8217;t like echo $cat; &#8211; alternative?
Last modified: August 19, 2016

---

# php5 doesn’t like echo $cat; – alternative?

 *  [jeffcapeshop](https://wordpress.org/support/users/jeffcapeshop/)
 * (@jeffcapeshop)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/php5-doesnt-like-echo-cat-alternative/)
 * Hi,
 * I’ve got a blog with the following code for rss:
 * `<a href="<?php bloginfo('rss2_url');?>&cat=<?php echo $cat; ?>" title="<?php
   _e('Syndicate this site using RSS'); ?>">rss</a>`
 * this gives a “Catchable fatal error” with php 5. If i remove the $cat; reference,
   it works fine. my poor coding showing me up no doubt!
 * What can i do to fix this issue?
 * thanks,
 * jeff

The topic ‘php5 doesn’t like echo $cat; – alternative?’ is closed to new replies.

## Tags

 * [?cat](https://wordpress.org/support/topic-tag/cat/)
 * [php5](https://wordpress.org/support/topic-tag/php5/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [jeffcapeshop](https://wordpress.org/support/users/jeffcapeshop/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/php5-doesnt-like-echo-cat-alternative/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
