Hi,

Since PHP version 5.0, clone is a reserved keyword and cannot be invoked as a function.

Found this issue during an incompatibility scan to PHP 5.6

http://php.net/manual/en/reserved.keywords.php
https://github.com/wimg/PHPCompatibility

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jribeiro’s picture

Status: Active » Needs review
FileSize
12.09 KB
badjava’s picture

Status: Needs review » Reviewed & tested by the community

I've been running this patch for over a month on several sites with no issues.

  • japerry committed 5aa6dba on 7.x-1.x authored by jribeiro
    Issue #2533112 by jribeiro: clone should not be invoked as a function
    
japerry’s picture

Status: Reviewed & tested by the community » Fixed

Fixed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.