rename function for the PHP version switch, issue WPN-XM/WPN-XM#56