Eric Stenson
50377b5bf2
Fix tests expecting specific resource IDs
...
When Wincache or APC are installed, the resource IDs are not the same.
This is because Wincache takes a few resource objects for itself. As a
result, these tests become false positives.
On Windows boxes, the microtime precision is not granular enough
to reliably register a difference if two calls to uniqid() are made
concurrently. This is a fix to the uniqid() test to avoid the false
positive when run on Windows machines. Also, added a test to exercise
the 'more_entropy' variant of uniqid().
2013-12-13 10:42:32 -08:00
Nikita Popov
66b0d17f04
Merge branch 'PHP-5.5' into PHP-5.6
2013-11-29 23:31:13 +01:00
nikita2206
5f09944662
Fixed bug #65768 : DateTimeImmutable::diff does not work
...
This commit also prevents user classes from directly implementing
DateTimeInterface, because ext/date relies on classes implementing
it to support certain internal structures.
2013-11-29 23:31:07 +01:00
Dmitry Stogov
2cb0e1e4c1
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Added validation of class names in the autoload process
Conflicts:
NEWS
2013-11-29 12:55:11 +04:00
Dmitry Stogov
967abd6153
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Added validation of class names in the autoload process
2013-11-29 12:54:22 +04:00
Dmitry Stogov
2d31eadbbf
Added validation of class names in the autoload process
2013-11-29 12:53:02 +04:00
Jeff Welch
72a8489a12
Fixed tests that fail with non-default serialize_precision
configurations.
...
See:
* https://bugs.php.net/bug.php?id=64760
* 4dc4302
2013-11-20 06:17:34 +09:00
Jeff Welch
101c780500
Fixed tests that fail with non-default serialize_precision
configurations.
...
See:
* https://bugs.php.net/bug.php?id=64760
* 4dc4302
2013-11-20 06:17:23 +09:00
Jeff Welch
b4210efe76
Fixed tests that fail with non-default serialize_precision
configurations.
...
See:
* https://bugs.php.net/bug.php?id=64760
* 4dc4302
2013-11-20 06:14:32 +09:00
Yasuo Ohgaki
3cf2682083
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Fixed Bug 64760 var_export() does not use full precision for floating-point numbers
2013-10-29 17:30:58 +09:00
Yasuo Ohgaki
d04bcb8969
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Update NEWS
Fixed Bug 64760 var_export() does not use full precision for floating-point numbers
2013-10-29 17:28:35 +09:00
Yasuo Ohgaki
4dc4302a30
Fixed Bug 64760 var_export() does not use full precision for floating-point numbers
2013-10-29 17:24:23 +09:00
Michael Wallner
5f41cb18be
Merge branch 'issue-55736' of https://github.com/tistre/php-src
...
implements FR #55736
* 'issue-55736' of https://github.com/tistre/php-src :
run-tests.php: Adding support for sections EXPECT_EXTERNAL, EXPECTF_EXTERNAL and EXPECTREGEX_EXTERNAL. (Issue 55736)
2013-10-09 10:06:45 +02:00
Michael Wallner
832e2d0d8c
tests
2013-09-10 13:14:02 +02:00
Tim Strehle
5ffaf95d3f
run-tests.php: Adding support for sections EXPECT_EXTERNAL, EXPECTF_EXTERNAL and EXPECTREGEX_EXTERNAL. (Issue 55736)
2013-09-03 14:40:43 +02:00
Michael Wallner
bb1f9d3826
slim post data
2013-08-27 13:43:22 +02:00
Stanislav Malyshev
c793a65690
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
non living code related typo fixes
Conflicts:
Zend/zend_compile.c
2013-08-04 16:06:24 -07:00
Veres Lajos
8d86597d73
non living code related typo fixes
2013-08-04 16:05:36 -07:00
Veres Lajos
e9a95d78ef
typo fixes
2013-07-15 00:23:03 -07:00
Veres Lajos
72085b0e5f
typo fixes
2013-07-15 00:18:57 -07:00
Stanislav Malyshev
7272e3e722
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Adding test to verify that __sleep can handle parent classes' private members
Adding test to stabelize keys used when converting objects to arrays
2013-06-23 13:54:50 -07:00
Marco Pivetta
f1e37d03c1
Adding test to verify that __sleep can handle parent classes' private members
2013-06-23 13:53:46 -07:00
Marco Pivetta
61fb822d1a
Adding test to stabelize keys used when converting objects to arrays
2013-06-23 13:53:37 -07:00
Stanislav Malyshev
e74776266f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix test for bug #60322
2013-06-13 10:30:18 -07:00
Stanislav Malyshev
10b9579395
fix test for bug #60322
2013-06-13 10:30:00 -07:00
Matt Ficken
4941e3fe44
Adding sys_get_temp_dir() test specific for Windows.
...
sys_get_temp_dir() returns a Windows-style path (\\ instead of /) on
Windows. This is why a Windows specific test is required.
Skipping req60524.phpt on Windows. Adding -win32 fork for use only on
Windows.
Fixes test bug #64396 .
2013-04-25 14:52:48 -07:00
Michael Moravec
70668fd88a
Fixed typo - inconsistent notice for undefined property (introduced by fix for #49348 )
2013-04-10 13:36:47 +08:00
Dejan Marjanovic
05016b7e96
Added XOR support for expressions in INI parser
2013-03-27 21:28:53 +01:00
Dmitry Stogov
e9641141aa
Made test compatible with O+
2013-03-16 16:11:00 +04:00
Stanislav Malyshev
dc6f073ce9
fix tests
2013-02-18 23:01:42 -08:00
ALeX Kazik
475a644bd8
Implemented Feature #60524 (sys_temp_dir)
...
Added a new configuration directive which allows it to change the
temporary directory, the default behavior is unchanged.
This is a useful option if you use all/some hosts inside of one .ini file
with sections and want to change the temp dir per user (maybe it's not
allowed to write outside the users home directory). Since the TMPDIR
variable affects the whole php that way can not be used for this scenario.
(see https://bugs.php.net/bug.php?id=60524 )
2013-01-28 22:37:43 -08:00
Stanislav Malyshev
122570443b
fix tests
2013-01-23 10:44:53 -08:00
Stanislav Malyshev
d78f5ababe
fix tests
2013-01-22 00:36:07 -08:00
Lars Strojny
853ef3c9cb
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-06 14:54:40 +01:00
Lars Strojny
bdc1e2302c
Adding test for bug #63462
2013-01-06 14:46:49 +01:00
Anatoliy Belsky
7d7ff76659
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Two tests deactivated until #63688 was fixed
2012-12-05 09:58:04 +01:00
Anatoliy Belsky
73e66ff1bd
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Two tests deactivated until #63688 was fixed
2012-12-05 09:57:36 +01:00
Anatoliy Belsky
94cbd6374a
Two tests deactivated until #63688 was fixed
2012-12-05 09:55:49 +01:00
Lars Strojny
5dd3ba5da9
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-02 19:51:51 +01:00
Marco Pivetta
627eb9e3d9
Adding tests for private and protected properties
2012-12-02 19:47:18 +01:00
Marco Pivetta
12f451c771
Fixing test according to @jpauli's suggestions
2012-12-02 19:47:13 +01:00
Marco Pivetta
1377942b69
Adding regression test for behavior of magic methods with unset public properties
...
Verifies that after having unset a public property, any access to it, be it read or write, causes calls to public magic methods
Signed-off-by: Marco Pivetta <ocramius@gmail.com>
2012-12-02 19:47:09 +01:00
Xinchen Hui
ff6c9e2726
Fixed bug #63377 (Segfault on output buffer)
2012-11-30 14:48:51 +08:00
Xinchen Hui
093d119597
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-30 14:30:37 +08:00
Michael Wallner
575790e842
fix bug #61272 ob_start callback get passed empty string
2012-11-28 10:19:44 +01:00
Johannes Schlüter
eb943fbc93
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-15 12:29:58 +01:00
Johannes Schlüter
2a59f1d06c
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-15 12:29:38 +01:00
Johannes Schlüter
7468fc0e37
Skip test if directory does not exist
...
Would be good to run this using a directory which is existing
everywhere.
2012-11-15 12:28:19 +01:00
Xinchen Hui
1b9e0de2cc
Remove executable permission on inc
2012-10-10 10:44:34 +08:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00