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

Comments

badjava created an issue. See original summary.

badjava’s picture

Status: Active » Needs review
StatusFileSize
new1.42 KB

Here is the patch.

damienmckenna’s picture

Status: Needs review » Fixed
Parent issue: » #2855120: Plan for Views 7.x-3.16 release

Committed. Thanks.

  • DamienMcKenna committed 478357d on 7.x-3.x authored by badjava
    Issue #2564595 by badjava: "clone" is a reserved keyword introduced in...

Status: Fixed » Closed (fixed)

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