Title: Depreceated php4 code in class-simplepie.php
Last modified: August 19, 2016

---

# Depreceated php4 code in class-simplepie.php

 *  [Nordvind](https://wordpress.org/support/users/nordvind/)
 * (@nordvind)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/depreceated-php4-code-in-class-simplepiephp/)
 * I got some warnings bumped (actually plenty of them) because of some deprecated
   code. It must be all about deprecated “=& new” constructors. Strangely enough,
   I found no such ticket on trac.
    Hope it doesn’t mean that PHP4 code is kept 
   on purpose?
 * **P.S.** Cite:
    “Deprecated: Assigning the return value of new by reference is
   deprecated in /home/reconbyf/wp/wp-includes/class-simplepie.php on line 738”

Viewing 1 replies (of 1 total)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 1 month ago](https://wordpress.org/support/topic/depreceated-php4-code-in-class-simplepiephp/#post-2057060)
 * The devs are dropping PHP4 in the next major release of WordPress, so the answer
   today is ‘Yes, PHP4 is kept on purpose’ but also ‘PHP5 will be a requirement 
   soon.’

Viewing 1 replies (of 1 total)

The topic ‘Depreceated php4 code in class-simplepie.php’ is closed to new replies.

## Tags

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

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 1 reply
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/depreceated-php4-code-in-class-simplepiephp/#post-2057060)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
