Lior Kaplan
be2128c805
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
typofixes
2014-08-17 15:48:22 +03:00
Veres Lajos
3f42f2f5d1
typofixes
2014-08-17 15:44:02 +03:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Xinchen Hui
c0d060f5c0
Bump year
2014-01-03 11:04:26 +08:00
Stanislav Malyshev
e4f9619fad
fix compiler warning, use longs for hashes
2013-08-04 18:04:45 -07:00
Adam Harvey
f9000fde98
Expand the ZEND_STRL macro to handle platforms where strncmp() is a macro.
...
On most platforms, this works fine, but on Linux armhf, strncmp() is a macro
rather than a real function, ergo the macro expansion of ZEND_STRL doesn't
occur until after the compiler knows it needs three parameters for strncmp()
and we get a compile error.
Fixes the fix for bug #61697 .
2013-07-23 11:15:43 -07:00
Stanislav Malyshev
83ced9124e
Fix bug #61697 - spl_autoload_functions returns lambda functions incorrectly
2013-07-21 22:47:10 -07:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Xinchen Hui
e4a8fa6a15
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-09 13:29:51 +08:00
Xinchen Hui
6284ef112e
Fixed bug #63236 (Executable permission on various source files)
2012-10-09 13:28:31 +08:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +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
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
Peter Cowburn
9159e3d246
added (recursive)callbackfilteriterator to spl_classes() (bug #55287 )
2011-07-27 08:48:08 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Stefan Marr
1fc4bc1d56
Added missing class_uses(..) function to SPL to mirror class_implements(..).
...
# Was pointed out as missing in bug #55266 .
2011-07-23 19:08:43 +00:00
Gustavo André dos Santos Lopes
f7b7b6aa9e
- Improved upon r309729.
...
- Extented strategy to remaining the classes on spl_directory.c, even those that don't crash.
- UPGRADING.
- Better bug54384.phpt, with all the classes covered.
2011-03-27 22:44:34 +00:00
Gustavo André dos Santos Lopes
c2fe893985
- Fixed bug #54384 : Several SPL classes crash when parent constructor is
...
not called.
#Merge to 5.3 pending (slight BC break on AppendIterator, as it's no
#longer possible to defer the call to the parent constructor until
#after the constructor is performed).
#Bugs fixed in an atypical way for SPL. The parent constructor call
#check is performed at construction time by using a wrapper constructor
#instead of a check on the beginning of each instance method.
#Perhaps this should be uniformized in trunk; this method was mainly
#applied only to the ones crashing, except a few iterators (at least
#AppendIterator and RecursiveIteratorIterator).
2011-03-27 04:21:06 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Felipe Pena
6958cb4a14
- Added missing void arg checks
2010-11-14 18:40:08 +00:00
Felipe Pena
8192f0f771
- Added missing void arg checks
2010-11-14 18:40:08 +00:00
Felipe Pena
a14dd7502b
- Fixed bug #51991 (spl_autoload and *nix support with namespace)
2010-06-04 00:10:15 +00:00
Felipe Pena
18dd664e5c
- Fixed bug #51991 (spl_autoload and *nix support with namespace)
2010-06-04 00:10:15 +00:00
Dmitry Stogov
9424d420fb
Fixed memory leak in ext/spl/tests/spl_autoload_bug48541.phpt
2010-04-27 13:31:55 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Christian Seiler
b4a43d0d94
MFH: spl_autoload_unregister/spl_autoload_functions and closures
2009-06-30 17:14:37 +00:00
Greg Beaver
79d05eac0d
fix Bug #48541 : spl_autoload_register only registers first closure, then leaks the others. Fix missing erealloc in fix for bug #40091 (PHP_5_3 only)
2009-06-13 17:30:50 +00:00
Scott MacVicar
fc8426ad31
MFH Fix bug #48493 - spl_autoload_register can leave the HT in an inconsistent way.
...
Need to point the second elements previous item to head so we can traverse upwards.
2009-06-09 01:58:07 +00:00
Etienne Kneuss
3b90499884
MFH: Fix #48023 (spl_autoload_register didn't store closures)
2009-04-20 14:20:20 +00:00
Etienne Kneuss
e094d1aa44
MFH: Improve spl_object_hash()
2009-01-26 11:38:03 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Hannes Magnusson
97f64c3957
Fix arginfo
2008-11-30 00:23:06 +00:00
Hannes Magnusson
ad672f1a93
MFH: Fix proto
2008-11-30 00:12:29 +00:00
Dmitry Stogov
7d4fd3fd38
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
2008-11-27 19:01:23 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Etienne Kneuss
27e41ff48c
MFH: Fix #45976 (Move SXE from SPL to SimpleXML)
2008-11-06 00:37:13 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Marcus Boerger
32f9d0e180
- MFH Improve exception linking
2008-08-14 10:24:52 +00:00
Dmitry Stogov
af05ce0af6
Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B"
2008-07-26 13:14:04 +00:00
Dmitry Stogov
feb8580166
LSB parent/self forwarding
2008-07-24 09:42:18 +00:00
Marcus Boerger
ae8ef6c13a
- MFH Add MultipleIterator (Arnaud, Marcus)
2008-07-22 22:54:35 +00:00
Marcus Boerger
ca64703134
- Use new helper
2008-07-13 21:45:07 +00:00
Marcus Boerger
e4869828a7
- MFH Allow multiple exceptions in spl's autoload
2008-07-12 14:58:41 +00:00