Xinchen Hui
66fad45724
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-31 11:24:10 +08:00
Xinchen Hui
5dc2cef370
Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes)
2012-08-31 11:22:43 +08:00
Nikita Popov
d60e3c6ef5
Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport
...
Conflicts:
Zend/zend_language_parser.y
Zend/zend_vm_execute.skl
2012-08-26 13:03:55 +02:00
Xinchen Hui
35951d4be0
Support list in foreach
...
RFC: https://wiki.php.net/rfc/foreachlist
2012-08-25 22:23:57 +08:00
Nikita Popov
f4ce364628
Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport
...
This is just an intial merge. It does not yet make generators and finally
work together.
Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
Zend/zend_vm_execute.skl
Zend/zend_vm_opcodes.h
2012-08-13 16:54:53 +02:00
Xinchen Hui
689fda310a
Merge branch 'PHP-5.4'
2012-07-29 13:26:29 +08:00
Xinchen Hui
c6ad98975e
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Skip test while zend mm is disabled
2012-07-29 13:26:05 +08:00
Xinchen Hui
880a6cee00
Skip test while zend mm is disabled
2012-07-29 13:25:31 +08:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jani Taskinen
f9843495d1
- Fixed tests
2010-02-13 01:08:04 +00:00
Zoe Slattery
6a22ec3eda
More tests from 2009 testfest
2009-08-30 09:30:13 +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
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
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
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
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
Felipe Pena
51b05cd54d
- Fixed tests
2009-01-10 17:01:00 +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
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
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
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
Steve Seear
801c795208
Adding language tests.
2008-03-19 18:06:24 +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
Dmitry Stogov
4de15df711
Fixed wrong result of cascading assignment to string offset
2008-03-04 10:07:17 +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
Dmitry Stogov
969dda1b51
Fixed tests
2007-11-19 08:19:31 +00:00
Johannes Schlüter
9483a2ff23
- Readd support for ynamic access of static members (Etienne)
2007-09-27 00:32:40 +00:00
Nuno Lopes
e0660a267e
fix expected output
2007-09-13 19:30:19 +00:00
Stanislav Malyshev
848b1cbb91
revert variable class support for 5.2
2007-08-13 21:20:18 +00:00
Johannes Schlüter
b3c6a9dffc
- Add possibility to call static class members using variables (Etienne Kneuss)
2007-08-02 21:55:23 +00:00
Antony Dovgal
ffd09c0961
fix tests
2007-05-18 11:29:55 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +00:00
Antony Dovgal
f9a9eda86c
MFH
2007-02-11 20:12:53 +00:00
Dmitry Stogov
7c750656f1
Fixed tests
2007-01-10 16:00:31 +00:00
Hannes Magnusson
b12e3e1475
Fix tests
2006-12-19 10:03:24 +00:00
Antony Dovgal
2ff721a93f
MFH
2006-11-20 16:33:06 +00:00
Hannes Magnusson
e94670d4d6
MFH tests
2006-10-09 16:02:34 +00:00
Dmitry Stogov
811634bd8a
Fixed bug #38579 (include_once() may include the same file twice)
2006-09-20 07:35:59 +00:00
Hannes Magnusson
a180abdbfd
fix tests on freebsd
2006-08-27 15:06:53 +00:00
Marcus Boerger
7577130156
- MFH improve error messages
2006-05-21 18:10:31 +00:00
Marcus Boerger
23b97b2530
- Update tests after MFH
2006-05-10 22:38:35 +00:00
Marcus Boerger
de9fa58e0b
- No more ze1
2006-05-10 22:36:49 +00:00