Commit Graph

37782 Commits

Author SHA1 Message Date
Rasmus Lerdorf
f48bd05482 Fix more tests (some of these were not broken by the recent changes) 2008-02-02 00:55:35 +00:00
Rasmus Lerdorf
9411b268b2 2 more test fixes 2008-02-02 00:44:45 +00:00
Rasmus Lerdorf
b9954bef45 Fix some tests 2008-02-02 00:29:17 +00:00
Marcus Boerger
7cced8f520 - Fix build, thanks Christian Rodriguez for noticing
# I wonder why the other machine didn't catch this
2008-02-01 23:46:36 +00:00
Antony Dovgal
b4b0816578 fix test, add 64bit version 2008-02-01 23:19:16 +00:00
Rasmus Lerdorf
45db15ad4e Small tweak. Need to make array and string callback syntax behave the
same way.  Also change "cannot" to "should not" since we obviously
"can" make the call.
2008-02-01 23:09:10 +00:00
Marcus Boerger
e8a8acdf39 [DOC]
- Fix callable/static mess, the following will now all result in a E_STRICT
  . binding a dynamic function as a static callback
  . static call of a dynamic function
  . is_callable() on a static binding to a dynamic function
# [marcus@frodo PHP_5_3]$ php -a -d error_reporting=8191
# make: `sapi/cli/php' is up to date.
# Interactive shell
#
# php > class t{ function f() { echo "Funny\n"; } }
# php > $c = array("t","f");
# php > call_user_func($c);
#
# Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method t::f() cannot be called statically in php shell code on line 1
# Funny
# php > var_dump(is_callable($c));
#
# Strict Standards: Non-static method t::f() cannot be called statically in php shell code on line 1
# bool(true)
# php > t::f();
#
# Strict Standards: Non-static method t::f() should not be called statically in php shell code on line 1
# Funny
# php >
2008-02-01 21:27:55 +00:00
Felipe Pena
4ac6390098 MFH: Added new parameter for strstr(), stristr() 2008-02-01 18:01:50 +00:00
Zoe Slattery
c8a73b7c84 Command line script to help generate the basic framework of a PHPT 2008-02-01 17:45:38 +00:00
Zoe Slattery
84be2df52a A few new tests for math functions - Note the "constants" test will fail on Windows - Bug 42143. 2008-02-01 17:21:18 +00:00
Robert Nicholson
a7de596df2 - a few more gd tests (committed on behalf of andy wharmby) 2008-02-01 16:33:17 +00:00
Josie Messa
51fe79c055 - Committing new tests for MBString extension.
More details can be found here: http://news.php.net/php.qa/62382
2008-02-01 15:29:59 +00:00
Felipe Pena
8c76a00f93 New tests and fix tests (new error message) 2008-02-01 13:41:19 +00:00
Felipe Pena
79cfa91a43 MFH: New parameter 'before_needle' 2008-02-01 12:28:44 +00:00
Hannes Magnusson
79da75ced0 glob:// was added in 5.3, no need to mention bug fixes for it 2008-02-01 10:45:48 +00:00
Christopher Jones
680cf8e994 MFH: New test for old, suspended bug 2008-01-31 22:03:23 +00:00
Rob Richards
d1459b8554 MFH: fix bug #42369 (Implicit conversion to string leaks memory)
add test
2008-01-31 21:58:57 +00:00
Rasmus Lerdorf
7b307cc256 Typo 2008-01-31 21:36:40 +00:00
Rasmus Lerdorf
9687442341 These two tests both need a timezone 2008-01-31 21:03:32 +00:00
Ilia Alshanetsky
353d1ea039 PDO is hardly experimental 2008-01-31 20:50:27 +00:00
Christopher Jones
96e9484907 Update test environement description. Typos 2008-01-31 20:21:27 +00:00
Nuno Lopes
c10e57b11e try to fix build with gcc 4: take #2 2008-01-31 18:46:03 +00:00
Rasmus Lerdorf
3275f1b057 There are plenty of other non-Windows operating systems 2008-01-31 18:31:54 +00:00
Nuno Lopes
5fce0e51fd try to fix build with gcc 4: take #1 2008-01-31 18:30:42 +00:00
Marcus Boerger
9b3eb44f79 - fix flag handling in is_callable() 2008-01-31 11:21:15 +00:00
Marcus Boerger
55b17871a4 - MFH Fix test 2008-01-31 07:44:01 +00:00
Elizabeth Marie Smith
78a9df9004 Fix windows build 2008-01-31 02:35:44 +00:00
Christopher Jones
87dcb8df8e Merge DRCP & FAN support. PHP6 sync will happen later 2008-01-31 01:33:30 +00:00
Marcus Boerger
116539a5d1 - WS 2008-01-30 23:45:12 +00:00
Marcus Boerger
81b40f7047 - MFH Get rid of overoptimization 2008-01-30 23:43:13 +00:00
Marcus Boerger
ef9453546e - Sub path may be NULL 2008-01-30 23:08:13 +00:00
Marcus Boerger
0b71904acc - Fixed glob:// stream handling in (Recursive)DirectoryIterator. 2008-01-30 20:31:07 +00:00
Ilia Alshanetsky
92ebb2e282 Fixed bug #43981 (gmp_div_r() does not preserve the sign of 1st argument) 2008-01-30 18:25:51 +00:00
Zoe Slattery
1e29793386 Removing superfluous --INI-- section 2008-01-30 17:50:38 +00:00
Felipe Pena
544f6dfd49 Fix test 2008-01-30 16:06:44 +00:00
Rob Richards
8a64e9de36 MFH: fix bug #41562 (SimpleXML memory issue) 2008-01-30 15:28:46 +00:00
Felipe Pena
6a2f085f1e Fix test 2008-01-30 14:49:20 +00:00
Felipe Pena
2c90b7127c Revert 2008-01-30 14:45:20 +00:00
Robin Fernandes
7eb114a9cf Adding tests for class features, including __autoload(), property inheritance rules and class constants. 2008-01-30 14:25:57 +00:00
Felipe Pena
b9df996a3b Fix the fix (isInstance - order of parameters) 2008-01-30 13:42:01 +00:00
Antony Dovgal
ca44081e6b fix ZTS build 2008-01-30 12:50:59 +00:00
Felipe Pena
7ef18ce15d Fix tests 2008-01-30 11:43:10 +00:00
Felipe Pena
8452585fc8 Fixed Bug#43926 (isInstance() isn't equivalent to instanceof operator) 2008-01-30 10:27:28 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Rasmus Lerdorf
71efa394a6 fix typo 2008-01-30 08:52:17 +00:00
Dmitry Stogov
1a41611372 ZTS fix 2008-01-30 08:10:17 +00:00
Sebastian Bergmann
0c749ab10a MFH: Fix arginfo. 2008-01-30 06:48:13 +00:00
Stanislav Malyshev
b4443f35ff fix #43941: invalid utf-8 not accepted 2008-01-30 03:17:57 +00:00
Ilia Alshanetsky
6a455ee097 Change readline extension status to Working 2008-01-30 00:07:38 +00:00
Rasmus Lerdorf
9ae934d5c4 Fixed bug #43957 (utf8_decode() bogus conversion of partial multibyte UTF8 char) 2008-01-29 23:21:11 +00:00