PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_IDNA » Bug #5470

PHP4 variant of the class Net_IDNA fails to include

Details

Submitted2005-09-21 08:39 UTC
Fromtimo dot hummel at 4fb dot de
Assignedmso
StatusClosed
PackageNet_IDNA
PHP Version4.4.0
OSirrelevant
Roadmaps(Not assigned)

Comments

[2005-09-21 08:39 UTC] timo dot hummel at 4fb dot de

Description:
------------
Test Environment:

Package Stable/(Latest) Local
Net_IDNA 0.7.1/(0.7.1beta) 0.7.1 Punycode encoding and decoding.

When using with PHP4, PHP can't find the class idna_convert in Net/IDNA/php4.php as Net_IDNA wants to extend it. Additionally, Net_IDNA is already defined in Net/IDNA.php.

My solution was to remove the duplicate class Net_IDNA at the end of Net/IDNA/php4.php

[2005-10-04 08:53 UTC] timo dot hummel at 4fb dot de

Can you provide more information for this bug entry, e.g. why it was closed and if the bug has been corrected?

[2005-10-04 19:40 UTC] mso at php dot net

The bug has been fixed with thte last release of Net_IDNA, where the repsective constructors of the version related classes have been adopted.