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

Revision 20116, 331 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 -- DIRECTORY_SEPARATOR
3--SKIPIF--
4<?php if (defined('DIRECTORY_SEPARATOR')) { echo 'skip'; } ?>
5--FILE--
6<?php
7require_once ('PHP/Compat.php');
8PHP_Compat::loadConstant('DIRECTORY_SEPARATOR');
9
10echo (DIRECTORY_SEPARATOR == '\\' || DIRECTORY_SEPARATOR == '/') ?
11        'true' :
12        'false';
13?>
14--EXPECT--
15true
Note: See TracBrowser for help on using the repository browser.