source: branches/version-2_5-dev/data/module/Compat/tests/constant/php_eol.phpt @ 20119

Revision 20119, 303 bytes checked in by nanasess, 13 years ago (diff)

module 以下は svn:keywords を除外

  • Property svn:eol-style set to LF
Line 
1--TEST--
2Constant -- PHP_EOL
3--SKIPIF--
4<?php if (defined('PHP_EOL')) { echo 'skip'; } ?>
5--FILE--
6<?php
7require_once ('PHP/Compat.php');
8PHP_Compat::loadConstant('PHP_EOL');
9
10if (PHP_EOL == "\n" || PHP_EOL == "\r\n" || PHP_EOL == "\r") {
11    echo 'true';
12} else {
13    echo 'false';
14}
15?>
16--EXPECT--
17true
Note: See TracBrowser for help on using the repository browser.