summaryrefslogtreecommitdiff
path: root/ext/standard/tests
Commit message (Collapse)AuthorAgeFilesLines
* Close pipes to avoid deadlock.James E. Flemer2002-08-031-0/+6
| | | | | Submitted By: Melvyn Sopacua <msopacua@idg.nl>
* Add test for the index resetting.foobar2002-08-011-1/+4
|
* Added tests for array_shift/array_pop.foobar2002-08-012-0/+96
|
* Fixed stripslashes when magic_quotes_sybase is enabled, and add a test forSander Roobol2002-06-181-3/+14
| | | | | | add- and stripslashes(). # this time without cvs messing up and aborting, hopefully :)
* Fix stripslashes when magic_quotes_sybase is enabled, and add a test forSander Roobol2002-06-181-0/+21
| | | | | add- and stripslashes().
* fix for bug #10616 -> mktime() with negative date offsets not working on MacOSXHartmut Holzgraefe2002-06-121-0/+44
|
* Add simple test case for proc_openWez Furlong2002-05-231-0/+29
|
* Remove leading "./" from include filenames as in PHP this defeats include_path.Preston L. Bannister2002-05-169-11/+10
|
* - Made all is_*() functions to return only boolean values.foobar2002-05-162-12/+26
| | | | | - Killed the "file not found" error for is_link(). (finally..)
* revert last bogus change. There is bug in is_file()foobar2002-04-301-1/+1
|
* Fix is_file test.Wez Furlong2002-04-301-1/+1
| | | | | # Is there a good reason for having the actual test in an include file??
* Add test case for file_exist/is_fileYasuo Ohgaki2002-04-282-0/+30
|
* fix testproblemMarcus Boerger2002-04-111-1/+1
|
* fix and regression test for Bug #16473Hartmut Holzgraefe2002-04-071-0/+6
|
* (PHP quoted_printable_decode) Fixed CR/LF processing for Windows/OS2Kirill Maximov2002-04-012-3/+16
| | | | | @ Fixed CR/LF processing for Windows/OS2 in quoted_printable_decode (kir)
* add test for file_get_contentsWez Furlong2002-03-281-0/+54
|
* Fixed the array-tests. Broke the test up into various smaller tests.Sander Roobol2002-03-266-15497/+785
| | | | | | Reduced the test data because it was unmanageable. # I hope everything is ok :)
* Added tests for pow()'ing with broken exponents and some additional testSander Roobol2002-03-212-1/+16
| | | | | for count()'ing arrays.
* Fix calculation of output buffer size in wordwrap(). (Thanks to Wez.)jim winstead2002-03-181-0/+2
|
* - Renamed aggregate.lib.php -> aggregate.lib (.php files are always deleted ↵foobar2002-03-1010-9/+9
| | | | bycvsclean)
* - Fix tests to work with CLIDerick Rethans2002-03-0518-16/+19
| | | | | #- Not totally done, but this makes it a lot better
* Adding object aggregation capability along with tests.Andrei Zmievski2002-02-2110-0/+314
|
* Rename finite/isinf/isnan to more standard is_*() names.jim winstead2002-01-091-8/+8
|
* - Fix bug introduced in earlier patchDerick Rethans2002-01-091-0/+8
|
* More tweaking of wordwrap() with the cut parameter set. It was being ajim winstead2002-01-051-2/+5
| | | | | | little too aggressive and cutting words without breaking at spaces first. (A couple of tests were incorrect.)
* New memcpy()-based wordwrap() implementation. The simple casejim winstead2002-01-051-0/+13
| | | | | | | | | | | | | (single-character break, no forced break) appears to be about 60% faster, and there's simply no comparison for non-simple cases with non-trivial amounts of text. The old algorithm was O(n^2) (with an unfortunately large constant factor) because of the use of strncat(), the new one is O(n). Added some more tests, too. @ - Made wordwrap() significantly faster. (Jim) # test case: $t = join('',file('ChangeLog')); $w = wordwrap($t,10,"\n",1); # new code completes in less than a second. i'm still waiting for the # old code to finish.
* Fixed pow(), and added finite(), isinf(), and isnan(). Also fixedjim winstead2002-01-051-40/+40
| | | | | | | | | | | | pow() tests. @- Fixed pow(), and added finite(), isinf(), and isnan(). (Jim) # Jeroen was on crack, and apparently flunked arithmetic. Names of new # functions subject to change if people get persnickety about them. # (They're currently the same as the underlying C library function # names. Hope nobody forgets to update the tests if they change the # names.) # Oh, and pow() uses the new parameter-passing API now.
* good grief, positive powers of 0 are well-defined. (code fix coming.)jim winstead2002-01-051-6/+6
|
* Surprising how tests can fail when they don't have any supporting data :) ↵Zak Greant2002-01-051-0/+195
| | | | Thanks for the catch Jan and Jim
* Fixed segfault in wordwrap() when wrapping to zero width and usingjim winstead2002-01-041-0/+19
| | | | | | | | | | | multi-character break or trying to force cut (bug #12768, now fails and issues a warning because forcing a zero-width cut doesn't make sense). Also converted to new paramater-passing API and avoid making an extra copy of the return values. # also added tests. @- Fixed segfault in wordwrap() when wrapping to zero width and using @ multi-character break or trying to force cut (bug #12768). (Jim)
* - Added test for recursive countingDerick Rethans2001-12-291-0/+37
|
* - Add test for floor and ceilDerick Rethans2001-12-221-0/+47
|
* Modified array_walk, arsort, asort, krsort, ksort, rsort, shuffle, sort,Zak Greant2001-12-221-0/+15409
| | | | | | | | | | | | | | | | | | uasort, uksort and usort. Corrected prototype comments for all. Converted to use zend_parse_parameters, except for the u.?sort functions. Changed return values for failure from implicit NULL to explicit FALSE in asort(), krsort(), and ksort(). Changed pval to zval in the u.?sort functions. Added test to help ensure that fixes to code do not change function behavior. Tests are quite large (~237k) but compress down to ~16k. Please let me know if this is a problem!
* Mail should go to php-devDerick Rethans2001-12-161-2/+2
|
* improve last patch:Thies C. Arntzen2001-12-011-2/+4
| | | | | | non existant object variables are now serialized as NULL, this saves us from buffering the serialized data.
* serialized data would be incoorect if __sleep() returned a variable-nameThies C. Arntzen2001-12-011-0/+34
| | | | | | which is non-existant in the object. submitted by: Bernd Roemer <berndr@bonn.edu>
* Fix most of these tests - still think there is a bug in the long->floatRasmus Lerdorf2001-11-131-11/+11
| | | | | conversion stuff somewhere
* Different operating systems handle the group x bit differently, soRasmus Lerdorf2001-11-131-3/+3
| | | | | simplify this test to test the user x bit instead
* - Fix for bugs #9640 and #13789Derick Rethans2001-10-271-32/+52
|
* Make math tests pass, round & co don't work this way, and there was an errorJeroen van Wolffelaar2001-10-224-46/+67
| | | | | in expected output
* Fixed bug: #12617foobar2001-10-221-8/+10
|
* * remove version_{lt,le,gt,ge,eq} functions, added a third optionalStig Bakken2001-10-111-1/+526
| | | | | parameter to version_compare doing the same thing
* @Added version_compare() function (Stig)Stig Bakken2001-10-061-0/+75
|
* Made assert test pass on systems with short open tags disabled.Edin Kadribasic2001-10-061-1/+1
| | | | | Added .cvsignore
* Fix the pow-test, it now succeeds on my machineJeroen van Wolffelaar2001-10-051-1/+1
|
* Add test for array_search and in_arrayJeroen van Wolffelaar2001-10-051-0/+25
| | | | | (should be expanded though)
* fix strtr() when called with two parameters. this has been broken for some time!Thies C. Arntzen2001-09-131-0/+11
| | | | | | guys, when "optimizing" functions you _shoudl_ write a testcase for the working function and make _sure_ that it works afterwards!
* test big numbers tooStanislav Malyshev2001-08-201-0/+4
|
* make this test work.foobar2001-08-181-2/+7
|
* Fix testJeroen van Wolffelaar2001-08-051-1/+1
|