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

Revision 20119, 356 bytes checked in by nanasess, 15 years ago (diff)

module 以下は svn:keywords を除外

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