diff options
Diffstat (limited to 'Zend/tests/bug74947.phpt')
-rw-r--r-- | Zend/tests/bug74947.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/tests/bug74947.phpt b/Zend/tests/bug74947.phpt new file mode 100644 index 0000000000..e66d292971 --- /dev/null +++ b/Zend/tests/bug74947.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #74947 (Segfault in scanner on INF number) +--FILE-- +<?php + +echo 200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; + +echo -200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; + +?> +--EXPECTF-- +INF-INF |