Doc #72841 [Ver->Csd]: [DE] is_numeric does not accept hex, binary in PHP 7+

From: Date: Mon, 15 Aug 2016 11:58:18 +0000
Subject: Doc #72841 [Ver->Csd]: [DE] is_numeric does not accept hex, binary in PHP 7+
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13819@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72841&edit=1 ID: 72841 Updated by: cmb@php.net Reported by: requinix@php.net Summary: [DE] is_numeric does not accept hex, binary in PHP 7+ -Status: Verified +Status: Closed Type: Documentation Problem Package: Translation problem PHP Version: Irrelevant Assigned To: cmb Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2016-08-15 11:58:03] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=339884 Log: Fix #72841: [DE] is_numeric does not accept hex, binary in PHP 7+ Actually, sync with EN ------------------------------------------------------------------------ [2016-08-15 11:56:39] cmb@php.net Indeed, the German translation of is_numeric() is not up-to-date[1]. > ...it occurs to me that all these new bugs will be about > removing text, so even a non-speaker could fix them all. Oh > well. That may be possible, but that might only partially sync the translation with the English original, what might later be confusing for a translator who wants to actually sync with EN. Therefore I would suggest not to touch the translations, unless there's an urgent need (such as security related documentation). An alternative might be too remove the out-dated page from the respective translation, so the doc build system will use the English original. Note also that there are tools[2] which can (actually, should) be used by the translators to notice out-dated translations. [1] <http://svn.php.net/viewvc/phpdoc/en/trunk/reference/var/functions/is-numeric.xml?r1=329674&r2=339702> [2] <http://doc.php.net/revcheck.php?p=files&lang=de> <https://edit.php.net/> ------------------------------------------------------------------------ [2016-08-15 10:54:39] requinix@php.net Description: ------------ Re: bug #72839 "Hexadezimale (z.B. 0xf4c3b00c), binäre (z.B. 0b10100111001) und oktale Schreibweise (z.B. 0777) sind ebenfalls erlaubt aber nur ohne Vorzeichen, Dezimalstellen und Exponentialpart." Additionally, octal should not be mentioned as is_numeric only handles decimal and will not refuse an invalid octal string like 0789. http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.strings.hex https://wiki.php.net/rfc/remove_hex_support_in_numeric_strings ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72841&edit=1

« previous php.doc.bugs (#13819) next »