xref: /PHP-7.1/Zend/tests/bug74947.phpt (revision 7af945e2)
1--TEST--
2Bug #74947 (Segfault in scanner on INF number)
3--FILE--
4<?php
5
6echo 200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
7
8echo -200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
9
10?>
11--EXPECTF--
12INF-INF
13