Commit Graph

345 Commits

Author SHA1 Message Date
Scott MacVicar
c7b0abe6aa Fix a bug when var_export() causes a fatal error that could inadvertently display data due to flushing of the output buffer.
Examples include, memory limit, execution time and recursion.
2010-07-09 21:11:37 +00:00
Felipe Pena
b355aa00b0 - Fixed bug #52138 (Constants are parsed into the ini file for section names) 2010-06-24 22:32:42 +00:00
Felipe Pena
5a3a34e3e6 - Fixed bug #52138 (Constants are parsed into the ini file for section names) 2010-06-24 22:32:42 +00:00
Michael Wallner
11d24c1593 * implement new output API, fixing some bugs and implementing some feature
requests--let's see what I can dig out of the bugtracker for NEWS--
  and while crossing the road:
   * implemented new zlib API
   * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)

Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Antony Dovgal
c23d902e0b fix tests 2010-04-29 12:48:06 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Antony Dovgal
19b957b535 fix test 2010-04-26 13:46:40 +00:00
Antony Dovgal
8f2a6d0222 fix test 2010-04-26 13:44:23 +00:00
Antony Dovgal
76b36c0003 fix skipif sections 2010-04-26 13:41:43 +00:00
Pierrick Charron
00209d7966 Update tests related to allow_call_time_pass_reference 2010-04-26 00:27:04 +00:00
Felipe Pena
0a6bcd44a7 - Removed allow_call_time_pass_reference (Pierrick) 2010-04-26 00:13:34 +00:00
Kalle Sommer Nielsen
1e9c9778f5 For real this time :-/ 2010-04-22 22:57:35 +00:00
Kalle Sommer Nielsen
7bccac6dea Fix the sys_getloadavg() test 2010-04-22 22:41:42 +00:00
Kalle Sommer Nielsen
9d395a4a2b Removed import_request_variables(), this is not needed anymore without register_globals 2010-04-21 22:23:55 +00:00
Kalle Sommer Nielsen
febee11285 Removed register_globals 2010-04-21 01:27:22 +00:00
Felipe Pena
f3d312ce87 - Fix tests 2010-04-04 17:21:27 +00:00
Felipe Pena
462580cd7d - Fix tests 2010-04-04 17:21:27 +00:00
Felipe Pena
7561171eca - Fix test 2010-04-04 16:59:20 +00:00
Felipe Pena
49a81742ef - Fix test 2010-04-04 16:57:44 +00:00
Jani Taskinen
af49e58f51 - Reverted r296062 and r296065 2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e MFH: Improved / fixed output buffering (Michael Wallner) 2010-03-11 10:24:29 +00:00
Raphael Geissert
9077a39555 Correct description of getservbyname_basic.phpt (bug #51022) 2010-02-16 05:38:50 +00:00
Jani Taskinen
e6fcefe50a - Fix test 2010-02-13 15:43:45 +00:00
Pierre Joye
15a3c450b7 - those are in 5.3.2 now, merge to 5.3.2 section is coming 2010-02-11 21:17:13 +00:00
Pierre Joye
d0ab70458d - make it work on win, simplify expect using expectf 2010-01-25 13:49:47 +00:00
Pierre Joye
86d5f7fb38 - pls don't add .swp/bak/etc. :) 2010-01-25 09:09:02 +00:00
Pierre Joye
7617d75d92 - fix tests 2010-01-24 14:18:09 +00:00
Pierre Joye
e4065db32b - #50690, putenv does assign value when their length is one char 2010-01-24 13:49:47 +00:00
Pierre Joye
aafd4f5008 - \n or \r\n as phpt are txt file in svn 2010-01-24 12:27:29 +00:00
Pierre Joye
25fb7ecc2b - skip if proc_nice is not available 2010-01-24 12:05:58 +00:00
Ilia Alshanetsky
6254378830 Fixed bug #50732 (exec() adds single byte twice to $output array). 2010-01-13 13:44:58 +00:00
Rasmus Lerdorf
064a419827 Another test that doesn't work as root 2009-11-25 04:00:55 +00:00
Jani Taskinen
91cc127ce4 - Fix bad section names (extra - in the end..) 2009-11-09 17:08:48 +00:00
Ilia Alshanetsky
855e8802bb Fixed test 2009-10-22 19:39:08 +00:00
Rafael Machado Dohms
e91fffb24a Fixing tests for head and wrong SKIPIF blocks 2009-09-29 14:34:06 +00:00
Rafael Machado Dohms
9ba46557e9 Adding tests for bug #49692 2009-09-28 22:57:41 +00:00
Jani Taskinen
4cce432eeb - Move tests in the right location 2009-09-22 09:41:39 +00:00
Dmitry Stogov
d49abc2736 Fixed tests 2009-09-21 11:38:14 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Zoe Slattery
b08e82a736 More tests from 2009 testfest 2009-08-30 12:19:50 +00:00
Zoe Slattery
6a22ec3eda More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery
94039c35b9 Fixed to allow for http etc 2009-08-30 08:18:53 +00:00
Zoe Slattery
0e4ce3bcca More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
andy wharmby
6c56fd6898 New basic tests for uniqid(). Tested on Windows, Linux and Linux 64 bit 2009-08-17 14:22:02 +00:00
Rasmus Lerdorf
6704038c73 More eol crap 2009-08-06 13:31:03 +00:00
Rasmus Lerdorf
97b1247f2f Fix more tests messed up by svn 2009-08-06 13:26:43 +00:00
andy wharmby
8275f0d254 Basic test for is_resource() and isset() functions. tested on Windows, Linux and Linux 64 2009-08-05 16:10:46 +00:00
Jani Taskinen
b053fb5af6 - Add test (yes, it fails still :) 2009-08-04 12:16:40 +00:00
Jani Taskinen
d03720480f - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW) 2009-08-04 02:56:26 +00:00
Jani Taskinen
1c2b8b6abb - cosmetics 2009-08-04 02:34:32 +00:00
Jani Taskinen
ea98d7a72e - Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys) 2009-08-04 02:34:04 +00:00
andy wharmby
4d8d8d73db New basic tests for get_defined_constants(), get_loaded_extensions() and get_resource_type() functions. Tested on Windows, Linux and Linux 64 bit 2009-08-03 23:12:43 +00:00
Gwynne Raskind
3832578522 revert Nuno's commit of my patch 2009-07-20 11:48:04 +00:00
Nuno Lopes
4526eee6db Add support for proc_open()'s bypass_shell feature for Unix systems (slightly modified patch from Gwynne) 2009-07-19 14:52:27 +00:00
Zoe Slattery
d09ab2ab42 Removing unnecessary SKIPIF sections 2009-07-18 13:46:08 +00:00
Alexey Zakhlestin
3e326b91e7 fix tests corrupted by svn's eol-style=native 2009-07-15 13:44:14 +00:00
andy wharmby
93a16cf13a Basic tests for sleep() and usleep(). Tested on Windows, Linux and Linux 64 bit 2009-06-29 07:31:10 +00:00
andy wharmby
791b526c67 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:51 +00:00
Matt Wilmas
26cde1ee2f MFH: Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:25:06 +00:00
Brian Shire
b39f215173 MFH: Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning 2009-06-03 19:37:26 +00:00
Felipe Pena
d64db73483 - Fixed tests 2009-05-05 18:19:16 +00:00
Kalle Sommer Nielsen
5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Sebastian Schürmann
a3a20e29c2 - Initial Commit 2009-04-25 11:29:52 +00:00
Zoe Slattery
c80613cce2 fixing incorrect --CLEAN-- sections 2009-04-16 10:54:45 +00:00
Dmitry Stogov
875a27b7ed Fixed bug #47851 (is_callable throws fatal error) 2009-04-02 09:56:33 +00:00
Arnaud Le Blanc
13061cf0a0 Removed deprecation warning for ticks 2009-03-27 02:32:57 +00:00
Christopher Jones
1d5dbea704 Fix INI blocks 2009-03-17 01:52:52 +00:00
Zoe Slattery
456d5e9381 fixed test 2009-03-04 10:23:01 +00:00
Antony Dovgal
7a4b9d26d7 fix tests 2009-02-15 21:46:01 +00:00
andy wharmby
28073afe56 New set_magic_quotes() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:29:31 +00:00
andy wharmby
dbb272789d New php_uname() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:17:48 +00:00
andy wharmby
7c07a980ed New get_defined_vars(), get_included_files(), get_magic_quotes() and getmypid() tests. Tested on Winows, Linux and Linux 64 2009-02-01 18:55:26 +00:00
andy wharmby
1cdf8160ce New escapeshellarg() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:39:50 +00:00
andy wharmby
9484e82e01 New floatval() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:32:40 +00:00
andy wharmby
4f3a4e597b Split-ip var_export.phpt and add new error tests. Tested on Windows, Linux and Linux 64 bit 2009-01-26 22:27:03 +00:00
andy wharmby
ba1b99e4aa Split is_callable test. Test on Windows, Linux and Linux 64 bit 2009-01-25 22:16:33 +00:00
andy wharmby
4e71f2a5fc New get_extension_funcs() and getrusage() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-24 12:47:25 +00:00
Felipe Pena
5b1026966b - Fixed test 2009-01-17 17:59:51 +00:00
Felipe Pena
6757c0c9fc - Fixed test 2009-01-13 17:08:26 +00:00
Scott MacVicar
b4707a5e02 Some more tests that needed fixed. 2009-01-10 00:51:04 +00:00
Derick Rethans
8ef259994f - MFH: Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject). 2009-01-07 14:36:07 +00:00
Antony Dovgal
543a554da9 fix test 2009-01-04 15:21:56 +00:00
Steve Seear
da35833236 call_user_func_array() tests 2008-12-15 14:11:57 +00:00
Hannes Magnusson
902e9af1c2 Fix test.
You cannot set include_path as empty, and never could
2008-12-09 12:54:01 +00:00
Arnaud Le Blanc
2276e85f13 MFH: Added parse_ini_string() function (grange at lemonde dot fr, Arnaud)
[DOC] new function parse_ini_string()
      proto array parse_ini_string(string ini_string
          [, bool process_sections [, int scanner_mode]])
      Same as parse_ini_file() except that it takes a string instead of a
      filename.
