xref: /PHP-5.6/tests/lang/bug28800.phpt (revision 6dd2613d)
1--TEST--
2Bug #28800 (Incorrect string to number conversion for strings starting with 'inf')
3--FILE--
4<?php
5	$strings = array('into', 'info', 'inf', 'infinity', 'infin', 'inflammable');
6	foreach ($strings as $v) {
7		echo ($v+0)."\n";
8	}
9?>
10--EXPECT--
110
120
130
140
150
160
17
18