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

Revision 20116, 303 bytes checked in by nanasess, 13 years ago (diff)
  • svn properties を再設定
  • 再設定用のスクリプト追加
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
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.