| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This means we get an Error exception and a much better error
message indicating the root cause (e.g. accessing a private class
constant).
|
|
|
|
| |
subroutine.
|
|\
| |
| |
| |
| | |
* PHP-7.4:
Silence potential taskkill error messages
|
| |
| |
| |
| |
| | |
That test is still intermittently failing, because failure to kill the
child process is reported. Therefore we silence these error messages.
|
| |
| |
| |
| |
| | |
The typo in the echoed string had been fixed in master; fix the
expectation as well.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix useless tests
|
| |
| |
| |
| |
| |
| | |
These tests are certainly not supposed to fail due to a typo in the
class names, but expect this failure. We fix the typos and the
expectations.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently mail related tests are split for *nix and Windows (if there
are even Windows versions). The basic difference is that the *nix
variants set the INI directive sendmail_path to just write the email to
disk, while the Windows tests use ext/imap. The latter tests are way
more verbose, and such duplicated tests are generally a pain point.
Furthermore, the Windows tests are much slower, and could not be run
without ext/imap being available.
We therefore introduce a small fakemail application, which basically
works like `tee <path> >/dev/null`, and which will be shipped with the
Windows tests packs. fakemail.exe would also need to be added to the
PHP binary SDK, so these tests could be run during developments.
To cater to the remaining differences, we also introduce support for
`{MAIL:<path>}` placeholders in the INI sections to run-tests.php. How
to use this can be seen in mail_basic.phpt, which is currently the only
modified test case, because these tests are yet supposed to fail on
Windows, due to the missing fakemail.exe in the PHP SDK.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Increase sleep() time in test case
|
| |
| |
| |
| |
| | |
Apparently, the former increase to `sleep(2)` helped somewhat, but
still the test fails occassionally.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Throw Error when referencing uninit typed prop in __sleep
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously this generated a notice, but would likely generate an
Error when unserializing.
Now we treat it with the same distinction as direct property
accesses, i.e. referencing an unset/undefined normal property
stays a notice, while a typed property becomes an Error exception.
This fixed bug #79002.
Closes GH-5050.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #54298: Using empty additional_headers adding extraneous CRLF
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
Fix #54298: Using empty additional_headers adding extraneous CRLF
|
| | |
| | |
| | |
| | |
| | | |
If the header string is empty, we pass `NULL` to `php_mail()` to avoid
further checks on the string length.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These had originally used other exit codes as mail_basic5.phpt, but
that was changed later with commit d1b12c9[1].
[1] <http://git.php.net/?p=php-src.git;a=commit;h=d1b12c9a3031841302722d6f6706e4598a639d7a>
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Slightly increase tolerance in time_sleep_until() test
|
| | |
| | |
| | |
| | |
| | | |
With the 1ms tolerance this still occasionally fails on macos.
I love macos. It always works and causes no problems at all.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Try to fix intermittently failing test case
|
| | |
| | |
| | |
| | |
| | |
| | | |
This test fails intermittently due to taskill reporting failure to kill
the process (because it already has been terminated). We increase the
sleep time, to hopefully prevent that from happening again.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Add test case for bug #78883
|
| | |
| | |
| | |
| | | |
The original test has been provided by divinity76.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
* PHP-7.4:
Populate hashtable of __sleep() properties
Deref names returned by __sleep()
Extract php_var_serialize_nested_data() function
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of populating a hashtable of property names and then
directly serializing.
This has the advantage of a) detecting duplicate properties more
precisely and b) gives us the ability to discard values without
rewriting the serialization string after the fact for GH-5027.
|
| | | |
|
| | |
| | |
| | |
| | | |
And split code-paths for arrays and objects based on it.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The ftruncate() test will fill up the disk when the disk has less than
2GB of space left, on some systems.
I think it expands the file to less than 2GB, then returns an error code,
and the file remains at the larger size.
Because the disk is full, the `--CLEAN--` script can't be saved to
`ftruncate_bug76422.clean.php` to be executed, and the cleanup can't be run.
Subsequent tests also fail to run.
Closes GH-5043
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
[ci skip] Revert "Add test case for bug #78883"
|
| | |
| | |
| | |
| | |
| | | |
This reverts commit 09e76cbe6d73399f3476942e7502de0bdbf65fa2, because
the test fails reliably on AppVeyor. This needs closer investigation.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Add test case for bug #78883
|
| | |
| | |
| | |
| | | |
The actual test has been provided by divinity76.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Properly propagate url_stat exceptions during include
|
| | |
| | |
| | |
| | |
| | | |
Make sure we abort operations early, and that we don't emit
additional warnings or errors if an exception has been thrown.
|
| | |
| | |
| | |
| | | |
Closes GH-5036
|
| | |
| | |
| | |
| | | |
Closes GH-5037
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.4:
Add test for bug #79031
Revert "Increase serialize_lock while decoding session"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit b8ef7c35abd31666d9fb317db4b09a9eef0ede6c.
See bug #79031. The semantics of serialize locking aren't quite
correct right now, and the use of the lock in this particular
place makes us hit the issue in a common case. I'm reverting this
commit for PHP 7.4 and will try to fix this properly for PHP 8,
as I believe it will require ABI breakage.
|
| | |
| | |
| | |
| | | |
This should be minor and won't impact anyone
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We fix the most often occuring typos according to a recent codespell
report[1] in tests, code comments and documentation.
[1] <https://fossies.org/linux/test/php-src-master-f8f48ce.191129.tar.gz/codespell.html>.
|
| | |
| | |
| | |
| | | |
GH-5004
|
| | |
| | |
| | |
| | | |
GH-5004
|