1--TEST--
2auto_detect_line_endings --INI-- bool
3--INI--
4auto_detect_line_endings=on
5--STDIN--
6fooBar1
6fooBar2
6fooBar3
7--FILE--
8<?php
9
10var_dump(ini_get("auto_detect_line_endings"));
11
12var_dump(fgets(STDIN));
13var_dump(fgets(STDIN));
14var_dump(fgets(STDIN));
15
16echo "Done\n";
17?>
18--EXPECT--
19Deprecated: auto_detect_line_endings is deprecated in Unknown on line 0
20string(1) "1"
21string(8) "fooBar1
21"
22string(8) "fooBar2
22"
23string(8) "fooBar3
24"
25Done
26