We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47997d9 commit 8f4db49Copy full SHA for 8f4db49
ext/standard/tests/strings/gh19898.phpt
@@ -0,0 +1,13 @@
1
+--TEST--
2
+GH-19899 (undefined behavior with zend_strtod with large digits as strings)
3
+--INI--
4
+memory_limit=-1
5
+--SKIPIF--
6
+<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
7
+--FILE--
8
+<?php
9
+str_repeat("1", (int)str_repeat("1", 2147483648));
10
+echo "OK"
11
+?>
12
+--EXPECT--
13
+OK
0 commit comments