1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00
Commit Graph

1181 Commits

Author SHA1 Message Date
Felipe Pena 4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Patrick Allaert ea25a9be03 Added tests contributions on spl_autoload and stream_context_set_option()
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:45:39 +00:00
Patrick Allaert 183493d624 Added tests contributions on spl_autoload and stream_context_set_option()
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:23:19 +00:00
Michael Wallner d8ca919da1 Fixed bug #60240 (invalid read/writes when unserializing specially crafted strings) 2011-12-02 11:50:22 +00:00
Antony Dovgal c3b83e833d fix bug #60082 (Crash in ArrayObject() when using recursive references)
--Tis line, and those below, will be ignored--

M    trunk/ext/spl/spl_array.c
M    branches/PHP_5_4/ext/spl/spl_array.c
M    branches/PHP_5_3/ext/spl/spl_array.c
M    branches/PHP_5_3/NEWS
2011-11-18 05:22:35 +00:00
Antony Dovgal ea97932279 fix bug #60082 (Crash in ArrayObject() when using recursive references)
--Tis line, and those below, will be ignored--

M    trunk/ext/spl/spl_array.c
M    branches/PHP_5_4/ext/spl/spl_array.c
M    branches/PHP_5_3/ext/spl/spl_array.c
M    branches/PHP_5_3/NEWS
2011-11-18 05:22:35 +00:00
Rasmus Lerdorf 3f930c10bf functor? Where did that come from? 2011-11-14 16:23:56 +00:00
Lars Strojny 7d0fe66ebe Adjusting error messages 2011-11-14 00:26:37 +00:00
Felipe Pena c1e510aea8 - Fixed bug #60261 (phar dos null pointer) 2011-11-11 21:39:11 +00:00
Felipe Pena 72a133f155 - Fixed bug #60261 (phar dos null pointer) 2011-11-11 21:39:11 +00:00
Peter Cowburn 9b86852d6e add 3rd parameter to arg info for splfileobject fgetcsv/setcsvcontrol (bug #60201) 2011-11-02 13:24:46 +00:00
Ferenc Kovacs 28faed47c4 ignore this test on FreeBSD per #60186 2011-11-01 10:25:47 +00:00
Ferenc Kovacs bb4f96b2a1 duh 2011-11-01 10:20:39 +00:00
Ferenc Kovacs 5a2a02f655 marking ext/spl/tests/bug60082.phpt as slow test 2011-11-01 10:10:24 +00:00
Gustavo André dos Santos Lopes 32f7337bd4 - Reverted changes that required constructor overrides to invoke the parent
constructor in several SPL classes and applied 5.3 fixes instead.
  Related bugs: #54384, #55175 and #55300
2011-10-29 23:17:18 +00:00
Stanislav Malyshev d81ea16ef1 Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Xinchen Hui d2c8d30bb9 Test for #60082 2011-10-19 02:28:53 +00:00
Felipe Pena 83ca3c8ff9 - Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)
patch by: tom at punkave dot com
2011-10-12 01:03:15 +00:00
Felipe Pena 71eaaf6567 - Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)
patch by: tom at punkave dot com
2011-10-12 01:03:15 +00:00
Hannes Magnusson f40e5204d4 Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY) 2011-09-30 14:17:23 +00:00
Hannes Magnusson 5fba3ba7c3 Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY) 2011-09-30 14:17:23 +00:00
Hannes Magnusson 3dabada846 Use the default stream context for FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator 2011-09-30 14:12:26 +00:00
Hannes Magnusson f19a112185 Test for non-string replacement, bug#54304 2011-09-12 17:20:44 +00:00
Hannes Magnusson 76d9a3fa3d Test for non-string replacement, bug#54304 2011-09-12 17:20:44 +00:00
Hannes Magnusson 75c4d6f888 Allow replacement to be any scalar value 2011-09-12 13:21:57 +00:00
Hannes Magnusson 2c5574b3d8 Allow replacement to be any scalar value 2011-09-12 13:21:57 +00:00
Pierre Joye 7a3d89a9aa - nuke unused var 2011-09-09 07:57:29 +00:00
Pierre Joye 2d9f758435 - improve r316420, function must return a value 2011-09-09 07:56:42 +00:00
Pierre Joye de12ac023c - improve r316420 (SplFileObject cannot and should not accept directories) 2011-09-08 23:12:32 +00:00
Etienne Kneuss 1e04e19a37 MFH: adapt check for __construct bypass 2011-09-08 23:10:40 +00:00
Pierre Joye 38c698c062 - improve r316420 (SplFileObject cannot and should not accept directories) 2011-09-08 23:07:48 +00:00
Pierre Joye 376ba8c92e - force LF 2011-09-08 16:10:07 +00:00
Etienne Kneuss 5cc7663098 SplFileObject does not accept directories. It did not check for that and blindly opened the directory, which works on linux but fails on windows. Now SplFileObject uses a stat() call to make sure it isn't a directory, if it is, it fails with an exception. Tests have been changed accordingly. 2011-09-08 15:52:59 +00:00
Hannes Magnusson a6c07ae0d3 Fix cleanup routines 2011-09-07 12:05:19 +00:00
Hannes Magnusson 04044dd07e Fix cleanup routines 2011-09-07 12:05:19 +00:00
Xinchen Hui 16d0023daf fix skipif description 2011-09-07 00:59:10 +00:00
Xinchen Hui b1263c4363 fix skipif description 2011-09-07 00:59:10 +00:00
Pierre Joye efc45f8b60 - use a more portable name for the filename 2011-09-06 11:24:21 +00:00
Pierre Joye f438a87d90 - use something we know it exists... 2011-09-06 07:26:05 +00:00
Pierre Joye 71cda5ea0a - use something we know it exists... 2011-09-06 07:26:05 +00:00
Pierre Joye c97a56e77f - skip on win, name.. name. are not valid names 2011-09-06 07:23:20 +00:00
Pierre Joye d29a253629 - skip on win, name.. name. are not valid names 2011-09-06 07:23:20 +00:00
Hannes Magnusson 850d865551 Add skipifs for bug#54971 (patch by datibbaw@) 2011-08-30 13:46:24 +00:00
Hannes Magnusson d972f636c9 Add skipifs for bug#54971 (patch by datibbaw@) 2011-08-30 13:46:24 +00:00
Etienne Kneuss b03860a935 Fix CID 593 Mark the missing break by an explicit comment, we DO intend to fall through here 2011-08-12 22:20:35 +00:00
Etienne Kneuss bb7a93081e Fix CID 538/539, explicitely check for something that should never occur 2011-08-12 22:05:10 +00:00
Etienne Kneuss cf2db20123 Fix CID 547, make static analyzer happy 2011-08-12 21:57:54 +00:00
Etienne Kneuss 32e67db84c Fix CID 1211, unused intern variable 2011-08-12 21:46:40 +00:00
Xinchen Hui a8a0a6c3f1 Sizeof mismatch 2011-08-08 08:49:55 +00:00
Xinchen Hui dbd405a001 Wrong sizeof 2011-08-08 02:33:03 +00:00