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

Revision 20116, 304 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 -- Upload error constants
3--FILE--
4<?php
5require_once ('PHP/Compat.php');
6PHP_Compat::loadConstant('UPLOAD_ERR');
7
8echo UPLOAD_ERR_OK, "\n";
9echo UPLOAD_ERR_INI_SIZE, "\n";
10echo UPLOAD_ERR_FORM_SIZE, "\n";
11echo UPLOAD_ERR_PARTIAL, "\n";
12echo UPLOAD_ERR_NO_FILE;
13
14?>
15--EXPECT--
160
171
182
193
204
Note: See TracBrowser for help on using the repository browser.