Doc #74276 [Com]: idn_to_ascii() empty

[email protected] ("frank2aol at aol dot com") Fri, 16 Jun 2023 09:47:17 +0000
Newsgroups php.doc.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=74276&edit=1

 ID:                 74276
 Comment by:         frank2aol at aol dot com
 Reported by:        dsk at topaz dot damianek dot be
 Summary:            idn_to_ascii() empty
 Status:             Open
 Type:               Documentation Problem
 Package:            I18N and L10N related
 Operating System:   FreeBSD 11
 PHP Version:        5.6.30
 Block user comment: N
 Private report:     N

 New Comment:

(https://variety.com/wp-content/uploads/2018/09/rexfeatures_9064813mz.jpg?w=1000&h=563&crop=1&resize=1000%2C563)github.com

(https://static01.nyt.com/images/2013/03/31/arts/31PIVEN1_SPAN/31PIVEN1-superJumbo.jpg?quality=75&auto=webp)github.com

(https://www.telegraph.co.uk/content/dam/comedy/2021/10/16/TELEMMGLPICT000145291306_trans_NvBQzQNjv4BqqVzuuqpFlyLIwiB6NTmJwSX5rhseiWKOo9p9OQ-ymek.jpeg?imwidth=960)github.com

(https://images.squarespace-cdn.com/content/v1/5b61f75d506fbecf8655789d/c14cde80-aa2d-453a-bc3e-4964c9149e0d/jeremy-piven.jpg?format=1000w)github.com

(https://static.wikia.nocookie.net/disney/images/d/d7/Jeremy_Piven.jpg/revision/latest?cb=20180726001612)github.com

(https://www.amazon.com/prime-video/actor/Jeremy-Piven/amzn1.dv.gti.785e61d6-1dd8-4777-88c4-b33c24097594/)github.com


Previous Comments:
------------------------------------------------------------------------
[2023-01-02 12:24:45] samira dot akhlaqi314 at gmail dot com

Thanks for sharing. I found a lot of interesting information here.


(https://www.wyndhamrewards.me/)php.net

------------------------------------------------------------------------
[2021-07-18 13:44:07] damianss640 at gmail dot com

The following patch has been added/updated:

Patch Name: android11-qpr1-c-release.json
Revision:   1626615847
URL:        https://bugs.php.net/patch-display.php?bug=74276&patch=android11-qpr1-c-release.json&revision=1626615847

------------------------------------------------------------------------
[2018-05-12 18:37:16] [email protected]

The described situation sounds barely as a PHP issue. With the given ICU configuration, any chroot'ing program would have an issue. PHP is also available with other SAPIs like Apache module, etc. that don't require chroot'ing. The suggestion to extra mount data directory is plausible. The check for an erroneous function output needs to be done in the application, adding a check in a single function for an unusual use case is IMO an overkill. Changing the type to the documentation issue therefore.

@shalom at starltd dot net, your issue seems to be ICU data and version dependent and thus not related to this ticket.

Thanks

------------------------------------------------------------------------
[2018-01-10 20:25:04] shalom at starltd dot net

Hello
also for php7.1.13
I try to use:
echo idn_to_ascii('täst.de'); 
and it's work and show: xn--tst-qla.de
but, when I try to use:
echo idn_to_ascii('בדיקה123.co.il'); 

it's show empty blank page, no error and no value

Regards

------------------------------------------------------------------------
[2017-08-30 16:00:40] matpockuh at gmail dot com

But I agree with "If idn_to_ascii() is empty, show or save in errorlog some E_NOTICE or similar"
It's too hard to find the problematic function without any error/notice messages.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=74276


--
Edit this bug report at https://bugs.php.net/bug.php?id=74276&edit=1