Commit Graph

576 Commits

Author SHA1 Message Date
Hannes Magnusson
d800809da4 This is apparently fixed 2009-04-06 13:16:05 +00:00
David Coallier
2e5f11b841 - Fixed bug #46897: ob_flush() should fail to flush unerasable buffers
- Added test for bug46897
- A memleak has been identified while fixing this bug but the changes
  made by this commit do not affect ob_get_clean where the memleak (which
  is fixed in HEAD with the new handler) resides.
- [DOC] New noticed is outputted in ob_flush when the buffer is unerasable
2009-02-13 11:48:17 +00:00
Dave Kelsey
aa3e1f6158 fixed subtle bugs regarding attempting to chdir, plus cleanup issues. improved tempnam test, removed hardcoded line number. tested on windows, linux and linux 64bit. 2009-01-22 07:56:56 +00:00
Felipe Pena
51b05cd54d - Fixed tests 2009-01-10 17:01:00 +00:00
Robin Fernandes
bd7f18ab4f Additional output buffering tests. 2008-12-18 15:20:07 +00:00
Stefan Esser
1940a3aa91 Added test for magic_quotes_gpc 2008-12-11 13:05:53 +00:00
Arnaud Le Blanc
f5b2818225 MFH: fixed test 2008-12-09 22:53:42 +00:00
Jani Taskinen
e967b0fec9 MFH:- Better descriptions for these tests 2008-12-09 16:05:49 +00:00
Jani Taskinen
f2c711b132 MFH: fix tests 2008-12-09 15:44:39 +00:00
Scott MacVicar
d8edbd2729 Add test for the recent magic_quotes_gpc regression. 2008-12-09 01:47:57 +00:00
Robin Fernandes
2057a9a3f9 Add some class related tests, fix hard-coded object ID in serialize_001.phpt. 2008-12-05 22:12:07 +00:00
Ant Phillips
775389cd1d Language tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-28 10:41:19 +00:00
Sean Coates
4e3929d278 add test for ArrayObject acting as array (for 5.3) 2008-11-10 19:01:35 +00:00
Hannes Magnusson
5668f32b68 MFH: Improve test and fix skipif 2008-10-27 14:25:33 +00:00
Felipe Pena
8502d0b7a6 - Fixed test 2008-10-26 23:00:35 +00:00
Arnaud Le Blanc
c98e28795f Fixed #46313 (Magic quotes broke $_FILES)
# magic_quotes_gpc was disabled during registration of $_FILES["x"]["tmp_name"]
# and $GLOBALS["x"] (which is tmp_name with register_globals enabled). This
# caused "x" to not be escaped so there was 2 different keys for the same file
# in $_FILES, one with tmp_name and the other without.
# All other variables (name, size, etc) are registered with magic_quotes_gpc
# untouched, both in $_FILES and $GLOBALS and I did not found a reason for
# disabling it for tmp_name.
2008-10-20 17:09:10 +00:00
Arnaud Le Blanc
49abf21fea MFH: Fix test 2008-09-10 11:12:25 +00:00
Arnaud Le Blanc
0dac02dac2 MFH: Added tests for rfc1867 post handler 2008-09-08 09:25:07 +00:00
Johannes Schlüter
27637afb90 - MFH: The exact error message might differ (it's "Not owner" on Solaris) 2008-09-07 22:34:40 +00:00
Dmitry Stogov
d5bba04ac5 Fixed Bug #43958 (class name added into the error message) 2008-09-02 09:45:49 +00:00
Arnaud Le Blanc
f59fbc3755 MFH: Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-08-18 04:08:17 +00:00
Jani Taskinen
9c3cc1f061 MFH:fix test 2008-08-14 21:54:01 +00:00
Arnaud Le Blanc
de24949cce MFH: Check the relevant path for open_basedir in symlink() 2008-08-11 15:30:44 +00:00
Dmitry Stogov
478acfd8b4 . Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:30:28 +00:00
Hannes Magnusson
ee40f557a7 Fix tests (patch by Lars) 2008-07-21 12:23:38 +00:00
Lars Strojny
742d0ad166 Reenabling the test but removing the test cases for old_function as the alternative syntaxes are still there 2008-07-15 08:34:18 +00:00
Nuno Lopes
29e7475124 add more tests for the parser. currently both fail 2008-07-08 14:38:31 +00:00
Nuno Lopes
ea11f6df43 fix last part of bug #44654 2008-07-06 16:20:51 +00:00
Nuno Lopes
671caa1d5d add test for #-style comments. passes fine on both 5.2 and 5.3 2008-07-06 15:40:11 +00:00
Antony Dovgal
47bce7e311 MFH 2008-06-11 22:36:28 +00:00
Dmitry Stogov
f8c6965075 Fixed test 2008-06-11 06:30:09 +00:00
Antony Dovgal
db8a24d15a fix test 2008-06-09 09:26:03 +00:00
Rob Richards
604bfe4c0b MFH: fix test 2008-06-05 08:29:29 +00:00
Felipe Pena
402fb5285d - MFH: Fixed bug #44769 (declaring private magic methods should throw error) 2008-06-03 14:07:15 +00:00
Ilia Alshanetsky
59ba4fcc96 Added missing INI handler 2008-05-18 14:35:13 +00:00
Ant Phillips
863d975196 Collect all the open_basedir security tests into one place 2008-05-09 08:39:44 +00:00
Steve Seear
801c795208 Adding language tests. 2008-03-19 18:06:24 +00:00
Steve Seear
6e361fa7db Added some class tests; Replaced some hardcoded instance ids with %d. 2008-03-19 17:56:10 +00:00
Antony Dovgal
0ee45c4711 fix tests 2008-03-17 14:59:23 +00:00
David Coallier
e506d59a0e - Ok to fail on OSX, adjusted bug, patch from scoates 2008-03-08 18:50:14 +00:00
Felipe Pena
c7cb8551fe Fix tests (removed space on error message "Undefined index: ...") 2008-03-08 12:01:53 +00:00
Robin Fernandes
ee0f7bc0ac Add new tests for class/object functions and features. 2008-03-06 11:02:37 +00:00
Dmitry Stogov
4de15df711 Fixed wrong result of cascading assignment to string offset 2008-03-04 10:07:17 +00:00
Robin Fernandes
0455ccb805 Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ). 2008-03-03 15:07:04 +00:00
Felipe Pena
7cf6a28335 Fixed tests (new E_ALL value) 2008-02-24 12:18:07 +00:00
Marcus Boerger
d3e5026564 - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Nuno Lopes
38149b6207 add new test to test function with many arguments (i.e. test the new stack implementation)
this increases the converage of zend_execute.h by 18%
2008-02-08 13:49:27 +00:00
Marcus Boerger
2cc49ecfb2 - Only one line heading 2008-02-03 13:32:07 +00:00
Rasmus Lerdorf
9411b268b2 2 more test fixes 2008-02-02 00:44:45 +00:00
Robin Fernandes
7eb114a9cf Adding tests for class features, including __autoload(), property inheritance rules and class constants. 2008-01-30 14:25:57 +00:00