Commit Graph

666 Commits

Author SHA1 Message Date
Hannes Magnusson
43fb787add Fixed bug #55504 (Content-Type header is not parsed correctly on HTTP POST request 2011-09-07 16:19:09 +00:00
Hannes Magnusson
6021b9aff8 Add skip message 2011-09-07 12:06:21 +00:00
Pierre Joye
fafe247265 - move it to the right place 2011-09-06 09:23:10 +00:00
Christopher Jones
7c63e28708 Unmatched %s was still diffing on Linux. Now it matches the whitespace at a minimum 2011-09-01 19:27:14 +00:00
Pierre Joye
85ba246966 - use %s, bad c/p 2011-09-01 13:28:00 +00:00
Pierre Joye
f40b4350cd - fix test 2011-09-01 12:49:26 +00:00
Pierre Joye
ca717e35d0 - win and nux work the same way 2011-09-01 12:42:54 +00:00
Pierre Joye
91718bc589 - consider that bison 2.x is used. updated our ci boxes accordingly (windows too), which were using 1.4 2011-09-01 11:40:37 +00:00
Pierre Joye
486b0b2610 - consider that bison 2.x is used. updated our ci boxes accordingly (windows too), which were using 1.4 2011-09-01 11:40:23 +00:00
Pierre Joye
081b15939e - error msg may vary (parser) 2011-08-31 23:12:35 +00:00
Pierre Joye
7e2f373f7e - error msg may vary (parser) 2011-08-31 20:16:11 +00:00
Pierre Joye
b75434f0e9 - error msg may vary (parser) 2011-08-31 20:14:13 +00:00
Pierre Joye
6cf92139b3 - error msg may vary 2011-08-31 20:10:22 +00:00
Pierre Joye
638f3f25bf - typo 2011-08-31 20:07:44 +00:00
Stanislav Malyshev
cd8202694c fix tests 2011-08-31 04:24:48 +00:00
Rasmus Lerdorf
207e67923f <?= is always enabled now 2011-08-27 19:00:59 +00:00
Hannes Magnusson
38c06b124a docref_root is now required for html_errors to do anything 2011-08-16 14:52:54 +00:00
Stanislav Malyshev
3b7cdd0227 fix failing tests 2011-08-01 01:00:57 +00:00
Pierre Joye
80496c9dc4 - add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays, 2nd solution using => only 2011-07-23 20:23:21 +00:00
Pierrick Charron
824726073b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierre Joye
45420bb669 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4 2011-07-22 11:56:20 +00:00
Felipe Pena
12cc948688 - Fixed tests 2011-06-24 19:23:25 +00:00
Hannes Magnusson
ffc6da20a0 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Stanislav Malyshev
845d0805a8 MFH: Fixes for broken tests. 2011-05-27 19:27:05 +00:00
Stanislav Malyshev
c2f796c58b MFH: Fix for failing test. 2011-05-27 19:21:21 +00:00
Philip Olson
388fa176be Fixed test for decoupled <?= as of r311260 2011-05-23 23:51:28 +00:00
Adam Harvey
72d740f8fa Implement request #54355 (Test for de_DE doesn't use UTF-8 locales). Patch by
Ondřej Surý.
2011-03-23 08:59:11 +00:00
Adam Harvey
b2d384355d Bah, these should have been in the last commit too. Update expected output for
further tests that now generate warnings after r306931.
2011-03-23 08:48:32 +00:00
Adam Harvey
f9b8088349 Update test that now generates a warning after r306931, which increased the
error you get when silently casting an empty variable to an object to an
E_WARNING from E_STRICT.
2011-03-23 08:43:36 +00:00
Gustavo André dos Santos Lopes
356b619487 - Fixed test to work in systems with different line endings. 2011-02-19 00:48:48 +00:00
Scott MacVicar
6144da7e35 Silently casting an empty string, null or false into an object by adding a property
is pretty non-intuitive. If the same value was 1 or true you get a warning and it halts.

Since we can't break BC completely (yet) lets bump this from E_STRICT.

Also added a new section to UPGRADING for engine changes.

<?php
$x = '';
// $x = null;
// $x = false;
$x->baz = 1;
var_dump($x);

$y = 1;
$y->baz = 1;
var_dump($y);
2010-12-31 16:57:45 +00:00
Gustavo André dos Santos Lopes
6654a4ade5 - Added enable_post_data_reading ini option to allow inhibiting POST data consumption. 2010-12-09 20:35:59 +00:00
Dmitry Stogov
755c2cd0d8 Removed compile time dependency from ext/mbstring 2010-12-08 11:27:34 +00:00
Jani Taskinen
72ae65bc9d - CS and "de-facto" style of returning NULL for failing parse-params, sync partially with PHP_5_3 too (reordering part :) 2010-12-03 15:34:24 +00:00
Jani Taskinen
07535b7986 - Fix test 2010-12-03 15:30:54 +00:00
Jani Taskinen
41a1de45fe - Add test for the ob_start($foo); leak/crash bug 2010-12-03 15:29:53 +00:00
Gustavo André dos Santos Lopes
8d82e96103 - Fix tests for \0 patch in PHP 5.3.
- Fix constants_error_004.phpt (closes bug #51901)
2010-11-22 05:10:14 +00:00
Jani Taskinen
f6fcf2e3a4 - Fix test: register_globals is gone 2010-11-17 15:00:51 +00:00
Felipe Pena
a4fb1ff6a5 - Fixed typo (reported by eyal.t at zend dot com) 2010-11-17 14:49:26 +00:00
Patrick Allaert
e2e76d40e3 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Adam Harvey
c2b525eef1 Update the tests committed in r305098 (as part of the fix for bug #53226) to
use the PHP_MAXPATHLEN constant, as recommended by Pierre.
2010-11-08 09:14:48 +00:00
Adam Harvey
7f0d3f7d70 Fix bug #53226 (file_exists fails on big filenames). 2010-11-05 05:28:07 +00:00
Gustavo André dos Santos Lopes
da400e7500 - Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
type is application/x-www-form-urlencoded or is not registered with PHP).
2010-10-27 14:56:51 +00:00
Gustavo André dos Santos Lopes
1f191e4d2b - Implemented request #44164, zlib.output_compression is now implicitly
disabled when the header "Content-length" is set.
#One could argue that any output handler could change the size of the
#response, so this exception for zlib.output_compression is an
#inconsistency. However, zlib.output_compression is presented as a
#performance setting, whose value should have no effect on the
#correctness of the scripts. This was not the case. Setting the
#header "content-length" and enabling zlib.output_compression was
#a recipe for infringing section 4.4 of RFC 2616.
2010-10-26 02:16:21 +00:00
Gustavo André dos Santos Lopes
e1aa908468 - Implemented FR #50692, not uploaded files don't count towards
max_file_uploads limit.
- As a side improvement, temporary files are not opened for
  empty uploads and, in debug mode, 0-length uploads.
2010-10-04 01:27:33 +00:00
Felipe Pena
42a57f7656 - Fix tests 2010-06-16 02:14:32 +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
Ilia Alshanetsky
16c90b0a2d Fixed test 2010-05-26 11:00:05 +00:00
Christopher Jones
ec93c50c3f Errors using reserved words as methods 2010-05-12 21:34:32 +00:00
Kalle Sommer Nielsen
9a38f301d6 Remove highlight.bg, it was removed in the old trunk and its not referenced in zend_highlight.c, meaning its not even implemented correctly in 5.3. 2010-04-21 21:56:24 +00:00