Andrey Hristov
98680c0c8f
Fix the build
2008-03-18 17:30:55 +00:00
Steph Fox
7e38f9b2af
Generic function for binary probes, kill the other two. And get rid of the annoying double check for CL.
2008-03-18 17:10:20 +00:00
Andrey Hristov
caf3e9c3f1
Fixed a bunch of bugs reported in
...
Bug #44352 mysqli_connect_error() false negative for host errors
From now on the mysqli object doesn't have that magic properties, like
error, which were readable but not visible through isset(), property_exists()
and var_dump(). All other ext/mysqli classes were fixed too.
Now it will be easier to debug mysqli based applications.
2008-03-18 16:57:31 +00:00
Robin Fernandes
bd9e026951
Adding more tests for serialize() and unserialize().
2008-03-18 15:11:48 +00:00
Antony Dovgal
40a7a6005b
remove ze1_compat tests
2008-03-18 14:50:14 +00:00
Antony Dovgal
d32270a129
one more forgotten ze1_compat leftover
2008-03-18 14:48:09 +00:00
Antony Dovgal
57f51ee9a4
remove ze1_compat leftovers
2008-03-18 14:44:35 +00:00
Felipe Pena
2b10c53ae1
MFH: Dropped zend.ze1_compatibility_mode
...
[DOC]
2008-03-18 14:10:45 +00:00
Dmitry Stogov
8b01532f64
Removed hack (we don't need to modify class name).
...
(the problem is covered by Zend/tests/ns_056.phpt)
2008-03-18 11:37:00 +00:00
Dmitry Stogov
8c885b8913
Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
...
The following pseudo-code explains how it should be used in opcode cache.
function cache_compile_file($filename) {
if (!is_cached($filename)) {
...
orig_compiler_options = CG(compiler_optins);
CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
ZEND_COMPILE_DELAYED_BINDING;
$op_array = orig_compile_file($filename);
CG(compiler_options) = orig_copiler_options;
...
} else {
$op_array = restore_from_cache($filename);
}
zend_do_delayed_early_binding($op_array);
}
2008-03-18 08:36:30 +00:00
Steph Fox
7c8ff91218
You might as well have 'the Steph special' too :-)
...
I can never remember the cscript line, so let's just have 'configure' instead.
2008-03-18 03:23:14 +00:00
Steph Fox
766b6b606e
re2c checking.
...
If it's not installed, the least scary of messages goes out.
If it's installed but older than the required version, the download link is given.
2008-03-18 03:12:42 +00:00
Felipe Pena
01dc595706
Fix build
2008-03-18 00:24:21 +00:00
Stanislav Malyshev
085af56710
fix integer overflow in length calculation
2008-03-17 23:06:32 +00:00
Ilia Alshanetsky
9227974ddb
Properly address incomplete multibyte chars inside escapeshellcmd()
2008-03-17 23:01:27 +00:00
Rasmus Lerdorf
42d4cf6531
Revert
...
Never mind, it looks like ext/filter does an estrdup on everything it
gets which doesn't seem very efficient to me as most things it gets
passed will already be emalloc'ed. My custom version of the filter
extension doesn't do this which led to the confusion.
2008-03-17 18:27:08 +00:00
Rasmus Lerdorf
bafb0b4ff5
We need to pass PHP-managed pointers to filter here to avoid having
...
emalloc'ed data assigned to things like r->uri and having it get efree()'ed
on request shutdown which then means that if the Apache logging module
tries to log r->uri it would be reading from free'ed memory. So a simple
estrdup before the filter call takes care of that.
2008-03-17 18:03:31 +00:00
Stanislav Malyshev
e345eb5e38
fix win32 build
2008-03-17 17:29:13 +00:00
Nuno Lopes
25e6cd1a38
remove duplicated sections
2008-03-17 17:19:48 +00:00
Nuno Lopes
95b627f29b
detect test cases with duplicated sections
2008-03-17 17:18:19 +00:00
Scott MacVicar
bd4c0ced50
Fix build on Windows
2008-03-17 17:06:51 +00:00
Stanislav Malyshev
8223bb26a6
add request_order
2008-03-17 16:34:18 +00:00
Nuno Lopes
37660519cb
fix tests (removed duplicated stuff)
2008-03-17 16:32:15 +00:00
Nuno Lopes
e89b52f5ea
remove leftovers
2008-03-17 16:21:49 +00:00
Antony Dovgal
74bfe1c3fa
fix test
2008-03-17 15:35:32 +00:00
Gwynne Raskind
bcc6360dac
MFH: Fix bug #44443 (cvsclean fails on Darwin 9)
2008-03-17 15:22:22 +00:00
Antony Dovgal
0ee45c4711
fix tests
2008-03-17 14:59:23 +00:00
Antony Dovgal
5e803b451d
BFN
2008-03-17 14:55:40 +00:00
Antony Dovgal
7dd943ac5c
MFH: fix #39127 (Old-style constructor fallbacks produce strange results)
2008-03-17 14:54:42 +00:00
Antony Dovgal
964e0522a1
fix test
2008-03-17 14:05:39 +00:00
Scott MacVicar
e6960e3ded
Fix test
2008-03-17 10:29:17 +00:00
Antony Dovgal
93d4b17de9
use @ to silence the commands
2008-03-17 10:05:04 +00:00
Josie Messa
f5cd721058
- new tests for ctype functions
2008-03-17 09:52:02 +00:00
Scott MacVicar
b89071ec06
Make re2c required
2008-03-16 23:54:06 +00:00
Marcus Boerger
33da0b6a7b
- No more flex underwindows either
2008-03-16 22:26:42 +00:00
Marcus Boerger
31ee06f0aa
- Update windows build script
2008-03-16 22:16:56 +00:00
Felipe Pena
40f83dad26
Fix build (ZTS)
2008-03-16 21:55:46 +00:00
Marcus Boerger
00e236aa80
- Fix build
2008-03-16 21:42:42 +00:00
Marcus Boerger
0531ba8952
- Add files generated by re2c
2008-03-16 21:23:02 +00:00
Marcus Boerger
af316021e8
- Rewrite scanner to be based on re2c instead of flex
...
The full patch is available as:
http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
This is against php-re2c repository version 98
An older patch against version 97 is available under:
http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Ilia Alshanetsky
eb8f83a98e
Remove unused variable
2008-03-16 15:15:21 +00:00
Derick Rethans
fb86942ce9
- Updated to version 2008.1 (2008a)
2008-03-16 07:21:00 +00:00
Felipe Pena
bbac59aa40
MFB: Fixed bug #44440 (st_blocks undefined under BeOS)
2008-03-15 10:32:32 +00:00
Felipe Pena
766f62f026
Add SKIPIF (32bit platform only)
2008-03-14 23:15:47 +00:00
Lukas Smith
72ae8cdf9b
MFH
2008-03-14 21:52:47 +00:00
Dmitry Stogov
7158425387
Improve GC to support garbage created in destructors during objects utilization
2008-03-14 18:36:34 +00:00
Felipe Pena
57f423156e
Fix build (ZTS)
2008-03-14 17:56:52 +00:00
Derick Rethans
0e9a12d8b1
- MFH: Allow datetime objects to be serialized and woken up.
...
- MFH: Implemented __set_state().
2008-03-14 16:19:52 +00:00
Dmitry Stogov
34003557ca
Removed commented code and unnecessary inline function
2008-03-14 13:35:40 +00:00
Dmitry Stogov
e1a28ee945
Fixed GC bug
2008-03-14 13:21:04 +00:00