Commit Graph

1010 Commits

Author SHA1 Message Date
Nikita Popov
de80e3ce4b Remove reference restrictions from foreach
foreach only allowed variables to be traversed by reference. This never
really made sense because

    a) Expressions like array(&$a, &$b) can be meaningfully iterated by-ref
    b) Function calls can return by-ref (so they can also be meaningfully
       iterated)
    c) Iterators could at least in theory also be iterated by-ref (not
       sure if any iterator makes use of this)

With by-ref generators the restriction makes even less sense, so I removed
it altogether.
2012-07-22 14:33:25 +02:00
Andrew Faulds
d12f8d6790 Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
- removed php_logo_guid()
- removed php_egg_logo_guid()
- removed php_real_logo_guid()
- removed zend_logo_guid()
- removed logo GUID handling
- removed logo GUIDs from source
- added logo data URIs instead for phpinfo()
- added credits to phpinfo() page, but hidden by default
2012-07-14 21:44:21 +01:00
Anatoliy Belsky
621fddab93 Fix bug #62109 tests\basic\bug46313-win.phpt fails 2012-05-22 18:41:03 +02:00
Stanislav Malyshev
910a4696e1 Merge branch 'PHP-5.4'
* PHP-5.4:
  Revert "Update test to fix breakage caused by the previous commit."
  fix test
  to 5.4.5-dev
2012-05-15 23:30:34 -07:00
Stanislav Malyshev
e36a5a1197 fix test 2012-05-15 23:09:46 -07:00
Anatoliy Belsky
7dda0d5f8d Merge branch 'PHP-5.4'
* PHP-5.4:
  Fix bug 61716 tests\basic\021.phpt fails
2012-04-16 15:16:43 +02:00
Anatoliy Belsky
9f42c1890b Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix bug 61716 tests\basic\021.phpt fails
2012-04-16 15:16:06 +02:00
Anatoliy Belsky
4fa1743009 Fix bug 61716 tests\basic\021.phpt fails 2012-04-16 15:14:26 +02:00
Anatoliy Belsky
a6d8919a89 Merge branch 'PHP-5.4'
* PHP-5.4:
  Fix bug 61683 tests\basic\bug20539.phpt fails
2012-04-16 14:40:18 +02:00
Anatoliy Belsky
45977c6aae Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix bug 61683 tests\basic\bug20539.phpt fails
2012-04-16 14:39:39 +02:00
Anatoliy Belsky
aaed0af418 Fix bug 61683 tests\basic\bug20539.phpt fails 2012-04-16 14:38:16 +02:00
Ferenc Kovacs
15a98ece9f Revert "making the test fail for testing jenkins report mail. I will revert this soon."
This reverts commit b8fe28f455.
2012-03-31 11:23:26 +02:00
Ferenc Kovacs
b8fe28f455 making the test fail for testing jenkins report mail. I will revert this soon. 2012-03-31 11:22:16 +02:00
Xinchen Hui
1904cf696b Merge branch 'PHP-5.4'
* PHP-5.4:
  trivial change try to ci a "fake" merge
  Fix test,  parameter signatures was introduced only into 5.4
  fix makedist for new tags
2012-03-30 20:57:55 +08:00
Xinchen Hui
14fdb8bf0a trivial change try to ci a "fake" merge
seems now a empty merge will not be accepted by pre-receive-hook
  "remote: We cannot figure out what you comitted!"
2012-03-30 20:50:45 +08:00
Xinchen Hui
6b4112c98a Fix test, parameter signatures was introduced only into 5.4 2012-03-30 20:37:48 +08:00
reeze
abd2b2ee43 - fix bug #61541, Segfault when using ob_* in output_callback 2012-03-29 06:23:05 +09:00
Gustavo André dos Santos Lopes
2d2995f343 Fixed bug #61043: Regression in magic_quotes_gpc fix (CVE-2012-0831)
Merge commit 'refs/pull/12/head' of git://github.com/php/php-src into 5.3

