Test results for 5.2.5 [failed]

From: Date: Tue, 11 Dec 2007 12:20:12 +0000
Subject: Test results for 5.2.5 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-55729@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #16069 (ICONV transliteration failure) [ext/iconv/tests/bug16069.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] phpinfo() [ext/standard/tests/general_functions/phpinfo.phpt] money_format test [ext/standard/tests/strings/moneyformat.phpt] Test setlocale() function : basic functionality - setting system locale to a specific [ext/standard/tests/strings/setlocale_basic1.phpt] Test setlocale() function : usage variations - setting system locale as null [ext/standard/tests/strings/setlocale_variation4.phpt] Test setlocale() function : usage variations - Setting system locale as empty string [ext/standard/tests/strings/setlocale_variation5.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 54 Exts tested : 25 --------------------------------------------------------------------- Number of tests : 4566 3064 Tests skipped : 1502 ( 32.9%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 7 ( 0.2%) ( 0.2%) Tests passed : 3057 ( 67.0%) ( 99.8%) --------------------------------------------------------------------- Time taken : 194 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #16069 (ICONV transliteration failure) [ext/iconv/tests/bug16069.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] phpinfo() [ext/standard/tests/general_functions/phpinfo.phpt] money_format test [ext/standard/tests/strings/moneyformat.phpt] Test setlocale() function : basic functionality - setting system locale to a specific [ext/standard/tests/strings/setlocale_basic1.phpt] Test setlocale() function : usage variations - setting system locale as null [ext/standard/tests/strings/setlocale_variation4.phpt] Test setlocale() function : usage variations - Setting system locale as empty string [ext/standard/tests/strings/setlocale_variation5.phpt] ===================================================================== ================================================================================ /root/php-5.2.5/ext/iconv/tests/bug16069.phpt ================================================================================ ¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë(¡ë§¥¡ë) ================================================================================ 001+ ¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë(¡ë§¥¡ë) 001- ¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë(¡ë§¥¡ë) ================================================================================ ================================================================================ /root/php-5.2.5/ext/iconv/tests/iconv_stream_filter.phpt ================================================================================ string(20) "1b244224332473244b24" string(10) "41244f1b28" string(2) "42" string(20) "a4b3a4f3a4cba4c1a4cf" string(10) "69636f6e76" string(2) "0a" string(20) "1b244f24332466245824" string(10) "4e24421b28" string(2) "4f" ================================================================================ 007+ string(20) "1b244f24332466245824" 008+ string(10) "4e24421b28" 009+ string(2) "4f" 007- 008- Warning: fread(): iconv stream filter ("ISO-2022-JP"=>"EUC-JP"): invalid multibyte sequence in %s on line %d 009- string(0) "" 010- string(0) "" 011- string(0) "" ================================================================================ ================================================================================ /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.phpt ================================================================================ phpinfo() PHP Version => 5.2.5 System => Linux engondo 2.6.18-5-686 #1 SMP Fri Jun 1 00:47:00 UTC 2007 i686 Build Date => Dec 11 2007 13:11:25 Configure Command => './configure' '--with-apxs2=/opt/apache/bin/apxs' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc' '--enable-ftp' '--with-mysql=/opt/mysql' '--enable-mbstring=all' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /etc Loaded Configuration File => /root/php-5.2.5/tmp-php.ini Scan this dir for additional .ini files => /etc PHP API => 20041225 PHP Extension => 20060613 Zend Extension => 220060519 Debug Build => no Thread Safety => disabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => php, file, data, http, ftp Registered Stream Socket Transports => tcp, udp, unix, udg Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.* This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On allow_url_include => Off => Off always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_globals_jit => On => On auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => STDOUT => STDOUT display_startup_errors => On => On doc_root => no value => no value docref_ext => .html => .html docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => 8191 => 8191 expose_php => On => On extension_dir => /root/php-5.2.5/modules/ => /root/php-5.2.5/modules/ file_uploads => On => On highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font> highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font> highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font> highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font> highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font> highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font> html_errors => Off => Off ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => On include_path => .:/usr/local/lib/php => .:/usr/local/lib/php log_errors => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => On => On magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off mail.force_extra_parameters => no value => no value max_execution_time => 0 => 0 max_input_nesting_level => 64 => 64 max_input_time => -1 => -1 memory_limit => 128M => 128M open_basedir => no value => no value output_buffering => no value => no value output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 realpath_cache_size => 16K => 16K realpath_cache_ttl => 120 => 120 register_argc_argv => On => On register_globals => Off => Off register_long_arrays => On => On report_memleaks => On => On report_zend_debug => Off => Off safe_mode => Off => Off safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => On => On unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend.ze1_compatibility_mode => Off => Off ctype ctype functions => enabled date date/time support => enabled "Olson" Timezone Database Version => 2007.9 Timezone Database => internal Strict Standards: phpinfo(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php on line 2 Default timezone => America/New_York Directive => Local Value => Master Value date.default_latitude => 31.7667 => 31.7667 date.default_longitude => 35.2333 => 35.2333 date.sunrise_zenith => 90.583333 => 90.583333 date.sunset_zenith => 90.583333 => 90.583333 date.timezone => no value => no value dom DOM/XML => enabled DOM/XML API Version => 20031129 libxml Version => 2.6.27 HTML Support => enabled XPath Support => enabled XPointer Support => enabled Schema Support => enabled RelaxNG Support => enabled filter Input Validation and Filtering => enabled Revision => $Revision: 1.52.2.39 $ Directive => Local Value => Master Value filter.default => unsafe_raw => unsafe_raw filter.default_flags => no value => no value ftp FTP support => enabled hash hash support => enabled Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 iconv iconv support => enabled iconv implementation => glibc iconv library version => 2.3.6 Directive => Local Value => Master Value iconv.input_encoding => ISO-8859-1 => ISO-8859-1 iconv.internal_encoding => ISO-8859-1 => ISO-8859-1 iconv.output_encoding => ISO-8859-1 => ISO-8859-1 json json support => enabled json version => 1.2.1 libxml libXML support => active libXML Version => 2.6.27 libXML streams => enabled mbstring Multibyte Support => enabled Multibyte string engine => libmbfl Multibyte (japanese) regex support => enabled Multibyte regex (oniguruma) version => 4.4.4 Multibyte regex (oniguruma) backtrack check => On mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => ISO-8859-1 => no value mbstring.language => neutral => neutral mbstring.strict_detection => Off => Off mbstring.substitute_character => no value => no value mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 5.0.45 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => -I/opt/mysql/include/mysql MYSQL_LIBS => -L/opt/mysql/lib/mysql -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => 60 => 60 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 7.3 2007-08-28 Directive => Local Value => Master Value pcre.backtrack_limit => 100000 => 100000 pcre.recursion_limit => 100000 => 100000 PDO PDO support => enabled PDO drivers => sqlite2, sqlite pdo_sqlite PDO Driver for SQLite 3.x => enabled PECL Module version => (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.2 2007/03/23 14:30:00 wez Exp $ SQLite Library => 3.3.17 posix Revision => $Revision: 1.70.2.3.2.16 $ Reflection Reflection => enabled Version => $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $ session Session Support => enabled Registered save handlers => files user sqlite Registered serializer handlers => php php_binary Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => On => On session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_httponly => Off => Off session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.hash_bits_per_character => 4 => 4 session.hash_function => 0 => 0 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => no value => no value session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => 0 => 0 SimpleXML Simplexml support => enabled Revision => $Revision: 1.151.2.22.2.35 $ Schema support => enabled SPL SPL support => enabled Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException SQLite SQLite support => enabled PECL Module version => 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9 2007/05/19 17:58:22 iliaa Exp $ SQLite Library => 2.8.17 SQLite Encoding => iso8859 Directive => Local Value => Master Value sqlite.assoc_case => 0 => 0 standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active libxml2 Version => 2.6.27 xmlreader XMLReader => enabled xmlwriter XMLWriter => enabled Additional Modules Module Name Environment Variable => Value TEST_PHP_SRCDIR => /root/php-5.2.5 SHELL => /bin/bash TERM => xterm SSH_CLIENT => 81.247.103.70 53783 22 SSH_TTY => /dev/pts/12 USER => root SCRIPT_FILENAME => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php MAKELEVEL => 1 PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin MAIL => /var/mail/root USE_ZEND_ALLOC => 1 _ => /root/php-5.2.5/sapi/cli/php PWD => /root/php-5.2.5 LANG => en_US.UTF-8 TEST_PHP_EXECUTABLE => /root/php-5.2.5/sapi/cli/php REDIRECT_STATUS => 1 PATH_TRANSLATED => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php HOME => /root SHLVL => 3 LOGNAME => root SSH_CONNECTION => 81.247.103.70 53783 195.242.153.48 22 CC => gcc REQUEST_METHOD => GET PHP Variables Variable => Value _SERVER["TEST_PHP_SRCDIR"] => /root/php-5.2.5 _SERVER["SHELL"] => /bin/bash _SERVER["TERM"] => xterm _SERVER["SSH_CLIENT"] => 81.247.103.70 53783 22 _SERVER["SSH_TTY"] => /dev/pts/12 _SERVER["USER"] => root _SERVER["SCRIPT_FILENAME"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php _SERVER["MAKELEVEL"] => 1 _SERVER["PATH"] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin _SERVER["MAIL"] => /var/mail/root _SERVER["USE_ZEND_ALLOC"] => 1 _SERVER["_"] => /root/php-5.2.5/sapi/cli/php _SERVER["PWD"] => /root/php-5.2.5 _SERVER["LANG"] => en_US.UTF-8 _SERVER["TEST_PHP_EXECUTABLE"] => /root/php-5.2.5/sapi/cli/php _SERVER["REDIRECT_STATUS"] => 1 _SERVER["PATH_TRANSLATED"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php _SERVER["HOME"] => /root _SERVER["SHLVL"] => 3 _SERVER["LOGNAME"] => root _SERVER["SSH_CONNECTION"] => 81.247.103.70 53783 195.242.153.48 22 _SERVER["CC"] => gcc _SERVER["REQUEST_METHOD"] => GET _SERVER["PHP_SELF"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php _SERVER["SCRIPT_NAME"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php _SERVER["DOCUMENT_ROOT"] => _SERVER["REQUEST_TIME"] => 1197397058 _SERVER["argv"] => Array ( [0] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php ) _SERVER["argc"] => 1 _ENV["TEST_PHP_SRCDIR"] => /root/php-5.2.5 _ENV["SHELL"] => /bin/bash _ENV["TERM"] => xterm _ENV["SSH_CLIENT"] => 81.247.103.70 53783 22 _ENV["SSH_TTY"] => /dev/pts/12 _ENV["USER"] => root _ENV["SCRIPT_FILENAME"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php _ENV["MAKELEVEL"] => 1 _ENV["PATH"] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin _ENV["MAIL"] => /var/mail/root _ENV["USE_ZEND_ALLOC"] => 1 _ENV["_"] => /root/php-5.2.5/sapi/cli/php _ENV["PWD"] => /root/php-5.2.5 _ENV["LANG"] => en_US.UTF-8 _ENV["TEST_PHP_EXECUTABLE"] => /root/php-5.2.5/sapi/cli/php _ENV["REDIRECT_STATUS"] => 1 _ENV["PATH_TRANSLATED"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php _ENV["HOME"] => /root _ENV["SHLVL"] => 3 _ENV["LOGNAME"] => root _ENV["SSH_CONNECTION"] => 81.247.103.70 53783 195.242.153.48 22 _ENV["CC"] => gcc _ENV["REQUEST_METHOD"] => GET PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net. bool(true) -- Warning: phpinfo() expects parameter 1 to be long, array given in /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php on line 5 NULL -- phpinfo() bool(true) -- phpinfo() PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net. bool(true) ================================================================================ 011+ Scan this dir for additional .ini files => /etc 023+ 025+ Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies 026+ 027+ 031- 032- Additional Modules 036+ allow_call_time_pass_reference => On => On 037+ allow_url_fopen => On => On 038+ allow_url_include => Off => Off 039+ always_populate_raw_post_data => Off => Off 040+ arg_separator.input => & => & 041+ arg_separator.output => & => & 042+ asp_tags => Off => Off 043+ auto_append_file => no value => no value 044+ auto_globals_jit => On => On 045+ auto_prepend_file => no value => no value 046+ browscap => no value => no value 047+ default_charset => no value => no value 048+ default_mimetype => text/html => text/html 049+ define_syslog_variables => Off => Off 050+ disable_classes => no value => no value 051+ disable_functions => no value => no value 052+ display_errors => STDOUT => STDOUT 053+ display_startup_errors => On => On 054+ doc_root => no value => no value 055+ docref_ext => .html => .html 056+ docref_root => no value => no value 057+ enable_dl => On => On 058+ error_append_string => no value => no value 059+ error_log => no value => no value 060+ error_prepend_string => no value => no value 061+ error_reporting => 8191 => 8191 062+ expose_php => On => On 063+ extension_dir => /root/php-5.2.5/modules/ => /root/php-5.2.5/modules/ 064+ file_uploads => On => On 065+ highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font> 066+ highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font> 067+ highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font> 068+ highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font> 069+ highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font> 070+ highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font> 071+ html_errors => Off => Off 072+ ignore_repeated_errors => Off => Off 073+ ignore_repeated_source => Off => Off 074+ ignore_user_abort => Off => Off 075+ implicit_flush => On => On 076+ include_path => .:/usr/local/lib/php => .:/usr/local/lib/php 077+ log_errors => Off => Off 078+ log_errors_max_len => 1024 => 1024 079+ magic_quotes_gpc => On => On 080+ magic_quotes_runtime => Off => Off 081+ magic_quotes_sybase => Off => Off 082+ mail.force_extra_parameters => no value => no value 083+ max_execution_time => 0 => 0 084+ max_input_nesting_level => 64 => 64 085+ max_input_time => -1 => -1 086+ memory_limit => 128M => 128M 087+ open_basedir => no value => no value 088+ output_buffering => no value => no value 089+ output_handler => no value => no value 090+ post_max_size => 8M => 8M 091+ precision => 14 => 14 092+ realpath_cache_size => 16K => 16K 093+ realpath_cache_ttl => 120 => 120 094+ register_argc_argv => On => On 095+ register_globals => Off => Off 096+ register_long_arrays => On => On 097+ report_memleaks => On => On 098+ report_zend_debug => Off => Off 099+ safe_mode => Off => Off 100+ safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin 101+ safe_mode_gid => Off => Off 102+ safe_mode_include_dir => no value => no value 103+ sendmail_from => no value => no value 104+ sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i 105+ serialize_precision => 100 => 100 106+ short_open_tag => On => On 107+ SMTP => localhost => localhost 108+ smtp_port => 25 => 25 109+ sql.safe_mode => Off => Off 110+ track_errors => On => On 111+ unserialize_callback_func => no value => no value 112+ upload_max_filesize => 2M => 2M 113+ upload_tmp_dir => no value => no value 114+ user_dir => no value => no value 115+ variables_order => EGPCS => EGPCS 116+ xmlrpc_error_number => 0 => 0 117+ xmlrpc_errors => Off => Off 118+ y2k_compliance => On => On 119+ zend.ze1_compatibility_mode => Off => Off 036- Environment 040- PHP Variables 044- PHP License 046- bool(true) 047- -- 049- Warning: phpinfo() expects parameter 1 to be long, array given in %sphpinfo.php on line 5 050- NULL 051- -- 052- phpinfo() 053- bool(true) 054- -- 055- phpinfo() 123+ ctype functions => enabled 127+ date/time support => enabled 128+ "Olson" Timezone Database Version => 2007.9 129+ Timezone Database => internal 132+ Default timezone => America/New_York 134+ Directive => Local Value => Master Value 136+ date.default_longitude => 35.2333 => 35.2333 137+ date.sunrise_zenith => 90.583333 => 90.583333 138+ date.sunset_zenith => 90.583333 => 90.583333 139+ date.timezone => no value => no value 140+ 141+ dom 143+ DOM/XML => enabled 144+ DOM/XML API Version => 20031129 145+ libxml Version => 2.6.27 146+ HTML Support => enabled 147+ XPath Support => enabled 148+ XPointer Support => enabled 149+ Schema Support => enabled 150+ RelaxNG Support => enabled 151+ 152+ filter 154+ Input Validation and Filtering => enabled 155+ Revision => $Revision: 1.52.2.39 $ 156+ 157+ Directive => Local Value => Master Value 158+ filter.default => unsafe_raw => unsafe_raw 159+ filter.default_flags => no value => no value 160+ 161+ ftp 162+ 163+ FTP support => enabled 164+ 165+ hash 166+ 167+ hash support => enabled 168+ Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 169+ 170+ iconv 171+ 172+ iconv support => enabled 173+ iconv implementation => glibc 174+ iconv library version => 2.3.6 175+ 176+ Directive => Local Value => Master Value 177+ iconv.input_encoding => ISO-8859-1 => ISO-8859-1 178+ iconv.internal_encoding => ISO-8859-1 => ISO-8859-1 179+ iconv.output_encoding => ISO-8859-1 => ISO-8859-1 180+ 181+ json 182+ 183+ json support => enabled 184+ json version => 1.2.1 185+ 186+ libxml 187+ 188+ libXML support => active 189+ libXML Version => 2.6.27 190+ libXML streams => enabled 191+ 192+ mbstring 193+ 194+ Multibyte Support => enabled 195+ Multibyte string engine => libmbfl 196+ Multibyte (japanese) regex support => enabled 197+ Multibyte regex (oniguruma) version => 4.4.4 198+ Multibyte regex (oniguruma) backtrack check => On 199+ 200+ mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. 201+ 202+ Directive => Local Value => Master Value 203+ mbstring.detect_order => no value => no value 204+ mbstring.encoding_translation => Off => Off 205+ mbstring.func_overload => 0 => 0 206+ mbstring.http_input => pass => pass 207+ mbstring.http_output => pass => pass 208+ mbstring.internal_encoding => ISO-8859-1 => no value 209+ mbstring.language => neutral => neutral 210+ mbstring.strict_detection => Off => Off 211+ mbstring.substitute_character => no value => no value 212+ 213+ mysql 214+ 215+ MySQL Support => enabled 216+ Active Persistent Links => 0 217+ Active Links => 0 218+ Client API version => 5.0.45 219+ MYSQL_MODULE_TYPE => external 220+ MYSQL_SOCKET => /tmp/mysql.sock 221+ MYSQL_INCLUDE => -I/opt/mysql/include/mysql 222+ MYSQL_LIBS => -L/opt/mysql/lib/mysql -lmysqlclient 223+ 224+ Directive => Local Value => Master Value 225+ mysql.allow_persistent => On => On 226+ mysql.connect_timeout => 60 => 60 227+ mysql.default_host => no value => no value 228+ mysql.default_password => no value => no value 229+ mysql.default_port => no value => no value 230+ mysql.default_socket => no value => no value 231+ mysql.default_user => no value => no value 232+ mysql.max_links => Unlimited => Unlimited 233+ mysql.max_persistent => Unlimited => Unlimited 234+ mysql.trace_mode => Off => Off 235+ 236+ pcre 237+ 238+ PCRE (Perl Compatible Regular Expressions) Support => enabled 239+ PCRE Library Version => 7.3 2007-08-28 240+ 241+ Directive => Local Value => Master Value 242+ pcre.backtrack_limit => 100000 => 100000 243+ pcre.recursion_limit => 100000 => 100000 244+ 245+ PDO 246+ 247+ PDO support => enabled 248+ PDO drivers => sqlite2, sqlite 249+ 250+ pdo_sqlite 251+ 252+ PDO Driver for SQLite 3.x => enabled 253+ PECL Module version => (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.2 2007/03/23 14:30:00 wez Exp $ 254+ SQLite Library => 3.3.17 255+ 256+ posix 257+ 258+ Revision => $Revision: 1.70.2.3.2.16 $ 259+ 260+ Reflection 261+ 262+ Reflection => enabled 263+ Version => $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $ 264+ 265+ session 266+ 267+ Session Support => enabled 268+ Registered save handlers => files user sqlite 269+ Registered serializer handlers => php php_binary 270+ 271+ Directive => Local Value => Master Value 272+ session.auto_start => Off => Off 273+ session.bug_compat_42 => On => On 274+ session.bug_compat_warn => On => On 275+ session.cache_expire => 180 => 180 276+ session.cache_limiter => nocache => nocache 277+ session.cookie_domain => no value => no value 278+ session.cookie_httponly => Off => Off 279+ session.cookie_lifetime => 0 => 0 280+ session.cookie_path => / => / 281+ session.cookie_secure => Off => Off 282+ session.entropy_file => no value => no value 283+ session.entropy_length => 0 => 0 284+ session.gc_divisor => 100 => 100 285+ session.gc_maxlifetime => 1440 => 1440 286+ session.gc_probability => 1 => 1 287+ session.hash_bits_per_character => 4 => 4 288+ session.hash_function => 0 => 0 289+ session.name => PHPSESSID => PHPSESSID 290+ session.referer_check => no value => no value 291+ session.save_handler => files => files 292+ session.save_path => no value => no value 293+ session.serialize_handler => php => php 294+ session.use_cookies => On => On 295+ session.use_only_cookies => Off => Off 296+ session.use_trans_sid => 0 => 0 297+ 298+ SimpleXML 299+ 300+ Simplexml support => enabled 301+ Revision => $Revision: 1.151.2.22.2.35 $ 302+ Schema support => enabled 303+ 304+ SPL 305+ 306+ SPL support => enabled 307+ Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject 308+ Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException 309+ 310+ SQLite 311+ 312+ SQLite support => enabled 313+ PECL Module version => 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9 2007/05/19 17:58:22 iliaa Exp $ 314+ SQLite Library => 2.8.17 315+ SQLite Encoding => iso8859 316+ 317+ Directive => Local Value => Master Value 318+ sqlite.assoc_case => 0 => 0 319+ 320+ standard 321+ 322+ Regex Library => Bundled library enabled 323+ Dynamic Library Support => enabled 324+ Path to sendmail => /usr/sbin/sendmail -t -i 325+ 326+ Directive => Local Value => Master Value 327+ assert.active => 1 => 1 328+ assert.bail => 0 => 0 329+ assert.callback => no value => no value 330+ assert.quiet_eval => 0 => 0 331+ assert.warning => 1 => 1 332+ auto_detect_line_endings => 0 => 0 333+ default_socket_timeout => 60 => 60 334+ safe_mode_allowed_env_vars => PHP_ => PHP_ 335+ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH 336+ url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= 337+ user_agent => no value => no value 338+ 339+ tokenizer 340+ 341+ Tokenizer Support => enabled 342+ 343+ xml 344+ 345+ XML Support => active 346+ XML Namespace Support => active 347+ libxml2 Version => 2.6.27 348+ 349+ xmlreader 350+ 351+ XMLReader => enabled 352+ 353+ xmlwriter 354+ 355+ XMLWriter => enabled 356+ 357+ Additional Modules 358+ 359+ Module Name 360+ 361+ Environment 362+ 363+ Variable => Value 364+ TEST_PHP_SRCDIR => /root/php-5.2.5 365+ SHELL => /bin/bash 366+ TERM => xterm 367+ SSH_CLIENT => 81.247.103.70 53783 22 368+ SSH_TTY => /dev/pts/12 369+ USER => root 370+ SCRIPT_FILENAME => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php 371+ MAKELEVEL => 1 372+ PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 373+ MAIL => /var/mail/root 374+ USE_ZEND_ALLOC => 1 375+ _ => /root/php-5.2.5/sapi/cli/php 376+ PWD => /root/php-5.2.5 377+ LANG => en_US.UTF-8 378+ TEST_PHP_EXECUTABLE => /root/php-5.2.5/sapi/cli/php 379+ REDIRECT_STATUS => 1 380+ PATH_TRANSLATED => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php 381+ HOME => /root 382+ SHLVL => 3 383+ LOGNAME => root 384+ SSH_CONNECTION => 81.247.103.70 53783 195.242.153.48 22 385+ CC => gcc 386+ REQUEST_METHOD => GET 387+ 388+ PHP Variables 389+ 390+ Variable => Value 391+ _SERVER["TEST_PHP_SRCDIR"] => /root/php-5.2.5 392+ _SERVER["SHELL"] => /bin/bash 393+ _SERVER["TERM"] => xterm 394+ _SERVER["SSH_CLIENT"] => 81.247.103.70 53783 22 395+ _SERVER["SSH_TTY"] => /dev/pts/12 396+ _SERVER["USER"] => root 397+ _SERVER["SCRIPT_FILENAME"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php 398+ _SERVER["MAKELEVEL"] => 1 399+ _SERVER["PATH"] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 400+ _SERVER["MAIL"] => /var/mail/root 401+ _SERVER["USE_ZEND_ALLOC"] => 1 402+ _SERVER["_"] => /root/php-5.2.5/sapi/cli/php 403+ _SERVER["PWD"] => /root/php-5.2.5 404+ _SERVER["LANG"] => en_US.UTF-8 405+ _SERVER["TEST_PHP_EXECUTABLE"] => /root/php-5.2.5/sapi/cli/php 406+ _SERVER["REDIRECT_STATUS"] => 1 407+ _SERVER["PATH_TRANSLATED"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php 408+ _SERVER["HOME"] => /root 409+ _SERVER["SHLVL"] => 3 410+ _SERVER["LOGNAME"] => root 411+ _SERVER["SSH_CONNECTION"] => 81.247.103.70 53783 195.242.153.48 22 412+ _SERVER["CC"] => gcc 413+ _SERVER["REQUEST_METHOD"] => GET 414+ _SERVER["PHP_SELF"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php 415+ _SERVER["SCRIPT_NAME"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php 416+ _SERVER["DOCUMENT_ROOT"] => 417+ _SERVER["REQUEST_TIME"] => 1197397058 418+ _SERVER["argv"] => Array 419+ ( 420+ [0] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php 421+ ) 422+ 423+ _SERVER["argc"] => 1 424+ _ENV["TEST_PHP_SRCDIR"] => /root/php-5.2.5 425+ _ENV["SHELL"] => /bin/bash 426+ _ENV["TERM"] => xterm 427+ _ENV["SSH_CLIENT"] => 81.247.103.70 53783 22 428+ _ENV["SSH_TTY"] => /dev/pts/12 429+ _ENV["USER"] => root 430+ _ENV["SCRIPT_FILENAME"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php 431+ _ENV["MAKELEVEL"] => 1 432+ _ENV["PATH"] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 433+ _ENV["MAIL"] => /var/mail/root 434+ _ENV["USE_ZEND_ALLOC"] => 1 435+ _ENV["_"] => /root/php-5.2.5/sapi/cli/php 436+ _ENV["PWD"] => /root/php-5.2.5 437+ _ENV["LANG"] => en_US.UTF-8 438+ _ENV["TEST_PHP_EXECUTABLE"] => /root/php-5.2.5/sapi/cli/php 439+ _ENV["REDIRECT_STATUS"] => 1 440+ _ENV["PATH_TRANSLATED"] => /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php 441+ _ENV["HOME"] => /root 442+ _ENV["SHLVL"] => 3 443+ _ENV["LOGNAME"] => root 444+ _ENV["SSH_CONNECTION"] => 81.247.103.70 53783 195.242.153.48 22 445+ _ENV["CC"] => gcc 446+ _ENV["REQUEST_METHOD"] => GET 447+ 450+ it under the terms of the PHP License as published by the PHP Group 451+ and included in the distribution in the file: LICENSE 452+ 453+ This program is distributed in the hope that it will be useful, 454+ but WITHOUT ANY WARRANTY; without even the implied warranty of 455+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 456+ 457+ If you did not receive a copy of the PHP license, or have any 458+ questions about PHP licensing, please contact license@php.net. 460+ -- 461+ 462+ Warning: phpinfo() expects parameter 1 to be long, array given in /root/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php on line 5 463+ NULL 464+ -- 465+ phpinfo() 466+ bool(true) 467+ -- 468+ phpinfo() 469+ 470+ PHP License 471+ This program is free software; you can redistribute it and/or modify 472+ it under the terms of the PHP License as published by the PHP Group 473+ and included in the distribution in the file: LICENSE 474+ 475+ This program is distributed in the hope that it will be useful, 476+ but WITHOUT ANY WARRANTY; without even the implied warranty of 477+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 478+ 479+ If you did not receive a copy of the PHP license, or have any 480+ questions about PHP licensing, please contact license@php.net. 481+ bool(true) ================================================================================ ================================================================================ /root/php-5.2.5/ext/standard/tests/strings/moneyformat.phpt ================================================================================ string(6) "X3.14Y" Warning: money_format(): Only a single %i or %n token can be used in /root/php-5.2.5/ext/standard/tests/strings/moneyformat.php on line 4 bool(false) ================================================================================ 001+ string(6) "X3.14Y" 001- string(7) "X$3.14Y" ================================================================================ ================================================================================ /root/php-5.2.5/ext/standard/tests/strings/setlocale_basic1.phpt ================================================================================ *** Testing setlocale() : basic functionality - set to a specific locale *** Setting system locale(LC_ALL) to Checking currency settings in the new locale, expected: EUR, Found: Test FAILED. Done ================================================================================ 003+ Test FAILED. 003- string(%d) %s 004- Checking currency settings in the new locale, expected: %s, Found: %s 005- Test PASSED. ================================================================================ ================================================================================ /root/php-5.2.5/ext/standard/tests/strings/setlocale_variation4.phpt ================================================================================ *** Testing setlocale() : usage variations - Setting system locale = null *** Locale info, before setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(0) { } ["mon_grouping"]=> array(0) { } } Setting system locale, category = LC_ALL and locale = null Locale info, after setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(1) "," ["int_curr_symbol"]=> string(4) "USD " ["currency_symbol"]=> string(1) "$" ["mon_decimal_point"]=> string(1) "." ["mon_thousands_sep"]=> string(1) "," ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(1) "-" ["int_frac_digits"]=> int(2) ["frac_digits"]=> int(2) ["p_cs_precedes"]=> int(1) ["p_sep_by_space"]=> int(0) ["n_cs_precedes"]=> int(1) ["n_sep_by_space"]=> int(0) ["p_sign_posn"]=> int(1) ["n_sign_posn"]=> int(1) ["grouping"]=> array(2) { [0]=> int(3) [1]=> int(3) } ["mon_grouping"]=> array(2) { [0]=> int(3) [1]=> int(3) } } Checking new locale in the system, Expected : the locale names will be set from the values of environment variables Test PASSED. Done ================================================================================ 007+ string(0) "" 007- string(1) "," 009+ string(0) "" 009- string(4) "AUD " 011+ string(0) "" 011- string(1) "$" 013+ string(0) "" 013- string(1) "." 015+ string(0) "" 015- string(1) "," 019+ string(0) "" 019- string(1) "-" 021+ int(127) 021- int(2) 023+ int(127) 023- int(2) 025+ int(127) 025- int(1) 027+ int(127) 027- int(0) 029+ int(127) 029- int(1) 031+ int(127) 031- int(0) 033+ int(127) 033- int(1) 035+ int(127) 035- int(1) 037+ array(0) { 037- array(2) { 038- [0]=> 039- int(3) 040- [1]=> 041- int(3) 040+ array(0) { 044- array(2) { 045- [0]=> 046- int(3) 047- [1]=> 048- int(3) ================================================================================ ================================================================================ /root/php-5.2.5/ext/standard/tests/strings/setlocale_variation5.phpt ================================================================================ *** Testing setlocale() : usage variations - setting system locale = "" *** Locale info, before setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(0) { } ["mon_grouping"]=> array(0) { } } Setting system locale, category = LC_ALL and locale = "" Locale info, after setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(1) "," ["int_curr_symbol"]=> string(4) "USD " ["currency_symbol"]=> string(1) "$" ["mon_decimal_point"]=> string(1) "." ["mon_thousands_sep"]=> string(1) "," ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(1) "-" ["int_frac_digits"]=> int(2) ["frac_digits"]=> int(2) ["p_cs_precedes"]=> int(1) ["p_sep_by_space"]=> int(0) ["n_cs_precedes"]=> int(1) ["n_sep_by_space"]=> int(0) ["p_sign_posn"]=> int(1) ["n_sign_posn"]=> int(1) ["grouping"]=> array(2) { [0]=> int(3) [1]=> int(3) } ["mon_grouping"]=> array(2) { [0]=> int(3) [1]=> int(3) } } Checking new locale in the system, Expected : the locale names will be set from the values of environment variables Test PASSED. Done ================================================================================ 007+ string(0) "" 007- string(1) "," 009+ string(0) "" 009- string(4) "AUD " 011+ string(0) "" 011- string(1) "$" 013+ string(0) "" 013- string(1) "." 015+ string(0) "" 015- string(1) "," 019+ string(0) "" 019- string(1) "-" 021+ int(127) 021- int(2) 023+ int(127) 023- int(2) 025+ int(127) 025- int(1) 027+ int(127) 027- int(0) 029+ int(127) 029- int(1) 031+ int(127) 031- int(0) 033+ int(127) 033- int(1) 035+ int(127) 035- int(1) 037+ array(0) { 037- array(2) { 038- [0]=> 039- int(3) 040- [1]=> 041- int(3) 040+ array(0) { 044- array(2) { 045- [0]=> 046- int(3) 047- [1]=> 048- int(3) ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux engondo 2.6.18-5-686 #1 SMP Fri Jun 1 00:47:00 UTC 2007 i686 Autoconf: Bundled Libtool: ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. System Libtool: N/A Compiler: Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Bison: Libraries: linux-gate.so.1 => (0xffffe000) libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0x4001e000) librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x4004d000) libmysqlclient.so.15 => /opt/mysql/lib/mysql/libmysqlclient.so.15 (0x40056000) libz.so.1 => /usr/lib/libz.so.1 (0x400ba000) libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0x400ce000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x400e1000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x40106000) libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0x4010b000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0x40121000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x4023b000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x4036c000) /lib/ld-linux.so.2 (0x40000000) User's E-mail: wimmarien at gmail dot com ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.2.5 System => Linux engondo 2.6.18-5-686 #1 SMP Fri Jun 1 00:47:00 UTC 2007 i686 Build Date => Dec 11 2007 13:11:25 Configure Command => './configure' '--with-apxs2=/opt/apache/bin/apxs' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc' '--enable-ftp' '--with-mysql=/opt/mysql' '--enable-mbstring=all' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /etc Loaded Configuration File => (none) Scan this dir for additional .ini files => /etc PHP API => 20041225 PHP Extension => 20060613 Zend Extension => 220060519 Debug Build => no Thread Safety => disabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => php, file, data, http, ftp Registered Stream Socket Transports => tcp, udp, unix, udg Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.* This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On allow_url_include => Off => Off always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_globals_jit => On => On auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => STDOUT => STDOUT display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => no value => no value expose_php => On => On extension_dir => /usr/local/lib/php/extensions/no-debug-non-zts-20060613 => /usr/local/lib/php/extensions/no-debug-non-zts-20060613 file_uploads => On => On highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font> highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font> highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font> highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font> highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font> highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font> html_errors => Off => Off ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => On include_path => .:/usr/local/lib/php => .:/usr/local/lib/php log_errors => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => On => On magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off mail.force_extra_parameters => no value => no value max_execution_time => 0 => 0 max_input_nesting_level => 64 => 64 max_input_time => -1 => -1 memory_limit => 128M => 128M open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 realpath_cache_size => 16K => 16K realpath_cache_ttl => 120 => 120 register_argc_argv => On => On register_globals => Off => Off register_long_arrays => On => On report_memleaks => On => On report_zend_debug => Off => Off safe_mode => Off => Off safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend.ze1_compatibility_mode => Off => Off ctype ctype functions => enabled date date/time support => enabled "Olson" Timezone Database Version => 2007.9 Timezone Database => internal Default timezone => America/New_York Directive => Local Value => Master Value date.default_latitude => 31.7667 => 31.7667 date.default_longitude => 35.2333 => 35.2333 date.sunrise_zenith => 90.583333 => 90.583333 date.sunset_zenith => 90.583333 => 90.583333 date.timezone => no value => no value dom DOM/XML => enabled DOM/XML API Version => 20031129 libxml Version => 2.6.27 HTML Support => enabled XPath Support => enabled XPointer Support => enabled Schema Support => enabled RelaxNG Support => enabled filter Input Validation and Filtering => enabled Revision => $Revision: 1.52.2.39 $ Directive => Local Value => Master Value filter.default => unsafe_raw => unsafe_raw filter.default_flags => no value => no value ftp FTP support => enabled hash hash support => enabled Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 iconv iconv support => enabled iconv implementation => glibc iconv library version => 2.3.6 Directive => Local Value => Master Value iconv.input_encoding => ISO-8859-1 => ISO-8859-1 iconv.internal_encoding => ISO-8859-1 => ISO-8859-1 iconv.output_encoding => ISO-8859-1 => ISO-8859-1 json json support => enabled json version => 1.2.1 libxml libXML support => active libXML Version => 2.6.27 libXML streams => enabled mbstring Multibyte Support => enabled Multibyte string engine => libmbfl Multibyte (japanese) regex support => enabled Multibyte regex (oniguruma) version => 4.4.4 Multibyte regex (oniguruma) backtrack check => On mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => ISO-8859-1 => no value mbstring.language => neutral => neutral mbstring.strict_detection => Off => Off mbstring.substitute_character => no value => no value mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 5.0.45 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => -I/opt/mysql/include/mysql MYSQL_LIBS => -L/opt/mysql/lib/mysql -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => 60 => 60 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 7.3 2007-08-28 Directive => Local Value => Master Value pcre.backtrack_limit => 100000 => 100000 pcre.recursion_limit => 100000 => 100000 PDO PDO support => enabled PDO drivers => sqlite2, sqlite pdo_sqlite PDO Driver for SQLite 3.x => enabled PECL Module version => (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.2 2007/03/23 14:30:00 wez Exp $ SQLite Library => 3.3.17 posix Revision => $Revision: 1.70.2.3.2.16 $ Reflection Reflection => enabled Version => $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $ session Session Support => enabled Registered save handlers => files user sqlite Registered serializer handlers => php php_binary Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => On => On session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_httponly => Off => Off session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.hash_bits_per_character => 4 => 4 session.hash_function => 0 => 0 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => no value => no value session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => 0 => 0 SimpleXML Simplexml support => enabled Revision => $Revision: 1.151.2.22.2.35 $ Schema support => enabled SPL SPL support => enabled Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException SQLite SQLite support => enabled PECL Module version => 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9 2007/05/19 17:58:22 iliaa Exp $ SQLite Library => 2.8.17 SQLite Encoding => iso8859 Directive => Local Value => Master Value sqlite.assoc_case => 0 => 0 standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active libxml2 Version => 2.6.27 xmlreader XMLReader => enabled xmlwriter XMLWriter => enabled Additional Modules Module Name Environment Variable => Value TEST_PHP_SRCDIR => /root/php-5.2.5 SHELL => /bin/bash TERM => xterm MAKEFLAGS => SSH_CLIENT => deleted SSH_TTY => deleted USER => root SSH_AUTH_SOCK => deleted MAKELEVEL => 1 MFLAGS => PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin MAIL => /var/mail/root _ => /root/php-5.2.5/sapi/cli/php PWD => /root/php-5.2.5 LANG => en_US.UTF-8 TEST_PHP_EXECUTABLE => /root/php-5.2.5/sapi/cli/php HOME => /root SHLVL => 3 LOGNAME => root SSH_CONNECTION => deleted CC => gcc PHP Variables Variable => Value _SERVER["TEST_PHP_SRCDIR"] => /root/php-5.2.5 _SERVER["SHELL"] => /bin/bash _SERVER["TERM"] => xterm _SERVER["MAKEFLAGS"] => _SERVER["SSH_CLIENT"] => deleted _SERVER["SSH_TTY"] => deleted _SERVER["USER"] => root _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["MAKELEVEL"] => 1 _SERVER["MFLAGS"] => _SERVER["PATH"] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin _SERVER["MAIL"] => /var/mail/root _SERVER["_"] => /root/php-5.2.5/sapi/cli/php _SERVER["PWD"] => /root/php-5.2.5 _SERVER["LANG"] => en_US.UTF-8 _SERVER["TEST_PHP_EXECUTABLE"] => /root/php-5.2.5/sapi/cli/php _SERVER["HOME"] => /root _SERVER["SHLVL"] => 3 _SERVER["LOGNAME"] => root _SERVER["SSH_CONNECTION"] => deleted _SERVER["CC"] => gcc _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["REQUEST_TIME"] => 1197397190 _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["TEST_PHP_SRCDIR"] => /root/php-5.2.5 _ENV["SHELL"] => /bin/bash _ENV["TERM"] => xterm _ENV["MAKEFLAGS"] => _ENV["SSH_CLIENT"] => deleted _ENV["SSH_TTY"] => deleted _ENV["USER"] => root _ENV["SSH_AUTH_SOCK"] => deleted _ENV["MAKELEVEL"] => 1 _ENV["MFLAGS"] => _ENV["PATH"] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin _ENV["MAIL"] => /var/mail/root _ENV["_"] => /root/php-5.2.5/sapi/cli/php _ENV["PWD"] => /root/php-5.2.5 _ENV["LANG"] => en_US.UTF-8 _ENV["TEST_PHP_EXECUTABLE"] => /root/php-5.2.5/sapi/cli/php _ENV["HOME"] => /root _ENV["SHLVL"] => 3 _ENV["LOGNAME"] => root _ENV["SSH_CONNECTION"] => deleted _ENV["CC"] => gcc PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.

« previous php.qa (#55729) next »