2008-11-05 21:35:02 +00:00
Arnaud Le Blanc
b3d0514b6f Fixed bug #44575 (parse_ini_file comment # line problems)
[DOC] parse_ini_file(): comments starting with # are deprecated in PHP 5.3
      (comments starting with ; should be used instead)
2008-11-02 23:36:10 +00:00
Dmitry Stogov
1474d9dfad Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:16 +00:00
Stanislav Malyshev
530ffde4fd add some windows-style INI entries to tests 2008-09-11 00:34:48 +00:00
Jani Taskinen
80f8ad97fb MFH:- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file) 2008-08-31 00:19:50 +00:00
Felipe Pena
9dda408624 - New test 2008-08-25 19:38:37 +00:00
Jani Taskinen
505ad55773 MFH 2008-08-25 13:42:55 +00:00
Pierre Joye
a7d2377ce4 - MFH: use date.timezone ini setting 2008-08-21 18:36:56 +00:00
Pierre Joye
db31f78801 - MFH: different parser message on windows 2008-08-21 13:05:10 +00:00
Pierre Joye
050e5579f8 - MFH: "fix" crash on windows 2008-08-21 12:38:47 +00:00
Pierre Joye
9d7904932f - MFH: make it portable and clean on in the clean section, session file may still be open (can't be deleted) 2008-08-21 10:30:49 +00:00
Arnaud Le Blanc
dee3bb2371 MFH: Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
2008-08-17 21:55:26 +00:00
Pierre Joye
3dd3da7c72 - MFH: add %a for Compiler/Architecture 2008-08-17 16:44:13 +00:00
Pierre Joye
61c4fee6b0 - [DOC] MFH: improve fix for #43261 for % and " 2008-08-17 15:23:45 +00:00
Pierre Joye
b5e6d487d1 - MFH: fix test (portable), use . as basedir and create the tmp dir in the test directory 2008-08-17 13:07:39 +00:00
Jani Taskinen
803f3011c6 MFH 2008-08-14 23:29:13 +00:00
Dmitry Stogov
af05ce0af6 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:04 +00:00
Antony Dovgal
16ace1828e fix test 2008-07-23 10:26:45 +00:00
Scott MacVicar
d8d69652dd MFH: Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:21:16 +00:00
Hannes Magnusson
ee40f557a7 Fix tests (patch by Lars) 2008-07-21 12:23:38 +00:00
Felipe Pena
c3453925c5 - Deprecate ticks 2008-07-17 19:29:34 +00:00
Dmitry Stogov
833a2295d1 Support for closures 2008-07-17 09:53:42 +00:00
Antony Dovgal
8eeaf9df95 capitalize multibyte support 2008-07-08 08:37:56 +00:00
Antony Dovgal
bd07572494 fix test 2008-07-03 09:46:10 +00:00
Antony Dovgal
63d6d67aa7 fix tests 2008-07-03 07:41:58 +00:00
Felix De Vliegher
048736a907 Tests for ob_get_flush(), testfest task number #131. 2008-06-24 10:31:02 +00:00
Felix De Vliegher
43e8a59ac7 Basic test for ob_get_length(), testfest.php.net task #132 2008-06-22 12:29:41 +00:00
Olivier Hill
dc4bcc901b - New parameter parsing API for var.c & tests 2008-06-20 18:05:45 +00:00
Felipe Pena
5fe790929d - New parameter parsing API 2008-06-20 14:53:57 +00:00
Felipe Pena
d4ddc6d890 - New parameter parsing API 2008-06-20 13:02:33 +00:00
Stanislav Malyshev
5e562853ff fix tests for builtin Zend functions using new parsing API 2008-06-18 23:45:36 +00:00
Lars Strojny
622ac25e81 Testfest: putenv() safe_mode tests by Brian DeShong 2008-06-12 22:36:43 +00:00
Antony Dovgal
b3b5126954 fix test names 2008-05-14 13:04:05 +00:00
Hannes Magnusson
f0b7073308 [DOC] Remove config_get_hash() & and add new boolean parameter to ini_get_all()
to list ini entries key=>current_value like config_get_hash() did.
2008-04-14 15:32:42 +00:00
Nuno Lopes
93c676992d add SKIPIF
# Patch by Christian Hoffmann
2008-04-10 19:13:59 +00:00
Jani Taskinen
a27b306d25 MFH: Missing basic single ini file test (bug #44574) 2008-04-08 12:33:54 +00:00
Jani Taskinen
04ea6d79d5 MFH:- Fixed bug #44667 (proc_open does not handle pipes with the mode "wb" correctly) 2008-04-08 08:42:24 +00:00
Marcus Boerger
736df2fec1 - MFH Add new test 2008-03-21 15:21:38 +00:00
David Soria Parra
6d66530ae9 MFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:52:46 +00:00
Felipe Pena
e0de453954 Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 02:40:57 +00:00
Felipe Pena
9324869ef5 Fix tests (new error message for void parameters) 2008-03-10 22:17:59 +00:00
Etienne Kneuss
e9a6f0f24a MFH: User error handlers no longer catch supressed errors 2008-03-08 22:12:32 +00:00
Jani Taskinen
f6406ae6e9 - Fix test when register_globals=On in php.ini 2008-03-05 12:12:09 +00:00
Felipe Pena
3f40f96c50 Fixed tests 2008-02-26 13:38:43 +00:00
Antony Dovgal
2fb4ea9c4f MFH 2008-02-15 09:35:53 +00:00
Marcus Boerger
f23526528e - MFH Add new test 2008-02-05 19:08:42 +00:00
Jani Taskinen
8a70a554d6 MFH: - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:20 +00:00
Marcus Boerger
1cc463b88a - Fix tests 2008-02-02 15:19:06 +00:00
Rasmus Lerdorf
b9954bef45 Fix some tests 2008-02-02 00:29:17 +00:00
Dmitry Stogov
ed8e2fa031 Added missing warning message 2008-01-10 09:38:23 +00:00
Hannes Magnusson
b9c22f2b1e MFB5.2: Fix test 2007-12-29 11:38:24 +00:00
Dmitry Stogov
2b981769a3 Fixed bug #42868 (Floats cast to integer produce unpredicatable results). (Zoe Slattery) 2007-12-17 10:02:13 +00:00
Ilia Alshanetsky
b0d7f9c3ee WS 2007-12-16 17:28:57 +00:00
Derick Rethans
fdafd5cf81 - MFH: Fixed Bug #42272 (var_export() incorrectly escapes char(0)). 2007-12-09 16:54:52 +00:00
Ilia Alshanetsky
2352647f1f WS 2007-12-06 15:23:36 +00:00
Hannes Magnusson
024fc2c77a MFH: - Add support for optional values
MFH: - Add support for = as seperator
2007-11-21 10:24:22 +00:00
Hannes Magnusson
0aae13f9d2 MFH: Allow numeric options & tests 2007-11-15 13:13:21 +00:00
Hannes Magnusson
c692127ff2 Fix test (getopt() works on windows now) 2007-11-14 15:22:11 +00:00
Hannes Magnusson
35ba8020cd Fixed bug#43293 (Multiple segfaults in getopt()) 2007-11-14 14:42:25 +00:00
Jani Taskinen
b3a334eaf2 Fix tests (MFH) 2007-11-05 17:43:21 +00:00
Jani Taskinen
c2cfed1b32 - Add missing tests from HEAD 2007-11-02 19:42:51 +00:00
Jani Taskinen
a541bb8078 - Fix tests
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Johannes Schlüter
5f15b1ef7a - Fix test 2007-10-01 15:01:47 +00:00
Jani Taskinen
2bc631fb40 MFH:- Added common getopt implementation to core.
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH:  Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+

# Note: Fixed also tests and synced basic_functions.c with HEAD.
2007-10-01 12:40:54 +00:00
Antony Dovgal
cd5b16015e fix test 2007-09-30 14:40:06 +00:00