Signed-off-by: Gustavo André dos Santos Lopes <cataphract@php.net>
2012-03-21 21:12:31 +00:00
Ondřej Surý
d1fd5432e1 Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831) 2012-03-21 08:44:59 +01:00
Pierre Joye
baeaafd395 - add test for bug #55000 and #54374 2012-03-21 07:00:22 +01:00
Nikita Popov
be202d3d35 Deprecate /e modifier
See https://wiki.php.net/rfc/remove_preg_replace_eval_modifier.
2012-03-04 13:39:12 +00:00
Rasmus Lerdorf
bc8e8b3467 Fix tests that break if filter.default isn't set to unsafe_raw 2012-03-02 05:04:40 +00:00
Rasmus Lerdorf
f564921c15 Fix tests that break if filter.default isn't set to unsafe_raw 2012-03-02 05:04:40 +00:00
Xinchen Hui
2e5e82a8ca MFH: Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical vars) 2012-03-02 03:18:04 +00:00
Olivier DOUCET
e613889d50 more verbose skip reason in test files with not so obvious extension requirements 2012-02-25 12:10:41 +00:00
Olivier DOUCET
bdbcc1789d more verbose skip reason in test files with not so obvious extension requirements 2012-02-25 12:10:41 +00:00
Rasmus Lerdorf
f2e420a70e Weird, what happened here? 2012-02-16 17:48:30 +00:00
Rasmus Lerdorf
4dd55d47ad Weird, what happened here? 2012-02-16 17:48:30 +00:00
Rasmus Lerdorf
2a2af1bffc These tests fail unless max_input_vars and/or max_file_uploads is set high enough 2012-02-14 09:47:32 +00:00
Rasmus Lerdorf
346e88ae69 These tests fail unless max_input_vars and/or max_file_uploads is set high enough 2012-02-14 09:47:32 +00:00
Rasmus Lerdorf
e80cbef15b These tests fail unless max_input_vars and/or max_file_uploads is set high enough 2012-02-14 09:47:32 +00:00
Xinchen Hui
3f23b11151 Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical vars). 2012-02-08 14:07:27 +00:00
Xinchen Hui
6672171672 Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical vars). 2012-02-08 14:07:27 +00:00
Michael Wallner
6b31413b13 Fix bug #60768 Output buffer not discarded
in php_output_handler_op():
  * if appending to buffer succeeds, just return HANDLER_NO_DATA
    and do nothing else
  * if a zero sized string or true is returned from the handler
    function, reset the context as well as the handler's buffer
2012-01-16 17:51:35 +00:00
Michael Wallner
f32760bd40 Fix bug #60768 Output buffer not discarded
in php_output_handler_op():
  * if appending to buffer succeeds, just return HANDLER_NO_DATA
    and do nothing else
  * if a zero sized string or true is returned from the handler
    function, reset the context as well as the handler's buffer
