Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87068 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97784 invoked from network); 8 Jul 2015 07:50:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2015 07:50:08 -0000 Authentication-Results: pb1.pair.com header.from=netmo.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=netmo.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.181 as permitted sender) X-PHP-List-Original-Sender: netmo.php@gmail.com X-Host-Fingerprint: 209.85.213.181 mail-ig0-f181.google.com Received: from [209.85.213.181] ([209.85.213.181:33612] helo=mail-ig0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BF/92-16503-F26DC955 for ; Wed, 08 Jul 2015 03:50:08 -0400 Received: by iggp10 with SMTP id p10so15957979igg.0 for ; Wed, 08 Jul 2015 00:50:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5LPGrouNnqQE/2VIPyRu6utbLVpAfCB8/oJHcikcwrU=; b=vTD2zJrFVaDd4UMwWObwnUwgAssF6416H5wN2BQB4UrjP5eJ7ueomxRFu5sp+N9K4i Z4HpvVLtO8ImTyQeUdm5wFfgczN7uiXWVTeggyA7mI6Xjb0aX9c5oG3kIYN60Wawzw+C xLRwzAjUGyQ9qEUnTTxpouS3UTKkXNAbze2bzLHDdj6AmHa3rGQr8S0Os4tWwW/yAgtw geQ7F7KqGW4gm6LRPMVas33W6vynNbcpPVUrZCtKfzcWozYUfjb9KT3wF/+3Gky6DFob HT2WMNLK2I+j4aWEz3ONLdDIxMjOs01CaM2V81UeVHY8z8QvkBmU+zWj0exa5O/iy5rR lQhw== MIME-Version: 1.0 X-Received: by 10.50.110.3 with SMTP id hw3mr58418218igb.20.1436341803585; Wed, 08 Jul 2015 00:50:03 -0700 (PDT) Received: by 10.107.137.25 with HTTP; Wed, 8 Jul 2015 00:50:03 -0700 (PDT) Date: Wed, 8 Jul 2015 09:50:03 +0200 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=089e013cbd50fa95a4051a5862e9 Subject: Change IntlChar::getNumericValue() to return something less horrible when the char is not numeric? From: netmo.php@gmail.com (Net Mo) --089e013cbd50fa95a4051a5862e9 Content-Type: text/plain; charset=UTF-8 ICU documentation: http://icu-project.org/apiref/icu4c/uchar_8h.html#a36982efc84143b9bb5a11bf54b86af48 Currently the PHP function returns the U_NO_NUMERIC_VALUE constant, which is set to the very weird "float(-123456789)"; basically it's a value that it's certain it doesn't have an Unicode numeric character equivalent counterpart. I would change the function to return NULL instead; what do you think? --089e013cbd50fa95a4051a5862e9--