Rasmus Lerdorf
b9954bef45
Fix some tests
2008-02-02 00:29:17 +00:00
Antony Dovgal
b4b0816578
fix test, add 64bit version
2008-02-01 23:19:16 +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
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
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
Rasmus Lerdorf
3275f1b057
There are plenty of other non-Windows operating systems
2008-01-31 18:31:54 +00:00
Marcus Boerger
9b3eb44f79
- fix flag handling in is_callable()
2008-01-31 11:21:15 +00:00
Zoe Slattery
1e29793386
Removing superfluous --INI-- section
2008-01-30 17:50:38 +00:00
Stanislav Malyshev
223a53fdeb
rm cruft
2008-01-29 22:03:01 +00:00
Dmitry Stogov
382f1dddfa
Fixed bug #43505 (Assign by reference bug)
2008-01-29 10:45:07 +00:00
Robert Nicholson
1d6ac15b3d
- MFH compact_variation1.phpt - fix for bug #29044
2008-01-29 08:50:43 +00:00
Antony Dovgal
183ed5b686
MFH: fix #43596 (array_slice(): $length arg ignored when it is 0)
2008-01-29 00:39:46 +00:00
Antony Dovgal
89273e1482
add test
2008-01-28 23:07:45 +00:00
Antony Dovgal
37a607c7f8
fix #43927 (koi8r is missing from html_entity_decode())
...
patch by andy at demos dot su
2008-01-28 23:07:12 +00:00
Nuno Lopes
500ee29e6c
be more strict in the skipif
2008-01-27 16:54:22 +00:00
Nuno Lopes
d16f4cad0a
fix a bunch of SKIPIF (check for non available locales)
2008-01-27 16:45:43 +00:00
Scott MacVicar
23e3baf62d
Fix html_entity_decode when converting numeric html entities, the numeric values for the extended characters don't correspond to that of windows-1251 and cp866.
2008-01-25 18:10:45 +00:00
Rob Richards
90f168deae
MFH: fix zts build
2008-01-25 15:52:48 +00:00
Antony Dovgal
2907ae9d73
MFH: endless loop (and stack overflow) protection in compact()
2008-01-25 13:42:36 +00:00
Ilia Alshanetsky
1a7b75eb11
Adjust new chr() param handling to address chr("") calls
2008-01-25 01:31:10 +00:00
Robert Nicholson
be2ae4e76f
- Add a basic test for array_shuffle()
2008-01-25 00:32:22 +00:00
Robert Nicholson
3b8256dce4
- add some basic tests for array diff and intersection functions
2008-01-25 00:13:49 +00:00
Robert Nicholson
c09d8d931f
- New tests for compact()
2008-01-24 14:51:20 +00:00
Antony Dovgal
67c8d8d95e
MFH: fix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values)
...
patch by Felipe
2008-01-23 12:09:52 +00:00
Antony Dovgal
8d2ad5c12b
add new test
2008-01-22 15:42:36 +00:00
Ilia Alshanetsky
2be1ae5415
use new param parsing API
2008-01-22 01:34:24 +00:00
David Coallier
a3c09d611c
- MFH (lcfirst())
...
- Initial test for lcfirst
2008-01-19 19:27:22 +00:00
Ilia Alshanetsky
ba3245e12e
Fixed bug #43871 (crash inside dns_get_record)
2008-01-17 14:12:12 +00:00
David Coallier
516a9c15d6
- Making sure the tests are not failing after modifications to the new
...
zend-parsing-parameters in ucfirst()
2008-01-16 12:56:20 +00:00
Antony Dovgal
20b021b209
MFH: fix #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251)
...
patch by phprus at gmail dot com
2008-01-16 08:34:33 +00:00
David Coallier
d6806d5ead
- MFH
...
- Making sure this is also using the good zend parsing and added
the php_ucfirst function
2008-01-16 03:11:26 +00:00
Brian Shire
82874e094b
MFH: Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982
2008-01-14 22:09:52 +00:00
Greg Beaver
7c1952c863
MFH: clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen
2008-01-12 15:50:57 +00:00
Brian Shire
8a37504831
- MFH fix truncation of large values on 64-bit systems in http_build_query
2008-01-10 20:29:12 +00:00
Dmitry Stogov
ed8e2fa031
Added missing warning message
2008-01-10 09:38:23 +00:00
Ilia Alshanetsky
8055833fac
Fixed bug #43498 (file_exists() on a proftpd server got SIZE not
...
allowed in ASCII mode).
# Original patch by crrodriguez at suse dot de
2008-01-08 19:08:50 +00:00
Ilia Alshanetsky
016ee0bf39
WS
2008-01-07 15:13:17 +00:00
Raghubansh Kumar
0b26f6fe7e
New testcases for array_diff() function
2008-01-04 14:02:27 +00:00
Raghubansh Kumar
7dc36cff7c
New testcases for array_diff_assoc() function
2008-01-04 14:01:45 +00:00
Raghubansh Kumar
59558b73cb
this testcase has been split into many smaller testcases and committed.
2008-01-03 09:46:00 +00:00
Raghubansh Kumar
4cadbee716
new smaller testcases for array_map() function
2008-01-03 09:43:45 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Jani Taskinen
8a313d8e77
MFH:- This makes no sense with non-ipv6 builds. (and fixes lot of issues with misconfigured servers)
2007-12-29 18:46:27 +00:00
Hannes Magnusson
b9c22f2b1e
MFB5.2: Fix test
2007-12-29 11:38:24 +00:00
Antony Dovgal
611bd33689
fix test
2007-12-29 10:32:52 +00:00
Dmitry Stogov
0d88ad9b96
Added 64-bit tests (Serg)
2007-12-27 11:39:01 +00:00
Raghubansh Kumar
a47bf2d36a
fix test : do not run when run as root
2007-12-25 16:15:34 +00:00
Dmitry Stogov
ed5a424b4f
Additional fix for bug #42868
2007-12-24 18:09:50 +00:00
Raghubansh Kumar
7c75fe7b8c
new testcases for dir() function
2007-12-24 05:19:42 +00:00