2012-01-16 17:51:35 +00:00
Pierre Joye
b63c6f6f20 - rm 2012-01-09 14:29:06 +00:00
Pierre Joye
c5b02759c4 - rm 2012-01-09 14:29:06 +00:00
Xinchen Hui
5d2dba81a1 fix test 2012-01-04 08:13:58 +00:00
Xinchen Hui
dd943bcb1b fix test 2012-01-04 08:13:58 +00:00
Shein Alexey
4e5b5d29e3 Fixed broken test (different error message wording in 5.3 branch) 2012-01-02 20:02:21 +00:00
Stanislav Malyshev
7c3177e5ab fix bug #54374, bug #55500 - filter file names better, no dangling [s 2012-01-01 23:54:25 +00:00
Stanislav Malyshev
2a687aed1a fix bug #54374, bug #55500 - filter file names better, no dangling [s 2012-01-01 23:54:25 +00:00
Nuno Lopes
bac57c94fb fix memory leak in compile_string when there's a parse error (used e.g. in eval or assert) 2012-01-01 22:45:58 +00:00
Nuno Lopes
a542baa720 fix memory leak in compile_string when there's a parse error (used e.g. in eval or assert) 2012-01-01 22:45:58 +00:00
Nuno Lopes
8b23cae172 fix memory leak in compile_string when there's a parse error (used e.g. in eval or assert) 2012-01-01 22:45:58 +00:00
Stanislav Malyshev
3805e0a2c4 fix test 2011-12-26 05:08:09 +00:00
Stanislav Malyshev
f863d486d1 fix test 2011-12-26 05:08:09 +00:00
Stanislav Malyshev
63e5f97da4 fix bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist) 2011-12-26 05:01:46 +00:00
Stanislav Malyshev
87b9f7bb3a fix bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist) 2011-12-26 05:01:46 +00:00
Stanislav Malyshev
15210d561a fix test - paths may be expressed in different way 2011-12-26 03:55:29 +00:00
Stanislav Malyshev
36d4585996 fix test - paths may be expressed in different way 2011-12-26 03:55:29 +00:00
Stanislav Malyshev
d36263b7bb fix tests 2011-12-26 01:08:47 +00:00
Stanislav Malyshev
e4f40a3375 fix tests 2011-12-26 01:08:47 +00:00
Xinchen Hui
8e0358d2b4 Fix tests 2011-12-19 16:57:36 +00:00
Xinchen Hui
2fe9f37026 Fix tests 2011-12-19 16:57:36 +00:00
Xinchen Hui
b5766cdcac Implemented FR #54514 (Get php binary path during script execution). 2011-12-07 10:33:13 +00:00
Xinchen Hui
5aa1fb6074 Implemented FR #54514 (Get php binary path during script execution). 2011-12-07 10:33:13 +00:00
Ferenc Kovacs
6f8518fbf5 adding some tests for string offsets 2011-11-26 18:41:45 +00:00
Ferenc Kovacs
745409b7f4 adding some tests for string offsets 2011-11-26 18:41:45 +00:00
Ferenc Kovacs
52ddf31284 adding some tests for string offsets 2011-11-26 18:41:45 +00:00
Felipe Pena
06bc6bdc29 - Fix test 2011-11-26 17:35:19 +00:00
Felipe Pena
1c0eaee6fd - Fix test 2011-11-26 17:35:19 +00:00
Felipe Pena
1bd15bbd7d - Fix test 2011-11-26 17:35:19 +00:00
Pierrick Charron
52ca90428d Fixed bug #60321 (ob_get_status(true) no longer returns an array when buffer is empty). 2011-11-18 00:16:58 +00:00
Pierrick Charron
8e2dcfd8b6 Fixed bug #60321 (ob_get_status(true) no longer returns an array when buffer is empty). 2011-11-18 00:16:58 +00:00
Lars Strojny
c2ad166fd5 Reverting r319136 2011-11-17 09:24:15 +00:00
Lars Strojny
7d0fe66ebe Adjusting error messages 2011-11-14 00:26:37 +00:00
Xinchen Hui
b6fd6cd649 add skipif 2011-11-13 14:31:30 +00:00
Xinchen Hui
9b091f8c34 add skipif 2011-11-13 14:31:30 +00:00
Xinchen Hui
efd3e69511 Fixed bug #60282 (Segfault when using ob_gzhandler() with open buffers) 2011-11-13 04:11:57 +00:00
Xinchen Hui
89feaefce1 Fixed bug #60282 (Segfault when using ob_gzhandler() with open buffers) 2011-11-13 04:11:57 +00:00
Ferenc Kovacs
b38d56616b adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Ferenc Kovacs
8066746c73 adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Ferenc Kovacs
11de3aeedb adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Stanislav Malyshev
d81ea16ef1 Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Stanislav Malyshev
ed12ebc79c Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Stanislav Malyshev
05c5c8958e Bug #55754 - Only variables should be passed by reference for ZEND_SEND_PREFER_REF params 2011-10-16 00:34:01 +00:00
Stanislav Malyshev
70a6a67c1e Bug #55754 - Only variables should be passed by reference for ZEND_SEND_PREFER_REF params 2011-10-16 00:34:01 +00:00
Xinchen Hui
3fd08b3bd4 Fix tests due to bison depened message format 2011-09-25 03:35:57 +00:00
Xinchen Hui
6d2a0bd6cc Fix tests due to bison depened message format 2011-09-25 03:35:57 +00:00
Alan Knowles
d296cea9f1 clean up is_a test title 2011-09-24 01:34:46 +00:00
Alan Knowles
55573c1418 clean up is_a test, so that it covers more use cases - negative and positive testing 2011-09-24 01:29:48 +00:00
Alan Knowles
dbc999c6e1 add is_a and is_subclass_of test with autoloader feature
Its a bit of an overkill, but should ensure breaks are easier to spot in future.
2011-09-24 01:18:29 +00:00
Xinchen Hui
c58f254354 Improve the warning message of incompatible arguments. (#55719)
And fix tests related.
2011-09-23 15:08:11 +00:00
Xinchen Hui
8cefbca521 Improve the warning message of incompatible arguments. (#55719)
And fix tests related.
2011-09-23 15:08:11 +00:00
Hannes Magnusson
797a1ce88f Fixed bug #55504 (Content-Type header is not parsed correctly on HTTP POST request 2011-09-07 16:19:09 +00:00
Hannes Magnusson
994df9f1d1 Fixed bug #55504 (Content-Type header is not parsed correctly on HTTP POST request 2011-09-07 16:19:09 +00:00
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
5d8a5ed33d Add skip message 2011-09-07 12:06:21 +00:00
Hannes Magnusson
4efd9c43a9 Add skip message 2011-09-07 12:06:21 +00:00
Hannes Magnusson
6021b9aff8 Add skip message 2011-09-07 12:06:21 +00:00
Pierre Joye
423816ef64 - move it to the right place 2011-09-06 09:23:10 +00:00
Pierre Joye
fafe247265 - move it to the right place 2011-09-06 09:23:10 +00:00
Pierre Joye
4d576e21a9 - move it to the right place 2011-09-06 09:23:10 +00:00
Ferenc Kovacs
fbb4b70bad revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4 2011-09-01 22:45:18 +00:00
Ferenc Kovacs
9bb94d26f8 revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4 2011-09-01 22:42:35 +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
Christopher Jones
d002d6d56d 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
f079dffe07 - use %s, bad c/p 2011-09-01 13:28:12 +00:00
Pierre Joye
d5a6bac766 - use %s, bad c/p 2011-09-01 13:28:00 +00:00
Pierre Joye
85ba246966 - use %s, bad c/p 2011-09-01 13:28:00 +00:00
Pierre Joye
2449bd4a10 - fix test 2011-09-01 12:49:26 +00:00
Pierre Joye
f40b4350cd - fix test 2011-09-01 12:49:26 +00:00
Pierre Joye
abeac6759d - win and nux work the same way 2011-09-01 12:43:12 +00:00
Pierre Joye
1f8c94b7e2 - win and nux work the same way 2011-09-01 12:42:54 +00:00
Pierre Joye
ca717e35d0 - win and nux work the same way 2011-09-01 12:42:54 +00:00
Pierre Joye
9cf971c7ff - win and nux work the same way 2011-09-01 12:42:54 +00:00
Pierre Joye
1cef55952f - 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
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
6142c9b4b1 - 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
d763969344 - 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
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
d01632b499 - 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
5d09938423 - error msg may vary (parser) 2011-08-31 23:12:35 +00:00
Pierre Joye
081b15939e - error msg may vary (parser) 2011-08-31 23:12:35 +00:00
Pierre Joye
e44ad565f0 - error msg may vary (parser) 2011-08-31 23:12:35 +00:00
Pierre Joye
96abb9d611 - error msg may vary (parser) 2011-08-31 20:16:11 +00:00
Pierre Joye
7953b9b39b - error msg may vary (parser) 2011-08-31 20:16:11 +00:00
Pierre Joye
7e2f373f7e - error msg may vary (parser) 2011-08-31 20:16:11 +00:00
Pierre Joye
df3cb6f2a0 - error msg may vary (parser) 2011-08-31 20:14:13 +00:00
Pierre Joye
b75434f0e9 - error msg may vary (parser) 2011-08-31 20:14:13 +00:00
Pierre Joye
133b000404 - error msg may vary (parser) 2011-08-31 20:14:13 +00:00
Pierre Joye
8b76f0f0d3 - error msg may vary 2011-08-31 20:10:22 +00:00
Pierre Joye
6cf92139b3 - error msg may vary 2011-08-31 20:10:22 +00:00
Pierre Joye
05afcc2b26 - error msg may vary 2011-08-31 20:10:22 +00:00
Pierre Joye
38eec652ce - typo 2011-08-31 20:07:44 +00:00
Pierre Joye
638f3f25bf - typo 2011-08-31 20:07:44 +00:00
Pierre Joye
b5152bcff2 - typo 2011-08-31 20:07:44 +00:00
Stanislav Malyshev
cd8202694c fix tests 2011-08-31 04:24:48 +00:00
Stanislav Malyshev
2459296ff5 fix tests 2011-08-31 04:24:48 +00:00
Xinchen Hui
1f3536a019 Fixed testing failed 2011-08-30 12:11:03 +00:00
Rasmus Lerdorf
207e67923f <?= is always enabled now 2011-08-27 19:00:59 +00:00
Rasmus Lerdorf
24f00c11d6 <?= is always enabled now 2011-08-27 19:00:59 +00:00
Joey Smith
ec5b65473b Revert my previous change - getting different results in different environments, shouldn't have committed it 2011-08-24 16:15:35 +00:00
Joey Smith
864774c5b2 Fix tests/lang/bug45392.phpt to log expected error when run with -n flag 2011-08-24 15:56:12 +00:00
Hannes Magnusson
bddb3d6c5d docref_root is now required for html_errors to do anything 2011-08-16 14:52:54 +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
Stanislav Malyshev
553a08c4e1 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
Pierre Joye
cbe0ed86e7 - 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
Pierrick Charron
fb5da94c1b 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
Pierre Joye
cc1c7af037 - 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 2011-07-22 11:25:30 +00:00
Felipe Pena
c85ff1249c - Fixed tests 2011-06-24 19:23:25 +00:00
Felipe Pena
12cc948688 - Fixed tests 2011-06-24 19:23:25 +00:00
Hannes Magnusson
9f8501b3b7 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Hannes Magnusson
ffc6da20a0 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Hannes Magnusson
71a5c3d7ec 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
331a30997a Fixed test for decoupled <?= as of r311260 2011-05-23 23:51:28 +00:00
Philip Olson
388fa176be Fixed test for decoupled <?= as of r311260 2011-05-23 23:51:28 +00:00
Jeraimee Hughes
daecb2c0f4 Fixes for broken tests. 2011-05-17 15:08:15 +00:00
Jeraimee Hughes
e5c1c42220 Fix for failing test. 2011-05-17 15:06:48 +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
13a91f86b7 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
686c7fec26 - CS + reorder to match trunk better, removed trailing dots from error messages 2010-12-03 16:04:24 +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
f561727ee0 - Add test for the ob_start($foo); leak/crash bug 2010-12-03 15:30:21 +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
Gustavo André dos Santos Lopes
2a545be57f - 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
Gustavo André dos Santos Lopes
a31f379367 - Reversed implementation of FR #44164, pending further consideration.
See rev #304903.
2010-11-18 04:09:02 +00:00
Jani Taskinen
f6fcf2e3a4 - Fix test: register_globals is gone 2010-11-17 15:00:51 +00:00
Felipe Pena
5d2e201c3d - Fixed typo (reported by eyal.t at zend dot com) 2010-11-17 14:49:26 +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
817776d1b9 - 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
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
53544e36f2 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
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
b84e262f63 Fix bug #53226 (file_exists fails on big filenames). 2010-11-05 05:28:07 +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
ee80871a15 - 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
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
0086bc8a96 - 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
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
817c28c867 - 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
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
Kalle Sommer Nielsen
8deefa8780 Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED (Fixes #52570)
# Trunk patch will follow shortly
2010-08-11 21:12:18 +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
c5a068e025 Errors using reserved words as methods 2010-05-12 21:34:32 +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
Kalle Sommer Nielsen
febee11285 Removed register_globals 2010-04-21 01:27:22 +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
Jani Taskinen
f9843495d1 - Fixed tests 2010-02-13 01:08:04 +00:00
Jani Taskinen
b9ac76c51c - Fix test 2009-12-11 15:38:15 +00:00
Jani Taskinen
35a4d5831b Fix test 2009-12-11 10:55:56 +00:00
Felipe Pena
8afad00a16 - Fixed tests 2009-12-04 11:32:39 +00:00
Jani Taskinen
c4d350632b - Use correct revision 2009-11-28 00:47:42 +00:00
Jani Taskinen
e8e213ca01 - No dots here 2009-11-28 00:35:56 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Zoe Slattery
6a22ec3eda More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Jani Taskinen
ee992d9ff7 - Fix tests .oO(why are there so many things broken in this branch..?) 2009-07-25 00:43:42 +00:00
Patrick Allaert
9b9363af5b MFH: The exact error message might differ (it's "Not owner" on Solaris) (r265951) 2009-07-22 12:20:56 +00:00
Zoe Slattery
9ff94c82df Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Zoe Slattery
d09ab2ab42 Removing unnecessary SKIPIF sections 2009-07-18 13:46:08 +00:00
andy wharmby
ee726e4497 New lang tests. 2009-06-21 17:42:15 +00:00
andy wharmby
1e119743a5 Backport ob test to php 5.2 and 53. 2009-06-18 21:03:00 +00:00
andy wharmby
e5b5f13b79 New test for standard object compare handler. Tested on Windows, Linux and Linux 64 2009-06-17 19:15:19 +00:00
andy wharmby
fb3132f502 New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-17 19:07:17 +00:00
Robin Fernandes
73cd7e83ee Additional class related tests. 2009-06-17 10:38:25 +00:00
andy wharmby
fcbfe08d60 New test for bitwise operators. Tested on Linux 64 bit 2009-06-15 17:38:44 +00:00
andy wharmby
d8ce08a24b Move tests to correct directory 2009-06-15 17:34:40 +00:00
andy wharmby
3fd133bcf3 Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
andy wharmby
1888c718cb New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 14:17:43 +00:00
Robert Nicholson
e592b4fd15 New tests for operators. These tests were auto generated to verify correctness for a number of significant values. The work was done by Dave Kelsey. 2009-06-08 11:59:32 +00:00
Robert Nicholson
176012df22 New tests for foreach loops. These were written by another member of the Projectzero team. 2009-06-07 21:03:48 +00:00
Matt Wilmas
2462fce244 MFH: Changed error messages to use "cannot" instead of "can not" (meaning "also can") 2009-06-07 15:46:54 +00:00
Zoe Slattery
102f76b323 Engine execution order tests 2009-06-01 13:01:04 +00:00
Etienne Kneuss
61bbd8af75 MFH: Add test for the timeout inside shutdown function 2009-05-31 21:32:42 +00:00
Zoe Slattery
e660f91c26 Engine execution order tests 2009-05-29 07:52:04 +00:00
Robert Nicholson
1d4da4fd0c Language Tests: returnByReference 2009-05-27 22:34:25 +00:00
Jani Taskinen
782644535f MFH 2009-05-07 13:47:43 +00:00
Jani Taskinen
da7302f792 MFH 2009-05-07 13:44:23 +00:00
Jani Taskinen
996eab8983 - Fixed ini deprecation message issues in tests.
# CGI headers are stripped and the error ends up there with CGI..
2009-05-06 20:32:00 +00:00
Kalle Sommer Nielsen
5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Felipe Pena
13b1607886 - Fix test 2009-04-28 23:46:27 +00:00
Antony Dovgal
53990b2bf3 fix test 2009-04-28 10:30:56 +00:00
Sebastian Schürmann
7942cd2c3c - Initial commit 2009-04-25 11:33:26 +00:00
Sebastian Schürmann
e2a4ef0696 - initial ci
- basic test for ini_alter
2009-04-25 11:18:15 +00:00
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